[Git][debian-gis-team/pylibtiff][master] 2 commits: Drop Python 2 support.

Bas Couwenberg gitlab at salsa.debian.org
Sun Jul 21 20:35:06 BST 2019



Bas Couwenberg pushed to branch master at Debian GIS Project / pylibtiff


Commits:
22ce5716 by Bas Couwenberg at 2019-07-21T19:31:11Z
Drop Python 2 support.

- - - - -
38b3f88f by Bas Couwenberg at 2019-07-21T19:31:30Z
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,10 +1,11 @@
-pylibtiff (0.4.2-6) UNRELEASED; urgency=medium
+pylibtiff (0.4.2-6) unstable; urgency=medium
 
   * Team upload.
   * Update gbp.conf to use --source-only-changes by default.
   * Bump Standards-Version to 4.4.0, no changes.
+  * Drop Python 2 support.
 
- -- Bas Couwenberg <sebastic at debian.org>  Sun, 07 Jul 2019 09:40:04 +0200
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 21 Jul 2019 21:31:17 +0200
 
 pylibtiff (0.4.2-5) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -7,10 +7,6 @@ Testsuite: autopkgtest-pkg-python
 Build-Depends: debhelper (>= 11),
                dh-python,
                libtiff-dev,
-               python-all-dev,
-               python-bitarray,
-               python-numpy,
-               python-pytest,
                python3-all-dev,
                python3-bitarray,
                python3-numpy,
@@ -20,38 +16,6 @@ Vcs-Browser: https://salsa.debian.org/debian-gis-team/pylibtiff
 Vcs-Git: https://salsa.debian.org/debian-gis-team/pylibtiff.git
 Homepage: https://github.com/pearu/pylibtiff
 
-Package: python-libtiff
-Architecture: any
-Depends: libtiff-dev,
-         python-bitarray,
-         ${python:Depends},
-         ${shlibs:Depends},
-         ${misc:Depends}
-Suggests: python-pil,
-          tifffile
-Provides: ${python:Provides}
-Description: wrapper to the libtiff library to Python using ctypes
- PyLibTiff is a package that provides:
- .
-  * a wrapper to the libtiff library to Python using ctypes.
-  * a pure Python module for reading and writing TIFF and LSM files. The images
-    are read as numpy.memmap objects so that it is possible to open images that
-    otherwise would not fit to computers RAM.
- .
- There exists many Python packages such as PIL, FreeImagePy that support reading
- and writing TIFF files. The PyLibTiff project was started to have an efficient
- and direct way to read and write TIFF files using the libtiff library without
- the need to install any unnecessary packages or libraries. The pure Python
- module was created for reading "broken" TIFF files such as LSM files that in
- some places use different interpretation of TIFF tags than what specified in
- the TIFF specification document. The libtiff library would just fail reading
- such files. In addition, the pure Python module is more memory efficient as the
- arrays are returned as memory maps. Support for compressed files is not
- implemented yet.
- .
- Warning: pylibtiff currently supports reading and writing images that are
- stored using TIFF strips. Patches are welcome to support tiled TIFF images.
-
 Package: python3-libtiff
 Architecture: any
 Depends: libtiff-dev,


=====================================
debian/rules
=====================================
@@ -6,20 +6,16 @@ export PYBUILD_NAME=libtiff
 export PYBUILD_DISABLE=test
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
-
-override_dh_python2:
-	dh_python2
-	dh_numpy
-
-override_dh_python3:
-	dh_python3
-	dh_numpy3
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_install:
 	dh_auto_install
 
 	$(RM) debian/*/usr/lib/python*/dist-packages/libtiff/LICENSE
 
+override_dh_python3:
+	dh_python3
+	dh_numpy3
+
 get-orig-source:
 	./debian/get-orig-source



View it on GitLab: https://salsa.debian.org/debian-gis-team/pylibtiff/compare/59c3b3f9bc8b68406e1c5f27b6cc42f1d2e617c6...38b3f88f7001c9db16f4ff2e5152909e99d567c4

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pylibtiff/compare/59c3b3f9bc8b68406e1c5f27b6cc42f1d2e617c6...38b3f88f7001c9db16f4ff2e5152909e99d567c4
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/20190721/874d60c5/attachment-0001.html>


More information about the Pkg-grass-devel mailing list