[97758] trunk/dports/python

g5pw at macports.org g5pw at macports.org
Fri Sep 14 10:12:13 PDT 2012


Revision: 97758
          http://trac.macports.org//changeset/97758
Author:   g5pw at macports.org
Date:     2012-09-14 10:12:13 -0700 (Fri, 14 Sep 2012)
Log Message:
-----------
python/py-swap:
new port

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

Added: trunk/dports/python/py-swap/Portfile
===================================================================
--- trunk/dports/python/py-swap/Portfile	                        (rev 0)
+++ trunk/dports/python/py-swap/Portfile	2012-09-14 17:12:13 UTC (rev 97758)
@@ -0,0 +1,40 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           python 1.0
+
+name                py-swap
+version             0.1.2
+categories          python devel
+platforms           darwin
+maintainers         g5pw openmaintainer
+description         A Python library to communicate with SWAP networks through a panStamp.
+long_description    ${description}
+
+homepage            http://www.panstamp.com/
+
+fetch.type          svn
+svn.url             http://panstamp.googlecode.com/svn/trunk/python/pyswap
+svn.revision        714
+
+python.versions     24 25 26 27 31 32
+
+if {$subport != $name} {
+
+    depends_lib	    port:py${python.version}-serial
+    
+    worksrcdir      pyswap/src
+    
+    post-destroot   {
+        file mkdir ${destroot}${prefix}/share/doc/${subport}/html
+        eval copy [glob ${worksrcpath}/../doc/*] ${destroot}${prefix}/share/doc/${subport}/html
+        xinstall -m 644 -W ${worksrcpath} readme.py ${destroot}${prefix}/share/doc/${subport}
+    }
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   ${homepage}download.shtml
+    livecheck.regex {<a href=".*/ftp/pygame\-([0-9\.]+)release\.tar\.gz">}
+}


Property changes on: trunk/dports/python/py-swap/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/20120914/04970228/attachment.html>


More information about the macports-changes mailing list