Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hsluv for openSUSE:Factory checked in at 2023-12-08 22:32:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hsluv (Old) and /work/SRC/openSUSE:Factory/.python-hsluv.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hsluv" Fri Dec 8 22:32:21 2023 rev:2 rq:1131996 version:5.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hsluv/python-hsluv.changes 2023-03-22 22:29:54.053969469 +0100 +++ /work/SRC/openSUSE:Factory/.python-hsluv.new.25432/python-hsluv.changes 2023-12-08 22:32:53.505850649 +0100 @@ -1,0 +2,6 @@ +Thu Dec 7 23:02:02 UTC 2023 - Dirk Müller <[email protected]> + +- update to 5.0.4: + * python 3.11 support + +------------------------------------------------------------------- Old: ---- hsluv-5.0.3.tar.gz New: ---- hsluv-5.0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hsluv.spec ++++++ --- /var/tmp/diff_new_pack.MdAiSt/_old 2023-12-08 22:32:54.161874786 +0100 +++ /var/tmp/diff_new_pack.MdAiSt/_new 2023-12-08 22:32:54.161874786 +0100 @@ -17,7 +17,7 @@ Name: python-hsluv -Version: 5.0.3 +Version: 5.0.4 Release: 0 Summary: Human-friendly HSL License: MIT ++++++ hsluv-5.0.3.tar.gz -> hsluv-5.0.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsluv-5.0.3/.gitignore new/hsluv-5.0.4/.gitignore --- old/hsluv-5.0.3/.gitignore 2021-02-18 16:07:45.000000000 +0100 +++ new/hsluv-5.0.4/.gitignore 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -*.pyc -*.pyo -*.egg-info -/venv -/build -/dist -# IntelliJ IDEA / PyCharm -/.idea -*.iml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsluv-5.0.3/.travis.yml new/hsluv-5.0.4/.travis.yml --- old/hsluv-5.0.3/.travis.yml 2022-05-26 01:30:31.000000000 +0200 +++ new/hsluv-5.0.4/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,7 +0,0 @@ -language: python -python: - - "3.6" - - "3.7" - - "3.8" - - "3.9" -script: "python setup.py sdist && cd dist/ && tar xf hsluv-*.tar.gz && cd hsluv-*/ && python setup.py test" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsluv-5.0.3/PKG-INFO new/hsluv-5.0.4/PKG-INFO --- old/hsluv-5.0.3/PKG-INFO 2022-05-26 01:37:41.543747400 +0200 +++ new/hsluv-5.0.4/PKG-INFO 2023-09-11 23:32:45.820653000 +0200 @@ -1,27 +1,31 @@ Metadata-Version: 2.1 Name: hsluv -Version: 5.0.3 +Version: 5.0.4 Summary: Human-friendly HSL Home-page: https://www.hsluv.org Author-email: [email protected] License: MIT +Project-URL: Bug Tracker, https://github.com/hsluv/hsluv-python/issues +Project-URL: Source Code, https://github.com/hsluv/hsluv-python Keywords: color hsl cie cieluv colorwheel hsluv hpluv +Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Topic :: Software Development Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3 :: Only -Requires-Python: >=3.6 +Requires-Python: >=3.7 Description-Content-Type: text/markdown License-File: LICENSE.txt -[](https://travis-ci.org/hsluv/hsluv-python) +[](https://github.com/hsluv/hsluv-python/actions/workflows/test.yml) [](https://pypi.python.org/pypi/hsluv/) A Python implementation of [HSLuv](https://www.hsluv.org) (revision 4). @@ -67,3 +71,5 @@ * Robert McGinley ([mcginleyr1](https://github.com/mcginleyr1)) * Alexei Boronine ([boronine](https://github.com/boronine)) + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsluv-5.0.3/README.md new/hsluv-5.0.4/README.md --- old/hsluv-5.0.3/README.md 2022-05-26 01:35:14.000000000 +0200 +++ new/hsluv-5.0.4/README.md 2022-06-21 03:20:19.000000000 +0200 @@ -1,4 +1,4 @@ -[](https://travis-ci.org/hsluv/hsluv-python) +[](https://github.com/hsluv/hsluv-python/actions/workflows/test.yml) [](https://pypi.python.org/pypi/hsluv/) A Python implementation of [HSLuv](https://www.hsluv.org) (revision 4). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsluv-5.0.3/hsluv.egg-info/PKG-INFO new/hsluv-5.0.4/hsluv.egg-info/PKG-INFO --- old/hsluv-5.0.3/hsluv.egg-info/PKG-INFO 2022-05-26 01:37:40.000000000 +0200 +++ new/hsluv-5.0.4/hsluv.egg-info/PKG-INFO 2023-09-11 23:32:45.000000000 +0200 @@ -1,27 +1,31 @@ Metadata-Version: 2.1 Name: hsluv -Version: 5.0.3 +Version: 5.0.4 Summary: Human-friendly HSL Home-page: https://www.hsluv.org Author-email: [email protected] License: MIT +Project-URL: Bug Tracker, https://github.com/hsluv/hsluv-python/issues +Project-URL: Source Code, https://github.com/hsluv/hsluv-python Keywords: color hsl cie cieluv colorwheel hsluv hpluv +Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Topic :: Software Development Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3 :: Only -Requires-Python: >=3.6 +Requires-Python: >=3.7 Description-Content-Type: text/markdown License-File: LICENSE.txt -[](https://travis-ci.org/hsluv/hsluv-python) +[](https://github.com/hsluv/hsluv-python/actions/workflows/test.yml) [](https://pypi.python.org/pypi/hsluv/) A Python implementation of [HSLuv](https://www.hsluv.org) (revision 4). @@ -67,3 +71,5 @@ * Robert McGinley ([mcginleyr1](https://github.com/mcginleyr1)) * Alexei Boronine ([boronine](https://github.com/boronine)) + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsluv-5.0.3/hsluv.egg-info/SOURCES.txt new/hsluv-5.0.4/hsluv.egg-info/SOURCES.txt --- old/hsluv-5.0.3/hsluv.egg-info/SOURCES.txt 2022-05-26 01:37:41.000000000 +0200 +++ new/hsluv-5.0.4/hsluv.egg-info/SOURCES.txt 2023-09-11 23:32:45.000000000 +0200 @@ -1,5 +1,3 @@ -.gitignore -.travis.yml LICENSE.txt MANIFEST.in README.md @@ -10,6 +8,8 @@ hsluv.egg-info/SOURCES.txt hsluv.egg-info/dependency_links.txt hsluv.egg-info/top_level.txt +tests/.DS_Store tests/__init__.py tests/snapshot-rev4.json -tests/test_hsluv.py \ No newline at end of file +tests/test_hsluv.py +tests/test_hsluv.pyc \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsluv-5.0.3/hsluv.py new/hsluv-5.0.4/hsluv.py --- old/hsluv-5.0.3/hsluv.py 2022-05-26 01:36:29.000000000 +0200 +++ new/hsluv-5.0.4/hsluv.py 2023-09-11 23:31:53.000000000 +0200 @@ -5,23 +5,24 @@ haxe -cp haxe/src hsluv.Hsluv -python hsluv.py """ +__version__ = '5.0.4' + from functools import wraps as _wraps, partial as _partial # unexport, see #17 import math as _math # unexport, see #17 - -__version__ = '5.0.3' - +# XYZ-to-sRGB matrix _m = [[3.240969941904521, -1.537383177570093, -0.498610760293], [-0.96924363628087, 1.87596750150772, 0.041555057407175], [0.055630079696993, -0.20397695888897, 1.056971514242878]] -_min_v = [[0.41239079926595, 0.35758433938387, 0.18048078840183], +# sRGB-to-XYZ matrix +_m_inv = [[0.41239079926595, 0.35758433938387, 0.18048078840183], [0.21263900587151, 0.71516867876775, 0.072192315360733], [0.019330818715591, 0.11919477979462, 0.95053215224966]] _ref_y = 1.0 _ref_u = 0.19783000664283 _ref_v = 0.46831999493879 -_kappa = 903.2962962 -_epsilon = 0.0088564516 +_kappa = 903.2962962 # 24389/27 == (29/3)**3 +_epsilon = 0.0088564516 # 216/24389 == (6/29)**3 def _normalize_output(conversion): @@ -125,9 +126,9 @@ rgbl = (_to_linear(_hx_tuple[0]), _to_linear(_hx_tuple[1]), _to_linear(_hx_tuple[2])) - return (_dot_product(_min_v[0], rgbl), - _dot_product(_min_v[1], rgbl), - _dot_product(_min_v[2], rgbl)) + return (_dot_product(_m_inv[0], rgbl), + _dot_product(_m_inv[1], rgbl), + _dot_product(_m_inv[2], rgbl)) def xyz_to_luv(_hx_tuple): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsluv-5.0.3/setup.py new/hsluv-5.0.4/setup.py --- old/hsluv-5.0.3/setup.py 2022-05-26 01:30:31.000000000 +0200 +++ new/hsluv-5.0.4/setup.py 2023-09-11 23:30:41.000000000 +0200 @@ -20,16 +20,21 @@ "Operating System :: OS Independent", "Topic :: Software Development", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3 :: Only", ], - python_requires='>=3.6', + python_requires='>=3.7', setup_requires=[ 'setuptools>=38.6.0', # for long_description_content_type ], py_modules=["hsluv"], - test_suite="tests.test_hsluv" + test_suite="tests.test_hsluv", + project_urls={ + "Bug Tracker": "https://github.com/hsluv/hsluv-python/issues", + "Source Code": "https://github.com/hsluv/hsluv-python", + } ) Binary files old/hsluv-5.0.3/tests/.DS_Store and new/hsluv-5.0.4/tests/.DS_Store differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsluv-5.0.3/tests/test_hsluv.py new/hsluv-5.0.4/tests/test_hsluv.py --- old/hsluv-5.0.3/tests/test_hsluv.py 2022-05-26 01:30:31.000000000 +0200 +++ new/hsluv-5.0.4/tests/test_hsluv.py 2023-09-11 23:30:48.000000000 +0200 @@ -11,7 +11,8 @@ from hsluv import (_hsluv_to_rgb, _hpluv_to_rgb) # no normalized output rgb_range_tolerance = 1e-11 -snapshot_tolerance = 1e-11 +# Note: we had 1e-11 precision before, but lowered it for FreeBSD: https://github.com/hsluv/hsluv/issues/87 +snapshot_tolerance = 1e-10 class TestHsluv(unittest.TestCase): Binary files old/hsluv-5.0.3/tests/test_hsluv.pyc and new/hsluv-5.0.4/tests/test_hsluv.pyc differ
