Skip to content
Commits on Source (5)
tifffile (20170929-2) UNRELEASED; urgency=medium
* autopkgtest: Restrictions: allow-stderr
Closes: #895176
* Point Vcs fields to salsa.debian.org
* Standards-Version: 4.1.4
* d/rules: include /usr/share/dpkg/architecture.mk instead of manally
setting DEB_HOST_ARCH_ENDIAN
* The package does not really provide a Python module for inclusion into
other projects. Thus the binary is renamed to tifffile. It was
ported to Python3 by upstream - thus the Python3 Build-Depends
-- Andreas Tille <tille@debian.org> Mon, 09 Apr 2018 08:51:41 +0200
tifffile (20170929-1) unstable; urgency=medium
[ Andreas Tille ]
......
......@@ -4,26 +4,25 @@ Uploaders: Andreas Tille <tille@debian.org>
Section: python
Priority: optional
Build-Depends: debhelper (>= 11~),
python-all-dev,
python-numpy (>= 1:1.7.1)
Standards-Version: 4.1.3
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/tifffile.git
Vcs-Git: https://anonscm.debian.org/git/debian-med/tifffile.git
dh-python,
python3-all-dev,
python3-numpy (>= 1:1.7.1)
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/med-team/tifffile
Vcs-Git: https://salsa.debian.org/med-team/tifffile.git
Homepage: http://www.lfd.uci.edu/~gohlke/
X-Python-Version: >= 2.6
Package: python-tifffile
Package: tifffile
Architecture: any
Depends: ${python:Depends},
Depends: ${python3:Depends},
${misc:Depends},
${shlibs:Depends},
python-importlib,
python-enum34,
python-concurrent.futures
Recommends: python-matplotlib (>= 1.3)
Conflicts: tifffile
Provides: ${python:Provides}
Replaces: tifffile
python3
Recommends: python3-matplotlib (>= 1.3)
Conflicts: python-tifffile
Provides: ${python3:Provides}
Replaces: python-tifffile
Description: Read and write image data from and to TIFF files
Image and meta-data can be read from TIFF, BigTIFF, OME-TIFF, STK, LSM, NIH,
ImageJ, MicroManager, FluoView, SEQ and GEL files.
......
#!/usr/bin/make -f
# As per code source need to handle big endian with:
DEB_HOST_ARCH_ENDIAN:=$(shell dpkg-architecture -qDEB_HOST_ARCH_ENDIAN)
include /usr/share/dpkg/architecture.mk
ifeq ($(DEB_HOST_ARCH_ENDIAN),big)
export CFLAGS=-DMSB=0
endif
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with python2
override_dh_auto_clean:
dh_auto_clean
dh $@ --with python3
override_dh_install:
dh_numpy
install -D -m0755 $(CURDIR)/debian/tifffile.sh $(CURDIR)/debian/python-tifffile/usr/bin/tifffile
install -D -m0755 $(CURDIR)/debian/tifffile.sh $(CURDIR)/debian/tifffile/usr/bin/tifffile
override_dh_installman:
dh_installman debian/tifffile.1
......
Tests: python-import
Depends: @, python, imagemagick
Restrictions: allow-stderr
#!/usr/bin/env python
#!/usr/bin/env python3
# autopkgtest check: Try importing tiffile module
# Author: Sascha Steinbiss <satta@debian.org>
......