Hello community,

here is the log from the commit of package python-Glymur for openSUSE:Factory 
checked in at 2020-07-15 11:29:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Glymur (Old)
 and      /work/SRC/openSUSE:Factory/.python-Glymur.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Glymur"

Wed Jul 15 11:29:35 2020 rev:6 rq:820974 version:0.9.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Glymur/python-Glymur.changes      
2020-05-28 09:16:55.116906992 +0200
+++ /work/SRC/openSUSE:Factory/.python-Glymur.new.3060/python-Glymur.changes    
2020-07-15 11:32:07.510025568 +0200
@@ -1,0 +2,12 @@
+Tue Jul 14 16:55:39 UTC 2020 - Matej Cepl <[email protected]>
+
+- Don't install tests
+
+-------------------------------------------------------------------
+Thu Jul  9 16:12:50 UTC 2020 - Ondřej Súkup <[email protected]>
+
+- update to 0.9.2
+ * Update setup.py to include tests in source distribution to PyPi
+ * Update gdal imports to comply with GDAL recommendations.
+
+-------------------------------------------------------------------

Old:
----
  Glymur-0.9.1.tar.gz

New:
----
  Glymur-0.9.2.tar.gz

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

Other differences:
------------------
++++++ python-Glymur.spec ++++++
--- /var/tmp/diff_new_pack.QhKdc7/_old  2020-07-15 11:32:10.722028947 +0200
+++ /var/tmp/diff_new_pack.QhKdc7/_new  2020-07-15 11:32:10.722028947 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-Glymur
-Version:        0.9.1
+Version:        0.9.2
 Release:        0
 Summary:        Tools for accessing JPEG2000 files
 License:        MIT
@@ -40,6 +40,9 @@
 BuildRequires:  %{python_module numpy >= 1.7.1}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scikit-image}
+%if 0%{?suse_version} <= 1500
+BuildRequires:  %{python_module importlib_resources}
+%endif
 # /SECTION
 %python_subpackages
 
@@ -54,6 +57,8 @@
 
 %install
 %python_install
+# don't install tests
+rm -rf %{buildroot}%{python_sitelib}/tests
 %python_clone -a %{buildroot}%{_bindir}/jp2dump
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -70,6 +75,7 @@
 %doc README.md CHANGES.txt
 %license LICENSE.txt
 %python_alternative %{_bindir}/jp2dump
-%{python_sitelib}/*
+%{python_sitelib}/glymur*
+%{python_sitelib}/Glymur*
 
 %changelog

++++++ Glymur-0.9.1.tar.gz -> Glymur-0.9.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/glymur-0.9.1/CHANGES.txt new/glymur-0.9.2/CHANGES.txt
--- old/glymur-0.9.1/CHANGES.txt        2020-01-16 04:42:09.000000000 +0100
+++ new/glymur-0.9.2/CHANGES.txt        2020-06-30 22:34:59.000000000 +0200
@@ -1,3 +1,7 @@
+June 30, 2020 - v0.9.2
+    Update setup.py to include tests.
+    Update gdal imports to stop DeprecationWarning.
+
 January 15, 2020 - v0.9.1
     Remove GDAL from setup.py requirements
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/glymur-0.9.1/docs/source/conf.py 
new/glymur-0.9.2/docs/source/conf.py
--- old/glymur-0.9.1/docs/source/conf.py        2020-01-16 04:42:09.000000000 
+0100
+++ new/glymur-0.9.2/docs/source/conf.py        2020-06-30 22:34:59.000000000 
+0200
@@ -78,7 +78,7 @@
 # The short X.Y version.
 version = '0.9'
 # The full version, including alpha/beta/rc tags.
-release = '0.9.1'
+release = '0.9.2'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/glymur-0.9.1/docs/source/whatsnew/0.9.rst 
new/glymur-0.9.2/docs/source/whatsnew/0.9.rst
--- old/glymur-0.9.1/docs/source/whatsnew/0.9.rst       2020-01-16 
04:42:09.000000000 +0100
+++ new/glymur-0.9.2/docs/source/whatsnew/0.9.rst       2020-06-30 
22:34:59.000000000 +0200
@@ -3,6 +3,20 @@
 #####################
 
 ****************
+Changes in 0.9.2
+****************
+
+    * Update setup.py to include tests in source distribution to PyPi.
+    * Update gdal imports to comply with GDAL recommendations.
+
+****************
+Changes in 0.9.1
+****************
+
+    * Remove gdal from setup.py requirements as it is optional.
+    * Add Travis-CI case for missing GDAL.
+
+****************
 Changes in 0.9.0
 ****************
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/glymur-0.9.1/glymur/jp2box.py 
new/glymur-0.9.2/glymur/jp2box.py
--- old/glymur-0.9.1/glymur/jp2box.py   2020-01-16 04:42:09.000000000 +0100
+++ new/glymur-0.9.2/glymur/jp2box.py   2020-06-30 22:34:59.000000000 +0200
@@ -23,8 +23,8 @@
 
 # Third party library imports ...
 try:
-    import gdal
-    import osr
+    from osgeo import gdal
+    from osgeo import osr
     _HAVE_GDAL = True
 except ModuleNotFoundError:
     _HAVE_GDAL = False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/glymur-0.9.1/glymur/version.py 
new/glymur-0.9.2/glymur/version.py
--- old/glymur-0.9.1/glymur/version.py  2020-01-16 04:42:09.000000000 +0100
+++ new/glymur-0.9.2/glymur/version.py  2020-06-30 22:34:59.000000000 +0200
@@ -20,7 +20,7 @@
 
 # Do not change the format of this next line!  Doing so risks breaking
 # setup.py
-version = "0.9.1"
+version = "0.9.2"
 _sv = LooseVersion(version)
 version_tuple = _sv.version
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/glymur-0.9.1/setup.py new/glymur-0.9.2/setup.py
--- old/glymur-0.9.1/setup.py   2020-01-16 04:42:09.000000000 +0100
+++ new/glymur-0.9.2/setup.py   2020-06-30 22:34:59.000000000 +0200
@@ -12,7 +12,7 @@
     'author': 'John Evans',
     'author_email': '[email protected]',
     'url': 'https://github.com/quintusdias/glymur',
-    'packages': ['glymur', 'glymur.data', 'glymur.lib'],
+    'packages': ['glymur', 'glymur.data', 'glymur.lib', 'tests'],
     'package_data': {'glymur': ['data/*.jp2', 'data/*.j2k', 'data/*.jpx']},
     'entry_points': {
         'console_scripts': ['jp2dump=glymur.command_line:main'],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/glymur-0.9.1/tests/fixtures.py 
new/glymur-0.9.2/tests/fixtures.py
--- old/glymur-0.9.1/tests/fixtures.py  2020-01-16 04:42:09.000000000 +0100
+++ new/glymur-0.9.2/tests/fixtures.py  2020-06-30 22:34:59.000000000 +0200
@@ -9,7 +9,7 @@
 
 # 3rd party library imports
 try:
-    import gdal
+    from osgeo import gdal
     _HAVE_GDAL = True
 except ModuleNotFoundError:
     _HAVE_GDAL = False


Reply via email to