[28856] trunk/dports/sysutils/createrepo/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Sep 10 02:13:08 PDT 2007
Revision: 28856
http://trac.macosforge.org/projects/macports/changeset/28856
Author: afb at macports.org
Date: 2007-09-10 02:13:07 -0700 (Mon, 10 Sep 2007)
Log Message:
-----------
add test/livecheck actions
Modified Paths:
--------------
trunk/dports/sysutils/createrepo/Portfile
Modified: trunk/dports/sysutils/createrepo/Portfile
===================================================================
--- trunk/dports/sysutils/createrepo/Portfile 2007-09-10 09:04:20 UTC (rev 28855)
+++ trunk/dports/sysutils/createrepo/Portfile 2007-09-10 09:13:07 UTC (rev 28856)
@@ -21,6 +21,8 @@
patch-dumpMetadata.py patch-genpkgmetadata.py patch-readMetadata.py
depends_run port:python24 port:rpm port:py-yum-metadata-parser
+# this should be depends_test:
+depends_build port:py-checker
post-patch {
reinplace "s|__PREFIX__|${prefix}|g" \
@@ -34,3 +36,11 @@
build.args prefix=${prefix}
destroot.args prefix=${prefix} INSTALL="/usr/bin/install -p" INSTALL_MODULES="/usr/bin/install -m 755"
+
+test.run yes
+test.target check
+
+livecheck.check regex
+# get the last modified tarball
+livecheck.url ${master_sites}?C=M\;O=D
+livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070910/e477dc93/attachment.html
More information about the macports-changes
mailing list