[100892] trunk/dports/python/py-svnreporter/Portfile

jmr at macports.org jmr at macports.org
Sun Dec 30 22:41:39 PST 2012


Revision: 100892
          https://trac.macports.org/changeset/100892
Author:   jmr at macports.org
Date:     2012-12-30 22:41:39 -0800 (Sun, 30 Dec 2012)
Log Message:
-----------
py-svnreporter: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-svnreporter/Portfile
===================================================================
--- trunk/dports/python/py-svnreporter/Portfile	2012-12-31 06:34:35 UTC (rev 100891)
+++ trunk/dports/python/py-svnreporter/Portfile	2012-12-31 06:41:39 UTC (rev 100892)
@@ -1,12 +1,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name				py-svnreporter
 version				0.4
 categories			python devel
+license				GPL-2
 platforms			darwin
+supported_archs		noarch
 maintainers			nomaintainer
 description			Svn commit hook to generate reports
 long_description	SvnReporter generates various reports in response to \
@@ -20,7 +22,12 @@
 					sha1 d024cd910b9ba7f937c4b212460261ff803465d5 \
 					rmd160 ba0610347c93ab61f161a0088559ec32cc6affbd
 
-depends_lib-append	port:subversion-python24bindings
+python.versions		24
 
-livecheck.type	regex
-livecheck.regex {<tr><th>Download:</th><td><a href="http://www.calins.ch/download/SvnReporter/SvnReporter-(.*).tar.gz">http://www.calins.ch/download/SvnReporter/SvnReporter-\1.tar.gz</a></td></tr>}
+if {$subport != $name} {
+    depends_lib-append	port:subversion-python${python.version}bindings
+    livecheck.type	none
+} else {
+    livecheck.type	regex
+    livecheck.regex {<tr><th>Download:</th><td><a href="http://www.calins.ch/download/SvnReporter/SvnReporter-(.*).tar.gz">http://www.calins.ch/download/SvnReporter/SvnReporter-\1.tar.gz</a></td></tr>}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121230/476da859/attachment.html>


More information about the macports-changes mailing list