[96172] trunk/dports/python
lightnin at macports.org
lightnin at macports.org
Thu Aug 2 02:14:19 PDT 2012
Revision: 96172
https://trac.macports.org/changeset/96172
Author: lightnin at macports.org
Date: 2012-08-02 02:14:17 -0700 (Thu, 02 Aug 2012)
Log Message:
-----------
py*-pybtex unified into python PortGroup.
Modified Paths:
--------------
trunk/dports/python/py-pybtex/Portfile
Added Paths:
-----------
trunk/dports/python/py-pybtex/
Removed Paths:
-------------
trunk/dports/python/py25-pybtex/
trunk/dports/python/py26-pybtex/
trunk/dports/python/py27-pybtex/
Modified: trunk/dports/python/py-pybtex/Portfile
===================================================================
--- trunk/dports/python/py25-pybtex/Portfile 2012-08-02 07:17:31 UTC (rev 96165)
+++ trunk/dports/python/py-pybtex/Portfile 2012-08-02 09:14:17 UTC (rev 96172)
@@ -2,15 +2,17 @@
# $Id$
PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python 1.0
-name py25-pybtex
+name py-pybtex
license MIT
epoch 1
version 0.16
categories python textproc
platforms darwin
maintainers lightnin openmaintainer
+supported_archs noarch
+
description A BibTeX-compatible bibliography processor in Python.
long_description Pybtex reads citation information from a file and \
produces a formatted bibliography. BibTeX style files \
@@ -26,11 +28,27 @@
use_bzip2 yes
-depends_lib port:py25-elementtree \
- port:py25-parsing \
- port:py25-distribute \
- port:py25-yaml
+python.versions 25 26 27
+python.default_version 27
-test.run yes
-test.cmd ${python.bin} setup.py
-test.env PYTHONPATH=${worksrcpath}/build/lib
+if {${subport} != ${name}} {
+ depends_lib port:py${python.version}-elementtree \
+ port:py${python.version}-parsing \
+ port:py${python.version}-distribute \
+ port:py${python.version}-yaml
+
+ test.run yes
+ test.cmd ${python.bin} setup.py
+ test.env PYTHONPATH=${worksrcpath}/build/lib
+
+ post-destroot {
+ set docdir ${prefix}/share/doc/${subport}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ CHANGES \
+ COPYING \
+ PKG-INFO \
+ README \
+ ${destroot}${docdir}
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120802/47965728/attachment.html>
More information about the macports-changes
mailing list