[med-svn] r8574 - trunk/packages/tifffile/trunk/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Wed Nov 16 08:38:07 UTC 2011


Author: malat-guest
Date: 2011-11-16 08:38:07 +0000 (Wed, 16 Nov 2011)
New Revision: 8574

Modified:
   trunk/packages/tifffile/trunk/debian/get-orig-source
Log:
compute the actual version

Modified: trunk/packages/tifffile/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/tifffile/trunk/debian/get-orig-source	2011-11-15 17:27:09 UTC (rev 8573)
+++ trunk/packages/tifffile/trunk/debian/get-orig-source	2011-11-16 08:38:07 UTC (rev 8574)
@@ -28,6 +28,9 @@
 links -dump tifffile.c.html > tifffile.c
 sed -i -e 's/^ //g' tifffile.c
 rm *.html
+
+# compute version:
+PYVERSION=`python tifffile.py --version | sed -n -e 's/^tifffile.py \(.*\)$/\1/p' | sed -e 's/\.//g'`
 cd ..
 
 GZIP="--best --no-name" tar czf ${TARFILE} ${FOLDER}




More information about the debian-med-commit mailing list