Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-colour for openSUSE:Factory 
checked in at 2023-09-20 13:29:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-colour (Old)
 and      /work/SRC/openSUSE:Factory/.python-colour.new.16627 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-colour"

Wed Sep 20 13:29:04 2023 rev:5 rq:1112132 version:0.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-colour/python-colour.changes      
2020-06-05 20:28:59.325308880 +0200
+++ /work/SRC/openSUSE:Factory/.python-colour.new.16627/python-colour.changes   
2023-09-20 13:31:38.135903159 +0200
@@ -1,0 +2,5 @@
+Mon Sep 18 08:11:19 UTC 2023 - Ondřej Súkup <mimi...@gmail.com>
+
+- port setup to pyproject.toml and drop d2to1 requirement 
+
+-------------------------------------------------------------------

New:
----
  pyproject.toml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-colour.spec ++++++
--- /var/tmp/diff_new_pack.vAK31U/_old  2023-09-20 13:31:39.127938699 +0200
+++ /var/tmp/diff_new_pack.vAK31U/_new  2023-09-20 13:31:39.131938842 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-colour
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:           python-colour
 Version:        0.1.5
 Release:        0
@@ -25,9 +25,10 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/vaab/colour
 Source0:        
https://files.pythonhosted.org/packages/source/c/colour/colour-%{version}.tar.gz
-BuildRequires:  %{python_module d2to1}
+Source1:        pyproject.toml
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -49,12 +50,15 @@
 %prep
 %setup -q -n colour-%{version}
 rm -rf colour.egg-info
+rm -rf setup*
+rm -rf PKG_INFO
+cp %{SOURCE1} ./
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -63,5 +67,7 @@
 %files %{python_files}
 %license LICENSE
 %doc CHANGELOG.rst README.rst
-%{python_sitelib}/*
+%{python_sitelib}/colour.py
+%{python_sitelib}/colour-%{version}*-info
+%pycache_only %{python_sitelib}/__pycache__/*
 

++++++ pyproject.toml ++++++
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
name = "colour"
version = "0.1.5"
description = "converts and manipulates various color representation (HSL, RVB, 
web, X11, ...)"
readme = "README.rst"
authors = [{name = "Valentin LAB", email = "valentin....@kalysto.org"}]
license = {text = "BSD 3-Clause License"}
classifiers = [
    "Programming Language :: Python",
    "Topic :: Software Development :: Libraries :: Python Modules",
    "Development Status :: 3 - Alpha",
    "License :: OSI Approved :: BSD License",
    "Intended Audience :: Developers",
    "Programming Language :: Python :: 2",
    "Programming Language :: Python :: 2.7",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.3",
    "Programming Language :: Python :: 3.4",
    "Programming Language :: Python :: 3.5",
    "Programming Language :: Python :: 3.6",
]
urls = {Homepage = "http://github.com/vaab/colour"}

Reply via email to