[106967] trunk/dports/python/py-memcached/Portfile

snc at macports.org snc at macports.org
Wed Jun 12 11:17:46 PDT 2013


Revision: 106967
          https://trac.macports.org/changeset/106967
Author:   snc at macports.org
Date:     2013-06-12 11:17:46 -0700 (Wed, 12 Jun 2013)
Log Message:
-----------
py2X-memcached: update to 1.53
py3X-memcached: add new port

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

Modified: trunk/dports/python/py-memcached/Portfile
===================================================================
--- trunk/dports/python/py-memcached/Portfile	2013-06-12 18:05:17 UTC (rev 106966)
+++ trunk/dports/python/py-memcached/Portfile	2013-06-12 18:17:46 UTC (rev 106967)
@@ -5,8 +5,8 @@
 PortGroup         python 1.0
 
 name              py-memcached
-version           1.51
-python.versions     25 26 27
+version           1.53
+python.versions     25 26 27 31 32 33
 python.default_version 27
 categories-append devel net
 platforms         darwin
@@ -23,10 +23,19 @@
 master_sites      ftp://ftp.tummy.com/pub/python-memcached/old-releases/
 
 if {${name} != ${subport}} {
-    checksums           rmd160  18f7dce9b25ae5d2139ed850b777dda5acf6c9fe \
-                        sha256  228563f1aa221f73b43509877322fde8a0efa4b65e9d065237b26f682a4a9a88
+    if {${python.version} > 27} {
+        version 1.51
+        master_sites        https://pypi.python.org/packages/source/p/python3-memcached/
+        checksums           rmd160  b332ed7423eaa5fde3cf01a16584585622acd93e \
+                            sha256  7cbe5951d68eef69d948b7a7ed7decfbd101e15e7f5be007dcd1219ccc584859
 
-    distname          python-memcached-${version}
+        distname          python3-memcached-${version}
+    } else {
+        checksums           rmd160  d353c699267c6f206606f70a812436eceaf8fe5b \
+                            sha256  af04ea031b271a54f085166773e028fe053fc1d9a58cd8b3c3a57945990bfb48
+
+        distname          python-memcached-${version}
+    }
     depends_build     port:py${python.version}-setuptools
     livecheck.type      none
 } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130612/b088999d/attachment.html>


More information about the macports-changes mailing list