[153359] trunk/dports/python/py-twilio/Portfile
aronnax at macports.org
aronnax at macports.org
Thu Sep 29 06:44:26 PDT 2016
Revision: 153359
https://trac.macports.org/changeset/153359
Author: aronnax at macports.org
Date: 2016-09-29 06:44:26 -0700 (Thu, 29 Sep 2016)
Log Message:
-----------
py-twilio: update to 5.6.0
Modified Paths:
--------------
trunk/dports/python/py-twilio/Portfile
Modified: trunk/dports/python/py-twilio/Portfile
===================================================================
--- trunk/dports/python/py-twilio/Portfile 2016-09-29 13:05:48 UTC (rev 153358)
+++ trunk/dports/python/py-twilio/Portfile 2016-09-29 13:44:26 UTC (rev 153359)
@@ -3,11 +3,11 @@
PortSystem 1.0
PortGroup python 1.0
+PortGroup github 1.0
-set realname twilio
-name py-${realname}
-categories python devel net
-version 5.4.0
+github.setup twilio twilio-python 5.6.0
+name py-twilio
+categories-append devel net
python.versions 27 34 35
license MIT
platforms darwin
@@ -15,19 +15,12 @@
maintainers aronnax openmaintainer
description Twilio API client and TwiML generator
long_description ${description}
-homepage http://pypi.python.org/pypi/${realname}/
-master_sites pypi:[string index ${realname} 0]/${realname}/
-distname ${realname}-${version}
+homepage https://www.twilio.com/docs/libraries/python
-checksums md5 25dec2240f562957e5835b685e61206c \
- rmd160 1049247d99083206430efadb8b8eec21437c6c1b \
- sha256 d856d821f151e0d71e3b1d799e8577efa7807b0f44b68ee0563ae9d914e43986
+checksums rmd160 684e99b7871c1828347f831aac6a841d19cd13d4 \
+ sha256 39b581b654d865c7b5d142df6deb0456cbe24f33cc883bd7370b4377e21bfd73
-if {${name} eq ${subport}} {
- livecheck.type regex
- livecheck.regex [format "%s-%s" ${realname} {(\d+(?:\.\d+)*)}]
-
-} else {
+if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-httplib2 \
port:py${python.version}-six \
@@ -36,11 +29,6 @@
depends_build-append \
port:py${python.version}-setuptools
- if {${python.version} == 25} {
- depends_lib-append \
- port:py${python.version}-simplejson
- }
-
if {${python.version} >= 30} {
depends_lib-append \
port:py${python.version}-socks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160929/5885818d/attachment-0001.html>
More information about the macports-changes
mailing list