[Git][debian-gis-team/glymur][master] 5 commits: New upstream version 0.9.2

Antonio Valentino gitlab at salsa.debian.org
Fri Jul 3 21:03:21 BST 2020



Antonio Valentino pushed to branch master at Debian GIS Project / glymur


Commits:
3a4aecd8 by Antonio Valentino at 2020-07-03T18:23:15+00:00
New upstream version 0.9.2
- - - - -
f0dd8579 by Antonio Valentino at 2020-07-03T18:23:21+00:00
Update upstream source from tag 'upstream/0.9.2'

Update to upstream version '0.9.2'
with Debian dir e0deeb22c0cab3d0854d24a231d6e00a7c4a8eb8
- - - - -
93340187 by Antonio Valentino at 2020-07-03T18:26:41+00:00
New upstream version

- - - - -
87e06de9 by Antonio Valentino at 2020-07-03T21:25:33+02:00
Improve override_dh_auto_test rule

- - - - -
88f5cd8c by Antonio Valentino at 2020-07-03T19:57:39+00:00
Set distribution to unstable

- - - - -


9 changed files:

- CHANGES.txt
- debian/changelog
- debian/rules
- docs/source/conf.py
- docs/source/whatsnew/0.9.rst
- glymur/jp2box.py
- glymur/version.py
- setup.py
- tests/fixtures.py


Changes:

=====================================
CHANGES.txt
=====================================
@@ -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
 


=====================================
debian/changelog
=====================================
@@ -1,8 +1,11 @@
-glymur (0.9.1-2) UNRELEASED; urgency=medium
+glymur (0.9.2-1) unstable; urgency=medium
 
+  * New updtream version.
   * Bump Standards-Version to 4.5.0, no changes.
+  * debian/rules:
+    - improve override_dh_auto_test target
 
- -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 25 Jan 2020 10:34:52 +0100
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Fri, 03 Jul 2020 19:57:13 +0000
 
 glymur (0.9.1-1) unstable; urgency=medium
 


=====================================
debian/rules
=====================================
@@ -14,9 +14,7 @@ override_dh_auto_clean:
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	touch tests/data/__init__.py
 	PYBUILD_SYSTEM=custom \
 	PYBUILD_TEST_ARGS="env PYTHONPATH={build_dir} python{version} -m unittest discover -v" \
 	dh_auto_test
-	$(RM) tests/data/__init__.py
 endif


=====================================
docs/source/conf.py
=====================================
@@ -78,7 +78,7 @@ copyright = '2013-2020, John Evans'
 # 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.


=====================================
docs/source/whatsnew/0.9.rst
=====================================
@@ -2,6 +2,20 @@
 Changes in glymur 0.9
 #####################
 
+****************
+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
 ****************


=====================================
glymur/jp2box.py
=====================================
@@ -23,8 +23,8 @@ import warnings
 
 # 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


=====================================
glymur/version.py
=====================================
@@ -20,7 +20,7 @@ from .lib import openjp2 as opj2
 
 # 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
 


=====================================
setup.py
=====================================
@@ -12,7 +12,7 @@ kwargs = {
     'author': 'John Evans',
     'author_email': 'john.g.evans.ne at gmail.com',
     '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'],


=====================================
tests/fixtures.py
=====================================
@@ -9,7 +9,7 @@ import unittest
 
 # 3rd party library imports
 try:
-    import gdal
+    from osgeo import gdal
     _HAVE_GDAL = True
 except ModuleNotFoundError:
     _HAVE_GDAL = False



View it on GitLab: https://salsa.debian.org/debian-gis-team/glymur/-/compare/484a4098b450ced19a7d6aca566be1cda8fa5615...88f5cd8c546ee43de006b4260f1808281b430ea2

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/glymur/-/compare/484a4098b450ced19a7d6aca566be1cda8fa5615...88f5cd8c546ee43de006b4260f1808281b430ea2
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200703/1bf9aea9/attachment-0001.html>


More information about the Pkg-grass-devel mailing list