[88858] trunk/dports/python
phw at macports.org
phw at macports.org
Fri Jan 13 06:47:12 PST 2012
Revision: 88858
http://trac.macports.org/changeset/88858
Author: phw at macports.org
Date: 2012-01-13 06:47:11 -0800 (Fri, 13 Jan 2012)
Log Message:
-----------
py-pyx: generalized and updated py-pyx port; removed now obsolete py25-pyx, py26-pyx and py27-pyx (all included in py-pyx now)
Modified Paths:
--------------
trunk/dports/python/py-pyx/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-pyx/
trunk/dports/python/py26-pyx/
trunk/dports/python/py27-pyx/
Modified: trunk/dports/python/py-pyx/Portfile
===================================================================
--- trunk/dports/python/py-pyx/Portfile 2012-01-13 14:16:18 UTC (rev 88857)
+++ trunk/dports/python/py-pyx/Portfile 2012-01-13 14:47:11 UTC (rev 88858)
@@ -1,14 +1,16 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-pyx
-version 0.10
-revision 1
+version 0.11.1
+python.versions 24 25 26 27
+python.default_version 27
+revision 0
categories python
platforms darwin
-maintainers nomaintainer
+maintainers phw openmaintainer
supported_archs noarch
description PyX is a TeX/LaTeX interface for Python
@@ -19,19 +21,24 @@
publication-ready quality are built out of these \
primitives.
-homepage http://pyx.sourceforge.net
-master_sites sourceforge:pyx
-distname PyX-${version}
-checksums sha1 e8a9219192daff9fd8eb479d5987cbc7e37b0188
+homepage http://pyx.sourceforge.net
+master_sites sourceforge:pyx
+distname PyX-${version}
+checksums sha1 c1849e140d326d528fa5f21068693889392f4ecb
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
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} INSTALL CHANGES README AUTHORS LICENSE \
+ ${destroot}${prefix}/share/doc/py${python.version}-pyx
- # 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
+ file delete -force ${destroot}/etc
+
+ # siteconfig.py is missing from newer versions
+ #
+ # 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
}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120113/b8807316/attachment-0001.html>
More information about the macports-changes
mailing list