Skip to content
Commits on Source (7)
......@@ -25,6 +25,16 @@ pylibtiff (0.4.2-1) unstable; urgency=medium
* Do not install examples: not provided in the source package form PyPi.
* Update watch file.
[ Bas Couwenberg ]
* Bump Standards-Version to 4.3.0, no changes.
* Remove unused examples file.
* Update rules file, changes:
- Group and reorder exports
- Remove disabled export
- Run dh_numpy* in dh_python* overrides
- Use $(RM) instead of rm
* Update watch file to handle common issues.
-- Antonio Valentino <antonio.valentino@tiscali.it> Sun, 23 Dec 2018 20:55:59 +0000
pylibtiff (0.4.1+20160502-1) unstable; urgency=medium
......
......@@ -15,17 +15,17 @@ Build-Depends: debhelper (>= 11),
python3-bitarray,
python3-numpy,
python3-pytest
Standards-Version: 4.2.1
Standards-Version: 4.3.0
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: ${python:Depends},
${misc:Depends},
Depends: libtiff5,
${python:Depends},
${shlibs:Depends},
libtiff5
${misc:Depends}
Suggests: python-pil,
tifffile
Provides: ${python:Provides}
......@@ -53,10 +53,10 @@ Description: wrapper to the libtiff library to Python using ctypes
Package: python3-libtiff
Architecture: any
Depends: ${python3:Depends},
${misc:Depends},
Depends: libtiff5,
${python3:Depends},
${shlibs:Depends},
libtiff5
${misc:Depends}
Suggests: python3-pil,
tifffile
Provides: ${python3:Provides}
......
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pylibtiff
Upstream-Name: PyLibTiff
Source: https://github.com/pearu/pylibtiff
Files-Excluded: libtiff/bitarray-*
......
#!/usr/bin/make -f
export PYBUILD_NAME=libtiff
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export PYBUILD_NAME=libtiff
export PYBUILD_TEST_PYTEST=1
#export PYBUILD_TEST_ARGS = . ../../../libtiff/tests
%:
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_gencontrol:
override_dh_python2:
dh_python2
dh_numpy
override_dh_python3:
dh_python3
dh_numpy3
dh_gencontrol
override_dh_auto_install:
dh_auto_install
rm debian/python*-libtiff/usr/lib/python*/dist-packages/libtiff/LICENSE
$(RM) debian/*/usr/lib/python*/dist-packages/libtiff/LICENSE
get-orig-source:
./debian/get-orig-source
version=4
opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
https://pypi.debian.net/libtiff/libtiff-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
opts=\
dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|c|b|beta|a|alpha)\d*)$/$1~$2/;s/RC/rc/ \
https://pypi.debian.net/libtiff/ \
libtiff-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))