[107697] trunk/dports/python
jmr at macports.org
jmr at macports.org
Thu Jul 4 05:40:47 PDT 2013
Revision: 107697
https://trac.macports.org/changeset/107697
Author: jmr at macports.org
Date: 2013-07-04 05:40:47 -0700 (Thu, 04 Jul 2013)
Log Message:
-----------
py*-ode: unify
Modified Paths:
--------------
trunk/dports/python/py-ode/Portfile
Added Paths:
-----------
trunk/dports/python/py-ode/
Removed Paths:
-------------
trunk/dports/python/py25-ode/
trunk/dports/python/py26-ode/
Modified: trunk/dports/python/py-ode/Portfile
===================================================================
--- trunk/dports/python/py26-ode/Portfile 2013-07-04 08:05:44 UTC (rev 107681)
+++ trunk/dports/python/py-ode/Portfile 2013-07-04 12:40:47 UTC (rev 107697)
@@ -1,11 +1,10 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-ode
+name py-ode
version 1.2.0
-categories python
maintainers jameskyle
description Python bindings for The Open Dynamics Engine
long_description ${description}.
@@ -18,10 +17,13 @@
sha1 381627b3ab36840fbdd178e53d53d221f1017699 \
rmd160 1d158b3484e6bcb1f83f18be979d40ecdf1cae36
+python.versions 25 26
-depends_lib-append port:ode
+if {$subport ne $name} {
+ depends_lib-append port:ode
-patchfiles patch-setup-py.diff
-post-patch {
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+ patchfiles patch-setup-py.diff
+ post-patch {
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130704/a09c6703/attachment.html>
More information about the macports-changes
mailing list