[106487] trunk/dports/python
jmr at macports.org
jmr at macports.org
Mon May 27 20:31:37 PDT 2013
Revision: 106487
https://trac.macports.org/changeset/106487
Author: jmr at macports.org
Date: 2013-05-27 20:31:37 -0700 (Mon, 27 May 2013)
Log Message:
-----------
py26-cdb: use unified portgroup, set license
Modified Paths:
--------------
trunk/dports/python/py-cdb/Portfile
Added Paths:
-----------
trunk/dports/python/py-cdb/
Removed Paths:
-------------
trunk/dports/python/py26-cdb/
Modified: trunk/dports/python/py-cdb/Portfile
===================================================================
--- trunk/dports/python/py26-cdb/Portfile 2013-05-27 22:13:05 UTC (rev 106483)
+++ trunk/dports/python/py-cdb/Portfile 2013-05-28 03:31:37 UTC (rev 106487)
@@ -1,10 +1,11 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-cdb
+name py-cdb
version 0.34
+license GPL-2+
platforms darwin
maintainers nomaintainer
description python module for using the constant database package
@@ -23,11 +24,15 @@
sha1 6c5ef1f27fe0e5c2e9a4a032435ebf58c82639f2 \
rmd160 02519e7c03aae5798823ab4cd0388b6afaf1908a
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 ${worksrcpath}/Example \
- ${destroot}${prefix}/share/doc/${name}/examples/example.py
+python.versions 26
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README \
+ ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 ${worksrcpath}/Example \
+ ${destroot}${prefix}/share/doc/${subport}/examples/example.py
+ }
}
# Local Variables:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130527/77eeef33/attachment.html>
More information about the macports-changes
mailing list