[med-svn] r12804 - in trunk/packages/tifffile/trunk/debian: . patches

Mathieu Malaterre malat at alioth.debian.org
Sun Jan 20 15:59:43 UTC 2013


Author: malat
Date: 2013-01-20 15:59:43 +0000 (Sun, 20 Jan 2013)
New Revision: 12804

Modified:
   trunk/packages/tifffile/trunk/debian/changelog
   trunk/packages/tifffile/trunk/debian/get-orig-source
   trunk/packages/tifffile/trunk/debian/patches/setuppy.patch
   trunk/packages/tifffile/trunk/debian/rules
Log:
Start working on next tifffile

Modified: trunk/packages/tifffile/trunk/debian/changelog
===================================================================
--- trunk/packages/tifffile/trunk/debian/changelog	2013-01-18 15:06:22 UTC (rev 12803)
+++ trunk/packages/tifffile/trunk/debian/changelog	2013-01-20 15:59:43 UTC (rev 12804)
@@ -1,3 +1,9 @@
+tifffile (20130118-1) UNRELEASED; urgency=low
+
+  * New upstream
+
+ -- Mathieu Malaterre <malat at debian.org>  Sun, 20 Jan 2013 16:34:57 +0100
+
 tifffile (20121214-1) experimental; urgency=low
 
   * New upstream

Modified: trunk/packages/tifffile/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/tifffile/trunk/debian/get-orig-source	2013-01-18 15:06:22 UTC (rev 12803)
+++ trunk/packages/tifffile/trunk/debian/get-orig-source	2013-01-20 15:59:43 UTC (rev 12804)
@@ -27,8 +27,8 @@
 #wget -c http://www.lfd.uci.edu/~gohlke/code/tifffile.c.html
 curl -s -o tifffile.c.html "http://www.lfd.uci.edu/~gohlke/code/tifffile.c.html"
 # do not keep .py extension as we install it into usr/bin
-links -dump tifffile.py.html > tifffile
-sed -i -e 's/^ //g' tifffile
+links -dump tifffile.py.html > tifffile.py
+sed -i -e 's/^ //g' tifffile.py
 links -dump tifffile.c.html > tifffile.c
 sed -i -e 's/^ //g' tifffile.c
 rm *.html

Modified: trunk/packages/tifffile/trunk/debian/patches/setuppy.patch
===================================================================
--- trunk/packages/tifffile/trunk/debian/patches/setuppy.patch	2013-01-18 15:06:22 UTC (rev 12803)
+++ trunk/packages/tifffile/trunk/debian/patches/setuppy.patch	2013-01-20 15:59:43 UTC (rev 12804)
@@ -1,8 +1,8 @@
-Index: tifffile-20121214/setup.py
+Index: tifffile-20130118/setup.py
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ tifffile-20121214/setup.py	2013-01-13 17:47:53.961575382 +0100
-@@ -0,0 +1,22 @@
++++ tifffile-20130118/setup.py	2013-01-20 16:54:05.050851246 +0100
+@@ -0,0 +1,23 @@
 +"""A Python script to build the _tifffile extension module.
 +
 +Usage:: ``python setup.py build_ext --inplace``
@@ -13,12 +13,13 @@
 +import numpy
 +
 +setup(name='_tifffile',
-+    version="2012.04.21",
-+    description="Read image and meta-data from TIFF, STK, LSM, OME-TIFF, and FluoView files",
++    version="2013.01.18",
++    description="Reads image and meta-data from many bio-scientific formats such as plain TIFF, BigTIFF, OME-TIFF, STK, LSM, NIH, ImageJ, GEL, and FluoView files",
 +    keywords="tiff,stk,lsm",
 +    author="Christoph Gohlke",
 +    url="http://www.lfd.uci.edu/~gohlke/",
 +    license="BSD",
++    py_modules=['tifffile'],
 +    ext_modules=[
 +      Extension(
 +        '_tifffile', ['tifffile.c'],

Modified: trunk/packages/tifffile/trunk/debian/rules
===================================================================
--- trunk/packages/tifffile/trunk/debian/rules	2013-01-18 15:06:22 UTC (rev 12803)
+++ trunk/packages/tifffile/trunk/debian/rules	2013-01-20 15:59:43 UTC (rev 12804)
@@ -1,19 +1,20 @@
 #!/usr/bin/make -f
 
-DEB_HOST_ARCH:=$(shell dpkg-architecture -qDEB_HOST_ARCH)
 # As per code source need to handle big endian with:
-ifneq (,$(filter arm mips powerpc ppc64, $(DEB_HOST_ARCH)))
+DEB_HOST_ARCH_ENDIAN:=$(shell dpkg-architecture -qDEB_HOST_ARCH_ENDIAN)
+ifeq ($(ENDIANNESS),big)
 export CFLAGS=-DMSB=0
 endif
 
+
 %:
 	dh $@ --with python2
 
 override_dh_auto_clean:
-	-dh_auto_clean
+	dh_auto_clean
 
 override_dh_install:
-	dh_install tifffile usr/bin
+	#dh_install tifffile usr/bin
 	dh_numpy
 
 override_dh_installman:




More information about the debian-med-commit mailing list