Andreas Tille pushed to branch master at Debian Med / tifffile

Commits:
f3b8a8ea by Andreas Tille at 2018-04-09T08:48:58+02:00
autopkgtest: Restrictions: allow-stderr

- - - - -
debbacc9 by Andreas Tille at 2018-04-09T08:51:28+02:00
Point Vcs fields to salsa.debian.org

- - - - -
beed4765 by Andreas Tille at 2018-04-09T09:00:30+02:00
Standards-Version: 4.1.4

- - - - -
84851a0a by Andreas Tille at 2018-04-09T09:10:34+02:00
include /usr/share/dpkg/architecture.mk instead of manally setting 
DEB_HOST_ARCH_ENDIAN

- - - - -
bb3dcf95 by Andreas Tille at 2018-04-09T09:37:32+02:00
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

- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/rules
- debian/tests/control
- debian/tests/python-import


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+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 <ti...@debian.org>  Mon, 09 Apr 2018 08:51:41 +0200
+
 tifffile (20170929-1) unstable; urgency=medium
 
   [ Andreas Tille ]


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -4,26 +4,25 @@ Uploaders: Andreas Tille <ti...@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.


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -1,21 +1,18 @@
 #!/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


=====================================
debian/tests/control
=====================================
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,3 @@
 Tests: python-import
 Depends: @, python, imagemagick
+Restrictions: allow-stderr


=====================================
debian/tests/python-import
=====================================
--- a/debian/tests/python-import
+++ b/debian/tests/python-import
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # autopkgtest check: Try importing tiffile module
 # Author: Sascha Steinbiss <sa...@debian.org>
 



View it on GitLab: 
https://salsa.debian.org/med-team/tifffile/compare/2677d79c937edc6c1b5720f5d6cc90fcded64d75...bb3dcf954861d441d3b936432697626b179803ae

---
View it on GitLab: 
https://salsa.debian.org/med-team/tifffile/compare/2677d79c937edc6c1b5720f5d6cc90fcded64d75...bb3dcf954861d441d3b936432697626b179803ae
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to