[31381] trunk/dports/python/py-crypto/Portfile

ram at macports.org ram at macports.org
Wed Nov 21 16:53:12 PST 2007


Revision: 31381
          http://trac.macosforge.org/projects/macports/changeset/31381
Author:   ram at macports.org
Date:     2007-11-21 16:53:11 -0800 (Wed, 21 Nov 2007)

Log Message:
-----------
add livecheck

Modified Paths:
--------------
    trunk/dports/python/py-crypto/Portfile

Modified: trunk/dports/python/py-crypto/Portfile
===================================================================
--- trunk/dports/python/py-crypto/Portfile	2007-11-21 22:46:22 UTC (rev 31380)
+++ trunk/dports/python/py-crypto/Portfile	2007-11-22 00:53:11 UTC (rev 31381)
@@ -17,13 +17,18 @@
 homepage		http://www.amk.ca/python/code/crypto.html
 master_sites	http://www.amk.ca/files/python/crypto/
 distname		pycrypto-${version}
-checksums		md5 4d5674f3898a573691ffb335e8d749cd
+checksums		sha1 c77cdefdfb06e4749690013a9a9e1600ab14e26f
 
-test.run		yes
-test.cmd		${python.bin} test.py
+#test.run		yes
+#test.cmd		${python.bin} test.py
 test.target
 
 post-destroot	{
+	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
 	xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog LICENSE README TODO \
 		${destroot}${prefix}/share/doc/${name}
 }
+
+livecheck.check	regex
+livecheck.url	${homepage}
+livecheck.regex	pycrypto-(\[0-9\.\]+).tar.gz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071121/45cc7c01/attachment-0001.html


More information about the macports-changes mailing list