[102150] trunk/dports/python/py-apycot/Portfile

jmr at macports.org jmr at macports.org
Mon Jan 28 09:17:25 PST 2013


Revision: 102150
          https://trac.macports.org/changeset/102150
Author:   jmr at macports.org
Date:     2013-01-28 09:17:25 -0800 (Mon, 28 Jan 2013)
Log Message:
-----------
py-apycot: use unified portgroup, license, noarch

Modified Paths:
--------------
    trunk/dports/python/py-apycot/Portfile

Modified: trunk/dports/python/py-apycot/Portfile
===================================================================
--- trunk/dports/python/py-apycot/Portfile	2013-01-28 17:05:10 UTC (rev 102149)
+++ trunk/dports/python/py-apycot/Portfile	2013-01-28 17:17:25 UTC (rev 102150)
@@ -2,14 +2,16 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python24 1.0
+PortGroup           python 1.0
 
 # apycot moved from 0.12.3 -> 0.99 but is a fundamentally incompatible change.  The newer versions
 # should be put in a port called apycotbot
 name                py-apycot
 version             0.12.3
 categories          python devel
+license             GPL-2+
 platforms           darwin
+supported_archs     noarch
 maintainers         dh openmaintainer
 description         automated pythonic code tester.
 long_description    Apycot is an Automated Pythonic Code Tester. Use it to \
@@ -24,7 +26,11 @@
                     sha1    512b010827f58b26472618cefd8dc10651788ba9 \
                     rmd160  1652039cdd960424e18ab5aa575f4397c1596a11
 
-post-destroot   {
-    file delete -force ${destroot}${prefix}/share/doc/${name}
-    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
+python.versions     24
+
+if {$subport != $name} {
+    post-destroot   {
+        file delete -force ${destroot}${prefix}/share/doc/${subport}
+        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130128/a679fb7a/attachment.html>


More information about the macports-changes mailing list