[125405] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Sep 16 16:48:55 PDT 2014


Revision: 125405
          https://trac.macports.org/changeset/125405
Author:   jmr at macports.org
Date:     2014-09-16 16:48:55 -0700 (Tue, 16 Sep 2014)
Log Message:
-----------
py26-recaptcha-client: use unified python portgroup, mark noarch

Modified Paths:
--------------
    trunk/dports/python/py-recaptcha-client/Portfile

Added Paths:
-----------
    trunk/dports/python/py-recaptcha-client/

Removed Paths:
-------------
    trunk/dports/python/py26-recaptcha-client/

Modified: trunk/dports/python/py-recaptcha-client/Portfile
===================================================================
--- trunk/dports/python/py26-recaptcha-client/Portfile	2014-09-15 12:59:18 UTC (rev 125376)
+++ trunk/dports/python/py-recaptcha-client/Portfile	2014-09-16 23:48:55 UTC (rev 125405)
@@ -1,26 +1,32 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python26 1.0
+PortGroup               python 1.0
 
-name                    py26-recaptcha-client
+name                    py-recaptcha-client
 version                 1.0.6
 maintainers             nomaintainer
 platforms               darwin
+supported_archs         noarch
 
 description             Provides a CAPTCHA for Python using the reCAPTCHA \
                         service.
 long_description        ${description}
 license                 MIT
-homepage                http://pypi.python.org/pypi/recaptcha-client/
+homepage                https://pypi.python.org/pypi/recaptcha-client/
 
-livecheck.regex         {>recaptcha-client (.+) :}
-livecheck.type          regex
-livecheck.url           ${homepage}
+distname                recaptcha-client-${version}
+master_sites            https://pypi.python.org/packages/source/r/recaptcha-client/
 
-depends_build-append    port:py26-setuptools
+checksums               rmd160 7dffe66b7fd37f5be2a7d7b2bf24c3978f46c8e9
 
-distname                recaptcha-client-${version}
-master_sites            http://pypi.python.org/packages/source/r/recaptcha-client/
+python.versions         26
 
-checksums               rmd160 7dffe66b7fd37f5be2a7d7b2bf24c3978f46c8e9
+if {$subport ne $name} {
+    depends_build-append    port:py${python.version}-setuptools
+    livecheck.type          none
+} else {
+    livecheck.regex         {>recaptcha-client (.+) :}
+    livecheck.type          regex
+    livecheck.url           ${homepage}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140916/b80e2ecf/attachment.html>


More information about the macports-changes mailing list