[87742] trunk/dports/python/py-xlib/Portfile

pixilla at macports.org pixilla at macports.org
Sat Dec 3 10:40:54 PST 2011


Revision: 87742
          http://trac.macports.org/changeset/87742
Author:   pixilla at macports.org
Date:     2011-12-03 10:40:50 -0800 (Sat, 03 Dec 2011)
Log Message:
-----------
python/py-xlib:
- Switch to python 1.0 portgroup.
- Add python 24, 25, 26 and 27 subports.
- Update version to 0.14.

Modified Paths:
--------------
    trunk/dports/python/py-xlib/Portfile

Modified: trunk/dports/python/py-xlib/Portfile
===================================================================
--- trunk/dports/python/py-xlib/Portfile	2011-12-03 17:00:43 UTC (rev 87741)
+++ trunk/dports/python/py-xlib/Portfile	2011-12-03 18:40:50 UTC (rev 87742)
@@ -1,32 +1,40 @@
+# -*- 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 python24 1.0
+PortSystem          1.0
+PortGroup           python 1.0
 
-name			py-xlib
-version			0.12
-revision		1
-categories		python x11
-platforms		darwin
-maintainers		nomaintainer
-description		python module for the X protocol
-long_description	The Python X Library is intended to be a fully \
-				functional X client library for Python programs. It is \
-				written entirely in Python. This is possible to do \
-				since X client programs communicate with the X server \
-				via the X protocol. The communication takes place over \
-				TCP/IP, Unix sockets, DECnet or any other suitable \
-				streaming network protocol.
+name                py-xlib
+version             0.14
+categories-append   x11
+platforms           darwin
+maintainers         nomaintainer
+description         python module for the X protocol
+long_description    The Python X Library is intended to be a fully \
+                    functional X client library for Python programs. It is \
+                    written entirely in Python. This is possible to do \
+                    since X client programs communicate with the X server \
+                    via the X protocol. The communication takes place over \
+                    TCP/IP, Unix sockets, DECnet or any other suitable \
+                    streaming network protocol.
 
-homepage		http://python-xlib.sourceforge.net/
-master_sites	sourceforge:python-xlib
-distname		python-xlib-${version}
-checksums		md5 83b294f34876c06b1a7697227249cb83
+homepage            http://python-xlib.sourceforge.net/
+master_sites        sourceforge:python-xlib
+distname            python-xlib-${version}
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} COPYING NEWS README TODO \
-		${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath}/examples draw-proto.py draw.py \
-		profilex.py shapewin.py threadtest.py \
-		${destroot}${prefix}/share/doc/${name}/examples
+checksums           rmd160  be5610035fb1aee36a55e3e276582e3e31ba1cfc \
+                    sha256  4771b0b6a605e0197ece5432fa601c61df724b32544239f463a867200f2160eb
+
+python.versions     24 25 26 27
+python.default_version 27
+
+
+post-destroot {
+    if {$subport != $name} {
+        xinstall -m 644 -W ${worksrcpath} \
+            COPYING NEWS README TODO \
+            ${destroot}${prefix}/share/doc/${subport}
+        eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
+           ${destroot}${prefix}/share/doc/${subport}/examples
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111203/7c3f2309/attachment.html>


More information about the macports-changes mailing list