commit python-Glymur for openSUSE:Factory

2020-07-15 Thread root
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 
+
+- Don't install tests
+
+---
+Thu Jul  9 16:12:50 UTC 2020 - Ondřej Súkup 
+
+- 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.txt2020-01-16 04:42:09.0 +0100
+++ new/glymur-0.9.2/CHANGES.txt2020-06-30 22:34:59.0 +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.py2020-01-16 04:42:09.0 
+0100
+++ new/glymur-0.9.2/docs/source/conf.py2020-06-30 22:34:59.0 
+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.0 +0100
+++ new/glymur-0.9.2/docs/source/whatsnew/0.9.rst   2020-06-30 
22:34:59.0 +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.0 +0100
+++ new/glymur-0.9.2/glymur/jp2box.py   2020-06-30 22:34:59.0 +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 

commit python-Glymur for openSUSE:Factory

2020-05-28 Thread root
Hello community,

here is the log from the commit of package python-Glymur for openSUSE:Factory 
checked in at 2020-05-28 09:16:44

Comparing /work/SRC/openSUSE:Factory/python-Glymur (Old)
 and  /work/SRC/openSUSE:Factory/.python-Glymur.new.3606 (New)


Package is "python-Glymur"

Thu May 28 09:16:44 2020 rev:5 rq:809364 version:0.9.1

Changes:

--- /work/SRC/openSUSE:Factory/python-Glymur/python-Glymur.changes  
2020-03-26 23:35:02.754813425 +0100
+++ /work/SRC/openSUSE:Factory/.python-Glymur.new.3606/python-Glymur.changes
2020-05-28 09:16:55.116906992 +0200
@@ -1,0 +2,5 @@
+Tue May 26 06:34:26 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-Glymur.spec ++
--- /var/tmp/diff_new_pack.FaoNyt/_old  2020-05-28 09:16:55.796908596 +0200
+++ /var/tmp/diff_new_pack.FaoNyt/_new  2020-05-28 09:16:55.800908606 +0200
@@ -31,6 +31,8 @@
 BuildRequires:  procps
 BuildRequires:  python-rpm-macros
 Requires:   python-numpy >= 1.7.1
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends: python-lxml
 BuildArch:  noarch
 # SECTION test requirements
@@ -52,15 +54,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/jp2dump
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
+%post
+%python_install_alternative jp2dump
+
+%postun
+%python_uninstall_alternative jp2dump
+
 %files %{python_files}
 %doc README.md CHANGES.txt
 %license LICENSE.txt
-%python3_only %{_bindir}/jp2dump
+%python_alternative %{_bindir}/jp2dump
 %{python_sitelib}/*
 
 %changelog




commit python-Glymur for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-Glymur for openSUSE:Factory 
checked in at 2020-03-26 23:34:14

Comparing /work/SRC/openSUSE:Factory/python-Glymur (Old)
 and  /work/SRC/openSUSE:Factory/.python-Glymur.new.3160 (New)


Package is "python-Glymur"

Thu Mar 26 23:34:14 2020 rev:4 rq:788483 version:0.9.1

Changes:

--- /work/SRC/openSUSE:Factory/python-Glymur/python-Glymur.changes  
2020-01-13 22:23:28.730572622 +0100
+++ /work/SRC/openSUSE:Factory/.python-Glymur.new.3160/python-Glymur.changes
2020-03-26 23:35:02.754813425 +0100
@@ -1,0 +2,10 @@
+Thu Mar 26 10:14:42 UTC 2020 - Marketa Calabkova 
+
+- update to 0.9.1
+  * Removed support for python2.7
+  * Fixed Cygwin support.
+  * Fixed appveyor builds, Travis-CI framework reworked.
+  * Some fragile tests removed.
+  * Remove GDAL from setup.py requirements
+
+---

Old:

  Glymur-0.8.19.tar.gz

New:

  Glymur-0.9.1.tar.gz



Other differences:
--
++ python-Glymur.spec ++
--- /var/tmp/diff_new_pack.UMlNiM/_old  2020-03-26 23:35:03.166813574 +0100
+++ /var/tmp/diff_new_pack.UMlNiM/_new  2020-03-26 23:35:03.170813576 +0100
@@ -19,13 +19,13 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-Glymur
-Version:0.8.19
+Version:0.9.1
 Release:0
 Summary:Tools for accessing JPEG2000 files
 License:MIT
 Group:  Development/Languages/Python
 URL:https://github.com/quintusdias/glymur
-Source: 
https://files.pythonhosted.org/packages/source/G/Glymur/Glymur-%{version}.tar.gz
+Source: 
https://github.com/quintusdias/glymur/archive/v%{version}.tar.gz#/Glymur-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  procps
@@ -45,9 +45,7 @@
 Python interface to the OpenJPEG library
 
 %prep
-%setup -q -n Glymur-%{version}
-# Remove bundled egg-info
-rm -rf %{pypi_name}.egg-info
+%setup -q -n glymur-%{version}
 
 %build
 %python_build
@@ -57,7 +55,6 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-touch tests/data/__init__.py
 %pytest
 
 %files %{python_files}

++ Glymur-0.8.19.tar.gz -> Glymur-0.9.1.tar.gz ++
 13953 lines of diff (skipped)




commit python-Glymur for openSUSE:Factory

2020-01-13 Thread root
Hello community,

here is the log from the commit of package python-Glymur for openSUSE:Factory 
checked in at 2020-01-13 22:23:26

Comparing /work/SRC/openSUSE:Factory/python-Glymur (Old)
 and  /work/SRC/openSUSE:Factory/.python-Glymur.new.6675 (New)


Package is "python-Glymur"

Mon Jan 13 22:23:26 2020 rev:3 rq:764115 version:0.8.19

Changes:

--- /work/SRC/openSUSE:Factory/python-Glymur/python-Glymur.changes  
2019-12-07 15:08:54.875850848 +0100
+++ /work/SRC/openSUSE:Factory/.python-Glymur.new.6675/python-Glymur.changes
2020-01-13 22:23:28.730572622 +0100
@@ -1,0 +2,6 @@
+Mon Jan 13 16:24:39 UTC 2020 - Marketa Calabkova 
+
+- update to 0.8.19
+  * Qualify on Python 3.8.
+
+---

Old:

  Glymur-0.8.18.tar.gz

New:

  Glymur-0.8.19.tar.gz



Other differences:
--
++ python-Glymur.spec ++
--- /var/tmp/diff_new_pack.0g5c2E/_old  2020-01-13 22:23:29.646573047 +0100
+++ /var/tmp/diff_new_pack.0g5c2E/_new  2020-01-13 22:23:29.646573047 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Glymur
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-Glymur
-Version:0.8.18
+Version:0.8.19
 Release:0
 Summary:Tools for accessing JPEG2000 files
 License:MIT

++ Glymur-0.8.18.tar.gz -> Glymur-0.8.19.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Glymur-0.8.18/.gitignore new/Glymur-0.8.19/.gitignore
--- old/Glymur-0.8.18/.gitignore2019-04-24 16:25:31.0 +0200
+++ new/Glymur-0.8.19/.gitignore2019-11-15 01:50:20.0 +0100
@@ -1,6 +1,9 @@
 *.pyc
 *.swp
 .coverage
+build
 cover
 dist
+docs/build
+docs/latex
 Glymur.egg-info
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Glymur-0.8.18/.travis.yml 
new/Glymur-0.8.19/.travis.yml
--- old/Glymur-0.8.18/.travis.yml   2019-04-24 16:25:31.0 +0200
+++ new/Glymur-0.8.19/.travis.yml   2019-11-15 01:48:51.0 +0100
@@ -41,6 +41,11 @@
   env:
   - JOB_NAME "37_latest"
   - JOB_TAG=latest
+- python: 3.8
+  dist: xenial
+  env:
+  - JOB_NAME "37_latest"
+  - JOB_TAG=latest
 before_install:
   - sh -c "if test $OPJ15 -eq 1; then bash ci/install_openjpeg15.sh; fi"
 install:
@@ -61,7 +66,7 @@
   - conda info -a
 
   # Replace dep1 dep2 ... with your dependencies
-  - conda config --append channels conda-forge
+  - conda config --prepend channels conda-forge
   - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
   - source activate test-environment
   - conda install --file 
ci/requirements_"$TRAVIS_PYTHON_VERSION"_"$JOB_TAG".txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Glymur-0.8.18/CHANGES.txt 
new/Glymur-0.8.19/CHANGES.txt
--- old/Glymur-0.8.18/CHANGES.txt   2019-04-24 22:10:22.0 +0200
+++ new/Glymur-0.8.19/CHANGES.txt   2019-11-15 11:24:51.0 +0100
@@ -1,3 +1,6 @@
+November 15, 2019 - v0.8.19
+Qualify on Python 3.8.
+
 April 24, 2019 - v0.8.18
 Fix geotiff UUID corner coordinate string representation.
 Improve warning and error messages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Glymur-0.8.18/Glymur.egg-info/PKG-INFO 
new/Glymur-0.8.19/Glymur.egg-info/PKG-INFO
--- old/Glymur-0.8.18/Glymur.egg-info/PKG-INFO  2019-04-24 23:25:30.0 
+0200
+++ new/Glymur-0.8.19/Glymur.egg-info/PKG-INFO  2019-11-16 14:58:32.0 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: Glymur
-Version: 0.8.18
+Version: 0.8.19
 Summary: Tools for accessing JPEG2000 files
 Home-page: https://github.com/quintusdias/glymur
 Author: John Evans
@@ -18,10 +18,10 @@
 Platform: UNKNOWN
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Development Status :: 5 - Production/Stable
diff -urN '--exclude=CVS' 

commit python-Glymur for openSUSE:Factory

2019-12-07 Thread root
Hello community,

here is the log from the commit of package python-Glymur for openSUSE:Factory 
checked in at 2019-12-07 15:08:31

Comparing /work/SRC/openSUSE:Factory/python-Glymur (Old)
 and  /work/SRC/openSUSE:Factory/.python-Glymur.new.4691 (New)


Package is "python-Glymur"

Sat Dec  7 15:08:31 2019 rev:2 rq:754758 version:0.8.18

Changes:

--- /work/SRC/openSUSE:Factory/python-Glymur/python-Glymur.changes  
2019-09-27 14:54:45.475780355 +0200
+++ /work/SRC/openSUSE:Factory/.python-Glymur.new.4691/python-Glymur.changes
2019-12-07 15:08:54.875850848 +0100
@@ -1,0 +2,6 @@
+Fri Dec  6 18:44:56 UTC 2019 - Todd R 
+
+- Disable python2 support since dependencies dropped python2
+- Use pytest to simplify test invocation
+
+---



Other differences:
--
++ python-Glymur.spec ++
--- /var/tmp/diff_new_pack.vlpE6L/_old  2019-12-07 15:08:56.267850652 +0100
+++ /var/tmp/diff_new_pack.vlpE6L/_new  2019-12-07 15:08:56.271850651 +0100
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-Glymur
 Version:0.8.18
 Release:0
@@ -25,23 +26,19 @@
 Group:  Development/Languages/Python
 URL:https://github.com/quintusdias/glymur
 Source: 
https://files.pythonhosted.org/packages/source/G/Glymur/Glymur-%{version}.tar.gz
-BuildRequires:  %{python_module lxml}
-BuildRequires:  %{python_module numpy >= 1.7.1}
-BuildRequires:  %{python_module scikit-image}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  procps
-BuildRequires:  python-contextlib2 >= 0.4
-BuildRequires:  python-importlib_resources
-BuildRequires:  python-mock >= 0.7.2
 BuildRequires:  python-rpm-macros
 Requires:   python-numpy >= 1.7.1
-Requires:   python-setuptools
+Recommends: python-lxml
 BuildArch:  noarch
-%ifpython2
-Requires:   python-contextlib2 >= 0.4
-Requires:   python-mock >= 0.7.2
-%endif
+# SECTION test requirements
+BuildRequires:  %{python_module lxml}
+BuildRequires:  %{python_module numpy >= 1.7.1}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module scikit-image}
+# /SECTION
 %python_subpackages
 
 %description
@@ -61,14 +58,12 @@
 
 %check
 touch tests/data/__init__.py
-# python_expand makes the discovery go crazy in this package
-PYTHONPATH=%{buildroot}%{python3_sitelib} python3 -m unittest discover -v
-PYTHONPATH=%{buildroot}%{python_sitelib} python -m unittest discover -v
+%pytest
 
 %files %{python_files}
 %doc README.md CHANGES.txt
 %license LICENSE.txt
-%{python_sitelib}/*
 %python3_only %{_bindir}/jp2dump
+%{python_sitelib}/*
 
 %changelog