[101315] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Jan 8 10:38:49 PST 2013


Revision: 101315
          https://trac.macports.org/changeset/101315
Author:   jmr at macports.org
Date:     2013-01-08 10:38:49 -0800 (Tue, 08 Jan 2013)
Log Message:
-----------
py*-rdflib: unify, license

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

Removed Paths:
-------------
    trunk/dports/python/py25-rdflib/
    trunk/dports/python/py26-rdflib/

Modified: trunk/dports/python/py-rdflib/Portfile
===================================================================
--- trunk/dports/python/py-rdflib/Portfile	2013-01-08 17:48:28 UTC (rev 101314)
+++ trunk/dports/python/py-rdflib/Portfile	2013-01-08 18:38:49 UTC (rev 101315)
@@ -1,13 +1,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-rdflib
-version			2.4.0
+version			2.4.2
 categories		python textproc
+license			BSD
 platforms		darwin
-maintainers		eikeon.com:eikeon openmaintainer
+maintainers		mnick eikeon.com:eikeon openmaintainer
 description		Python library for working with RDF
 long_description	RDFLib is a Python library for working with RDF, a \
 				simple yet powerful language for representing \
@@ -19,18 +20,27 @@
 homepage		http://rdflib.net/
 master_sites	${homepage}
 distname		rdflib-${version}
-checksums		md5     ce7c73ffd2fe8a4a527143168bc91058 \
-				sha1    89e47b38ddd6c3386db21cc4f433762287e334e2 \
-				rmd160  0d0ce273d11fc4fc06313c76691186f2be1588a2
-depends_lib-append	port:py24-distribute
+checksums		md5    921390cacfebf97384bd5ac33c38d327 \
+				sha1   95d72c3db0b2c6b71048aa7ab36f6a7da35a2aee \
+				rmd160 2f6d93cc0eaef3d6d3c32fc85039faea78438c49
 
-test.run		yes
-test.cmd		${python.bin} run_tests.py
-test.target
+python.versions	24 25 26
 
-post-destroot {
-	xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE \
-		README ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 ${worksrcpath}/examples/example.py \
-		${destroot}${prefix}/share/doc/${name}/examples
+if {$subport != $name} {
+    depends_lib-append	port:py${python.version}-distribute
+
+    test.run		yes
+    test.cmd		${python.bin} run_tests.py
+    test.target
+
+    post-destroot {
+        xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE \
+            README ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 ${worksrcpath}/examples/example.py \
+            ${destroot}${prefix}/share/doc/${subport}/examples
+    }
+    livecheck.type	none
+} else {
+    livecheck.type regex
+    livecheck.regex <p>Get the latest vere?sion <a href=\"http://rdflib.net/rdflib-(.*).tar.gz\">
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130108/caf9da27/attachment.html>


More information about the macports-changes mailing list