[Git][debian-gis-team/glymur][upstream] New upstream version 0.9.2
Antonio Valentino
gitlab at salsa.debian.org
Fri Jul 3 21:03:24 BST 2020
Antonio Valentino pushed to branch upstream at Debian GIS Project / glymur
Commits:
3a4aecd8 by Antonio Valentino at 2020-07-03T18:23:15+00:00
New upstream version 0.9.2
- - - - -
7 changed files:
- CHANGES.txt
- 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
=====================================
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/-/commit/3a4aecd83021b99b4e2bf57f706312d315fa9847
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/glymur/-/commit/3a4aecd83021b99b4e2bf57f706312d315fa9847
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/9839501b/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list