[110792] trunk/dports/python/py-cogen/Portfile

stromnov at macports.org stromnov at macports.org
Thu Sep 5 23:38:33 PDT 2013


Revision: 110792
          https://trac.macports.org/changeset/110792
Author:   stromnov at macports.org
Date:     2013-09-05 23:38:33 -0700 (Thu, 05 Sep 2013)
Log Message:
-----------
py-cogen: adjust master_sites and livecheck

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

Modified: trunk/dports/python/py-cogen/Portfile
===================================================================
--- trunk/dports/python/py-cogen/Portfile	2013-09-06 06:34:14 UTC (rev 110791)
+++ trunk/dports/python/py-cogen/Portfile	2013-09-06 06:38:33 UTC (rev 110792)
@@ -6,7 +6,14 @@
 
 name                py-cogen
 version             0.2.1
+revision            0
+categories-append   devel
+platforms           darwin
 license             MIT
+supported_archs     noarch
+
+python.versions     26 27
+
 maintainers         stromnov openmaintainer
 
 description         Library for network oriented, coroutine based programming.
@@ -14,20 +21,21 @@
 long_description    Coroutines and asynchronous I/O using enhanced generators \
                     from python 2.5, including a enhanced WSGI server.
 
-platforms           darwin
-supported_archs     noarch
-
 homepage            http://code.google.com/p/cogen/
-master_sites        googlecode:cogen
+master_sites        http://pypi.python.org/packages/source/c/cogen/
 distname            cogen-${version}
 
 checksums           md5     6c765905e4bc0278d35dd5c0011d032d \
                     sha1    6163a459f3dc007fd6832de12b7d26bcdaea295b \
                     rmd160  3e3a9ce41179e8482f6b7861f6a79f070a6e36f0
 
-python.versions     26
-
 if {$subport != $name} {
     use_zip             yes
     depends_build       port:py${python.version}-setuptools
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     {cogen-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130905/f0677f4d/attachment.html>


More information about the macports-changes mailing list