Author: malat
Date: 2013-01-20 16:16:00 +0000 (Sun, 20 Jan 2013)
New Revision: 12805

Added:
   trunk/packages/tifffile/trunk/debian/tifffile.sh
Modified:
   trunk/packages/tifffile/trunk/debian/control
   trunk/packages/tifffile/trunk/debian/get-orig-source
   trunk/packages/tifffile/trunk/debian/rules
Log:
split package into bin and lib

Modified: trunk/packages/tifffile/trunk/debian/control
===================================================================
--- trunk/packages/tifffile/trunk/debian/control        2013-01-20 15:59:43 UTC 
(rev 12804)
+++ trunk/packages/tifffile/trunk/debian/control        2013-01-20 16:16:00 UTC 
(rev 12805)
@@ -4,14 +4,15 @@
 Maintainer: Debian Med Packaging Team 
<[email protected]>
 Uploaders: Mathieu Malaterre <[email protected]>
 Build-Depends: debhelper (>= 8), python-all-dev (>= 2.6.6-3~), python-numpy 
(>= 1.6.2)
-Standards-Version: 3.9.3
+X-Python-Version: >= 2.6
+Standards-Version: 3.9.4
 Homepage: http://www.lfd.uci.edu/~gohlke/
 Vcs-Browser: 
http://anonscm.debian.org/viewvc/debian-med/trunk/packages/tifffile/trunk/
 Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/tifffile/trunk/
 
 Package: tifffile
 Architecture: any
-Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, python-tk
+Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, python-tk, 
python-importlib
 Recommends: python-matplotlib (>= 1.2)
 Provides: ${python:Provides}
 Description: read image and metadata from TIFF, STK, LSM, OME-TIFF and 
FluoView files

Modified: trunk/packages/tifffile/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/tifffile/trunk/debian/get-orig-source        2013-01-20 
15:59:43 UTC (rev 12804)
+++ trunk/packages/tifffile/trunk/debian/get-orig-source        2013-01-20 
16:16:00 UTC (rev 12805)
@@ -34,7 +34,7 @@
 rm *.html
 
 # compute version:
-PYVERSION=`grep "^:Version:" tifffile | cut -d' ' -f2 | sed -e 's/\.//g'`
+PYVERSION=`grep "^:Version:" tifffile.py | cut -d' ' -f2 | sed -e 's/\.//g'`
 if [ "$PYVERSION" != "$VERSION" ]; then
   echo "$PYVERSION and $VERSION are not compatible"
   exit 1

Modified: trunk/packages/tifffile/trunk/debian/rules
===================================================================
--- trunk/packages/tifffile/trunk/debian/rules  2013-01-20 15:59:43 UTC (rev 
12804)
+++ trunk/packages/tifffile/trunk/debian/rules  2013-01-20 16:16:00 UTC (rev 
12805)
@@ -14,8 +14,8 @@
        dh_auto_clean
 
 override_dh_install:
-       #dh_install tifffile usr/bin
        dh_numpy
+       install -D -m0755 $(CURDIR)/debian/tifffile.sh 
$(CURDIR)/debian/tifffile/usr/bin/tifffile
 
 override_dh_installman:
        dh_installman debian/tifffile.1

Added: trunk/packages/tifffile/trunk/debian/tifffile.sh
===================================================================
--- trunk/packages/tifffile/trunk/debian/tifffile.sh                            
(rev 0)
+++ trunk/packages/tifffile/trunk/debian/tifffile.sh    2013-01-20 16:16:00 UTC 
(rev 12805)
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import tifffile
+
+if __name__ == "__main__":
+    sys.exit(main())


Property changes on: trunk/packages/tifffile/trunk/debian/tifffile.sh
___________________________________________________________________
Added: svn:executable
   + *


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to