Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Glymur for openSUSE:Factory 
checked in at 2022-07-11 19:09:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Glymur (Old)
 and      /work/SRC/openSUSE:Factory/.python-Glymur.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Glymur"

Mon Jul 11 19:09:43 2022 rev:8 rq:988319 version:0.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Glymur/python-Glymur.changes      
2021-02-19 23:44:53.407341322 +0100
+++ /work/SRC/openSUSE:Factory/.python-Glymur.new.1523/python-Glymur.changes    
2022-07-11 19:11:07.291758839 +0200
@@ -1,0 +2,26 @@
+Thu Jul  7 19:14:14 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to v0.10.1
+  * Add write capability for Resolution boxes
+  * Add example documentation for reading layers
+- Release v0.10.0
+  * Allow parsing of Exif UUIDs missing the EXIF\00\00 lead-in
+  * Add read support for additional Exif tags
+  * Add support for TLM segment generation
+- Release  v0.9.9
+  * Fix bug retrieving some TIFF tags on big endian systems
+- Release v0.9.7
+  * Remove distutils in favor of setuptools
+  * Add recognition of IMF profiles
+  * Add ndim, dtype properties
+- Release v0.9.5
+  * Add support for generation of PLT markers
+  * Add support for converting TIFFs to JPEG 2000
+- Release v0.9.4
+  * Add support for writing images tile-by-tile
+  * Add support for opj_set_decoded_components
+  * Remove support for Python 3.6
+- Add glymur-pr553-no-setuptools.patch
+  * gh#quintusdias/glymur#553 + gh#quintusdias/glymur#554
+
+-------------------------------------------------------------------

Old:
----
  Glymur-0.9.3.tar.gz

New:
----
  Glymur-0.10.1.tar.gz
  glymur-pr553-no-setuptools.patch

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

Other differences:
------------------
++++++ python-Glymur.spec ++++++
--- /var/tmp/diff_new_pack.BgvwgM/_old  2022-07-11 19:11:08.167760110 +0200
+++ /var/tmp/diff_new_pack.BgvwgM/_new  2022-07-11 19:11:08.171760116 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Glymur
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,32 +16,33 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define         skip_python2 1
-# NEP 29: NumPy dropped Python 3.6
-%define         skip_python36 1
 Name:           python-Glymur
-Version:        0.9.3
+Version:        0.10.1
 Release:        0
 Summary:        Tools for accessing JPEG2000 files
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/quintusdias/glymur
 Source:         
https://github.com/quintusdias/glymur/archive/v%{version}.tar.gz#/Glymur-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM glymur-pr553-no-setuptools.patch 
gh#quintusdias/glymur#553 + gh#quintusdias/glymur#554
+Patch1:         glymur-pr553-no-setuptools.patch
+BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  procps
 BuildRequires:  python-rpm-macros
-Requires:       python-numpy >= 1.7.1
+Requires:       python-lxml
+Requires:       python-numpy
+Requires:       python-packaging
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
-Recommends:     python-lxml
+Requires(postun):update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
-# (importlib_resources for Leap's Python 3.6)
-BuildRequires:  %{python_module importlib_resources if %python-base < 3.7}
 BuildRequires:  %{python_module lxml}
-BuildRequires:  %{python_module numpy >= 1.7.1}
+BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module packaging}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scikit-image}
 # /SECTION
@@ -51,24 +52,25 @@
 Python interface to the OpenJPEG library
 
 %prep
-%setup -q -n glymur-%{version}
+%autosetup -p1 -n glymur-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/jp2dump
-%{python_expand # don't install tests
-rm -rf %{buildroot}%{$python_sitelib}/tests
-%fdupes %{buildroot}%{$python_sitelib}
-}
+%python_clone -a %{buildroot}%{_bindir}/tiff2jp2
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest
+# test says: "SCENARIO:  the XDG_CONFIG_HOME environment variable is not 
present"
+# which is not true with our pytest macro
+donttest+="test_config_dir_on_windows"
+%pytest -k "not ($donttest)"
 
 %post
-%python_install_alternative jp2dump
+%python_install_alternative jp2dump tiff2jp2
 
 %postun
 %python_uninstall_alternative jp2dump
@@ -77,7 +79,8 @@
 %doc README.md CHANGES.txt
 %license LICENSE.txt
 %python_alternative %{_bindir}/jp2dump
-%{python_sitelib}/glymur*
+%python_alternative %{_bindir}/tiff2jp2
+%{python_sitelib}/glymur
 %{python_sitelib}/Glymur-%{version}*-info
 
 %changelog

++++++ Glymur-0.9.3.tar.gz -> Glymur-0.10.1.tar.gz ++++++
++++ 11086 lines of diff (skipped)

++++++ glymur-pr553-no-setuptools.patch ++++++
Index: glymur-0.10.1/setup.cfg
===================================================================
--- glymur-0.10.1.orig/setup.cfg
+++ glymur-0.10.1/setup.cfg
@@ -28,7 +28,6 @@ install_requires =
     numpy
     lxml
     packaging
-    setuptools
 python_requires = >=3.7
 include_package_data = True
 zip_safe = False
@@ -43,3 +42,8 @@ glymur =
     data/*.jp2
     data/*.jpx
     data/*.j2k
+
+[options.packages.find]
+exclude =
+    tests
+    tests.*

Reply via email to