[113960] trunk/dports/python/py-gevent/Portfile

stromnov at macports.org stromnov at macports.org
Tue Nov 26 11:09:42 PST 2013


Revision: 113960
          https://trac.macports.org/changeset/113960
Author:   stromnov at macports.org
Date:     2013-11-26 11:09:42 -0800 (Tue, 26 Nov 2013)
Log Message:
-----------
py-gevent: update to version 1.0

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

Modified: trunk/dports/python/py-gevent/Portfile
===================================================================
--- trunk/dports/python/py-gevent/Portfile	2013-11-26 18:58:46 UTC (rev 113959)
+++ trunk/dports/python/py-gevent/Portfile	2013-11-26 19:09:42 UTC (rev 113960)
@@ -5,13 +5,15 @@
 PortGroup           python 1.0
 
 name                py-gevent
-version             0.13.8
+version             1.0
 revision            0
 categories-append   devel
+platforms           darwin
 license             MIT
-platforms           darwin
 supported_archs     i386 x86_64
 
+python.versions     26 27
+
 maintainers         stromnov openmaintainer
 
 description         Coroutine-based Python networking library.
@@ -25,18 +27,25 @@
 
 distname            gevent-${version}
 
-checksums           rmd160  7ef398448755c717d21a3b019a9b4aa77c33737d \
-                    sha256  54b8d26300ce408c0916a3e63ef6cd3e6aca76230833558deb7de15196ed955e
+checksums           rmd160  c42b7d6faac1f7709e93ebbfade39ba7eb48afb4 \
+                    sha256  bfa9d846db91a7d8b6a36e87353eed641c7e3e7d0bfa0b9975796d227f2db4eb
 
-python.default_version  27
-python.versions     26 27
+if {$subport != $name} {
+    depends_build-append \
+                        port:py${python.version}-setuptools
+    depends_lib-append  port:libev \
+                        port:c-ares \
+                        port:py${python.version}-greenlet
 
-if {$subport != $name} {
-    depends_lib-append      port:libevent \
-                            port:py${python.version}-greenlet
-    build.args-append       -I${prefix}/include -L${prefix}/lib
+    build.env-append    LIBEV_EMBED=0 \
+                        CARES_EMBED=0
+
+    destroot.env-append LIBEV_EMBED=0 \
+                        CARES_EMBED=0
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     {gevent-(\d+(?:\.\d+)*)\.[tz]}
 }
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "gevent-(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131126/f3688651/attachment.html>


More information about the macports-changes mailing list