[106376] trunk/dports/python
jmr at macports.org
jmr at macports.org
Thu May 23 17:44:29 PDT 2013
Revision: 106376
https://trac.macports.org/changeset/106376
Author: jmr at macports.org
Date: 2013-05-23 17:44:29 -0700 (Thu, 23 May 2013)
Log Message:
-----------
py*-logilab-constraint: unify, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-logilab-constraint/Portfile
Added Paths:
-----------
trunk/dports/python/py-logilab-constraint/
Removed Paths:
-------------
trunk/dports/python/py25-logilab-constraint/
trunk/dports/python/py26-logilab-constraint/
Modified: trunk/dports/python/py-logilab-constraint/Portfile
===================================================================
--- trunk/dports/python/py26-logilab-constraint/Portfile 2013-05-23 22:47:00 UTC (rev 106374)
+++ trunk/dports/python/py-logilab-constraint/Portfile 2013-05-24 00:44:29 UTC (rev 106376)
@@ -1,11 +1,13 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-logilab-constraint
+name py-logilab-constraint
version 0.4.0
+license GPL-2+
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description python module for solving constraint satisfaction problems
long_description The constraint package is a constraint satisfaction \
@@ -21,19 +23,22 @@
sha1 534b68324ca0e6b469d204048f3efd8f9f8e1dfd \
rmd160 d0155cf34407938d1d6fb27e4052cd26e267869f
-depends_lib port:py26-logilab-common
+python.versions 25 26
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
+if {$subport != $name} {
+ depends_lib port:py${python.version}-logilab-common
- xinstall -m 644 -W ${worksrcpath} \
- doc/CONTRIBUTORS doc/documentation.html doc/documentation.xml \
- README COPYING ChangeLog \
- ${destroot}${prefix}/share/doc/${name}
- eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
- ${destroot}${prefix}/share/examples/${name}
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 755 -d ${destroot}${prefix}/share/examples/${subport}
- file delete ${destroot}${python.pkgd}/logilab/__init__.py
+ xinstall -m 644 -W ${worksrcpath} \
+ doc/CONTRIBUTORS doc/documentation.html doc/documentation.xml \
+ README COPYING ChangeLog \
+ ${destroot}${prefix}/share/doc/${subport}
+ eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
+ ${destroot}${prefix}/share/examples/${subport}
+
+ file delete ${destroot}${python.pkgd}/logilab/__init__.py
+ }
}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130523/73247e03/attachment.html>
More information about the macports-changes
mailing list