[119031] trunk/dports/python/py-rdflib/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Tue Apr 15 10:36:59 PDT 2014


Revision: 119031
          https://trac.macports.org/changeset/119031
Author:   macsforever2000 at macports.org
Date:     2014-04-15 10:36:59 -0700 (Tue, 15 Apr 2014)
Log Message:
-----------
py-rdflib: Update to version 4.1.1. Removed support for py24 which is no longer supported upstream. Added py32 and py33 sub-ports. (#39642)

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

Modified: trunk/dports/python/py-rdflib/Portfile
===================================================================
--- trunk/dports/python/py-rdflib/Portfile	2014-04-15 17:34:57 UTC (rev 119030)
+++ trunk/dports/python/py-rdflib/Portfile	2014-04-15 17:36:59 UTC (rev 119031)
@@ -2,9 +2,11 @@
 
 PortSystem 1.0
 PortGroup python 1.0
+PortGroup github 1.0
 
+github.setup    RDFLib rdflib 4.1.1
 name			py-rdflib
-version			2.4.2
+
 categories-append	textproc
 license			BSD
 platforms		darwin
@@ -18,25 +20,28 @@
 				ZODB BTree).
 
 homepage		http://code.google.com/p/rdflib/
-master_sites		http://rdflib.googlecode.com/files/
 distname		rdflib-${version}
-checksums		md5    921390cacfebf97384bd5ac33c38d327 \
-				sha1   95d72c3db0b2c6b71048aa7ab36f6a7da35a2aee \
-				rmd160 2f6d93cc0eaef3d6d3c32fc85039faea78438c49
 
-python.versions	24 25 26
+checksums           md5     8fed08d5eba84334da9834bf8491b122 \
+                    rmd160  af030ab3b1405fa3b46098107a2c5561c80f8b1d \
+                    sha256  54b17ab073daefd02a7173d85cb7ea915010d05a1fb2351956e1ccca644228c1
 
+python.versions	25 26 27 32 33
+
 if {${name} ne ${subport}} {
     depends_lib-append	port:py${python.version}-setuptools
 
+    depends_run-append  port:py${python.version}-isodate \
+                        port:py${python.version}-html5lib
+
     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 \
+        xinstall -m 644 -W ${worksrcpath} CHANGELOG.md LICENSE \
+            README.md ${destroot}${prefix}/share/doc/${subport}
+        eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
             ${destroot}${prefix}/share/doc/${subport}/examples
     }
     livecheck.type	none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140415/b468f073/attachment.html>


More information about the macports-changes mailing list