[104061] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Thu Mar 14 05:07:08 PDT 2013


Revision: 104061
          https://trac.macports.org/changeset/104061
Author:   stromnov at macports.org
Date:     2013-03-14 05:07:08 -0700 (Thu, 14 Mar 2013)
Log Message:
-----------
py-cffi: new port

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

Added: trunk/dports/python/py-cffi/Portfile
===================================================================
--- trunk/dports/python/py-cffi/Portfile	                        (rev 0)
+++ trunk/dports/python/py-cffi/Portfile	2013-03-14 12:07:08 UTC (rev 104061)
@@ -0,0 +1,43 @@
+# -*- 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
+
+name                py-cffi
+version             0.5
+revision            0
+categories-append   devel
+platforms           darwin
+license             MIT
+
+python.versions     26 27 32 33
+
+maintainers         stromnov openmaintainer
+
+description         Foreign Function Interface for Python calling C code.
+
+long_description    Foreign Function Interface for Python calling C code. \
+                    The aim of this project is to provide a convenient and \
+                    reliable way of calling C code from Python.
+
+homepage            http://cffi.readthedocs.org/
+master_sites        http://pypi.python.org/packages/source/c/cffi/
+
+distname            cffi-${version}
+
+checksums           rmd160  09acbb10d18b7492b6f1f0e6802372cf89ea13e9 \
+                    sha256  773695ffc930e9c9d26210c87248e7945241343d059a0a261ac3c36abc36b13a
+
+if {$subport != $name} {
+    depends_lib-append  port:py${python.version}-distribute \
+                        port:libffi
+
+    depends_run-append  port:py${python.version}-pycparser
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "cffi-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+}


Property changes on: trunk/dports/python/py-cffi/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/20130314/73cf6f57/attachment.html>


More information about the macports-changes mailing list