[91735] trunk/dports/sysutils/zeroinstall-injector/Portfile

afb at macports.org afb at macports.org
Mon Apr 9 03:14:58 PDT 2012


Revision: 91735
          https://trac.macports.org/changeset/91735
Author:   afb at macports.org
Date:     2012-04-09 03:14:56 -0700 (Mon, 09 Apr 2012)
Log Message:
-----------
zeroinstall-injector: port upgrade, add test

Modified Paths:
--------------
    trunk/dports/sysutils/zeroinstall-injector/Portfile

Modified: trunk/dports/sysutils/zeroinstall-injector/Portfile
===================================================================
--- trunk/dports/sysutils/zeroinstall-injector/Portfile	2012-04-09 09:22:14 UTC (rev 91734)
+++ trunk/dports/sysutils/zeroinstall-injector/Portfile	2012-04-09 10:14:56 UTC (rev 91735)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name		zeroinstall-injector
-version		1.5
+version		1.6
 platforms	darwin freebsd linux
 categories	sysutils
 license		LGPL
@@ -20,15 +20,16 @@
 master_sites	sourceforge
 master_sites.mirror_subdir	zero-install
 use_bzip2	yes
-checksums	md5 a1e0291183520875704386ddbc22cc5d \
-		sha1 cf4a1ab3a74ac8698e863041e0cc48c47bb4c933 \
-		rmd160 404023429d7d7452d21add419d4ed09b8be3120b
+checksums	md5 82ab824050e3d41105543631f9159e14 \
+		sha1 65435097fe64f6ac3e1821e244759400c00ddc80 \
+		rmd160 556698cdfe31a1584ca121aeef2b25d8c73a533e
 
 depends_lib	port:python26 bin:gpg:gnupg
 depends_run	port:py26-gtk port:py26-xml bin:sudo:sudo
 
 post-patch   {
 	reinplace "s|'man/man1'|'share/man/man1'|" ${worksrcpath}/setup.py
+	reinplace "s|local_0launch,|'${prefix}/bin/python2.6', local_0launch,|" ${worksrcpath}/tests/testrun.py
 }
 
 use_configure	no
@@ -50,5 +51,10 @@
 	            ${destroot}[exec ${prefix}/bin/python2.6 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"]
 }
 
+test.run	yes
+test.cmd	${prefix}/bin/python2.6
+test.dir	${worksrcpath}/tests
+test.target	testall.py
+
 livecheck.name	zero-install
 livecheck.distname	injector
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120409/5f7ff957/attachment.html>


More information about the macports-changes mailing list