[53786] trunk/dports/python

stechert at macports.org stechert at macports.org
Mon Jul 13 16:35:15 PDT 2009


Revision: 53786
          http://trac.macports.org/changeset/53786
Author:   stechert at macports.org
Date:     2009-07-13 16:35:14 -0700 (Mon, 13 Jul 2009)
Log Message:
-----------
Adding a python 2.6 version of pyx.

Added Paths:
-----------
    trunk/dports/python/py26-pyx/
    trunk/dports/python/py26-pyx/Portfile

Added: trunk/dports/python/py26-pyx/Portfile
===================================================================
--- trunk/dports/python/py26-pyx/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-pyx/Portfile	2009-07-13 23:35:14 UTC (rev 53786)
@@ -0,0 +1,38 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id: Portfile 51955 2009-06-07 10:04:10Z arthurk at macports.org $
+
+PortSystem 1.0
+PortGroup python26 1.0
+
+name			py26-pyx
+version			0.10
+categories		python
+platforms		darwin
+maintainers		stechert
+description		PyX is a TeX/LaTeX interface for Python
+long_description	PyX is a Python package for the creation of \
+			    encapsulated PostScript figures. It provides both an \
+			    abstraction of PostScript and a TeX/LaTeX interface. \
+			    Complex tasks like 2d and 3d plots in \
+			    publication-ready quality are built out of these \
+			    primitives.
+
+homepage		http://pyx.sourceforge.net
+master_sites		sourceforge:pyx
+distname		PyX-${version}
+checksums		sha1 e8a9219192daff9fd8eb479d5987cbc7e37b0188
+
+depends_lib-append	bin:tex:texlive
+
+post-destroot {
+	xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGES INSTALL LICENSE \
+		README ${destroot}${prefix}/share/doc/${name}
+	file delete -force ${destroot}/etc
+
+	# fix the paths that were calculated
+	reinplace "s|${destroot}||g" ${destroot}${python.pkgd}/pyx/siteconfig.py
+	reinplace "s|/etc|${prefix}/etc|g" ${destroot}${python.pkgd}/pyx/siteconfig.py
+}
+
+livecheck.check  sourceforge
+livecheck.name pyx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090713/cb61acc6/attachment.html>


More information about the macports-changes mailing list