[128490] trunk/dports/python/py-xattr/Portfile

khindenburg at macports.org khindenburg at macports.org
Fri Nov 21 21:40:07 PST 2014


Revision: 128490
          https://trac.macports.org/changeset/128490
Author:   khindenburg at macports.org
Date:     2014-11-21 21:40:07 -0800 (Fri, 21 Nov 2014)
Log Message:
-----------
py-xattr: update to 0.7.5; python 27 34; add tests; fix livecheck

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

Modified: trunk/dports/python/py-xattr/Portfile
===================================================================
--- trunk/dports/python/py-xattr/Portfile	2014-11-22 05:38:37 UTC (rev 128489)
+++ trunk/dports/python/py-xattr/Portfile	2014-11-22 05:40:07 UTC (rev 128490)
@@ -5,7 +5,7 @@
 PortGroup           python 1.0
 
 name                py-xattr
-version             0.6.1
+version             0.7.5
 license             {MIT PSF}
 platforms           darwin linux
 maintainers         optusnet.com.au:arsptr openmaintainer
@@ -22,16 +22,21 @@
 homepage            http://undefined.org/python/#xattr
 master_sites        http://pypi.python.org/packages/source/x/xattr/
 distname            xattr-${version}
-checksums           md5 abcc67c93b28edbefcf10d3e6e324f89 \
-                    sha256 7c025768496f3162f79059456c870ab5ef7094c39bb1f138446df44981e18069
 
-python.versions     24 25 26 27
+checksums           rmd160  c2d4a24cb9f14f498311f1e944779688a1dcc0f9 \
+                    sha256  32ceae0a55e8a2f5de35f085397aaaf55ae80dc127fd8613f76d3945ff4bf2b9
 
+python.versions     27 34
+
 if {${name} ne ${subport}} {
     depends_build       port:py${python.version}-setuptools
+
+    test.run            yes
+    test.cmd            ${python.bin} setup.py
+
     livecheck.type      none
 } else {
     livecheck.type      regex
     livecheck.url       http://pypi.python.org/pypi/xattr/
-    livecheck.regex     xattr-(\[0-9.\]+)
+    livecheck.regex     xattr-(\[0-9.\]+)${extract.suffix}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141121/f875c694/attachment-0001.html>


More information about the macports-changes mailing list