Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Drop Python 2 support.
· 22ce5716
Bas Couwenberg
authored
Jul 21, 2019
22ce5716
Set distribution to unstable.
· 38b3f88f
Bas Couwenberg
authored
Jul 21, 2019
38b3f88f
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
38b3f88f
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@debian.org> Sun,
07
Jul 2019
09:40:04
+0200
-- Bas Couwenberg <sebastic@debian.org> Sun,
21
Jul 2019
21:31:17
+0200
pylibtiff (0.4.2-5) unstable; urgency=medium
...
...
debian/control
View file @
38b3f88f
...
...
@@ -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
View file @
38b3f88f
...
...
@@ -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