[107076] trunk/dports/python

aronnax at macports.org aronnax at macports.org
Mon Jun 17 13:42:06 PDT 2013


Revision: 107076
          https://trac.macports.org/changeset/107076
Author:   aronnax at macports.org
Date:     2013-06-17 13:42:06 -0700 (Mon, 17 Jun 2013)
Log Message:
-----------
py-twilio: new port, Twilio API client and TwiML generator

Added Paths:
-----------
    trunk/dports/python/py-twilio/
    trunk/dports/python/py-twilio/Portfile

Added: trunk/dports/python/py-twilio/Portfile
===================================================================
--- trunk/dports/python/py-twilio/Portfile	                        (rev 0)
+++ trunk/dports/python/py-twilio/Portfile	2013-06-17 20:42:06 UTC (rev 107076)
@@ -0,0 +1,41 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+
+set realname        twilio
+name                py-${realname}
+version             3.5.1
+python.versions     25 26 27 32
+license             MIT
+platforms           darwin
+supported_archs     noarch
+maintainers         aronnax openmaintainer
+description         Twilio API client and TwiML generator
+long_description    ${description}
+homepage            http://pypi.python.org/pypi/${realname}/
+master_sites        http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}/
+distname            ${realname}-${version}
+
+checksums           md5     a33890f8b1527af9cd0d2018949934ea
+
+if {${subport} == ${name}} {
+    livecheck.type  regex
+    livecheck.regex [format "%s-%s" ${realname} {(\d+(?:\.\d+)*)}]
+    
+} else {
+    depends_lib-append \
+                    port:py${python.version}-six \
+                    port:py${python.version}-httplib2
+
+    depends_build-append \
+                    port:py${python.version}-setuptools
+
+    if {${python.version} == 25} {
+        depends_lib-append \
+                    port:py${python.version}-simplejson
+    }
+
+    livecheck.type  none
+}


Property changes on: trunk/dports/python/py-twilio/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130617/1ea5d97b/attachment.html>


More information about the macports-changes mailing list