[101723] trunk/dports/python/py-make/Portfile

jmr at macports.org jmr at macports.org
Thu Jan 17 16:03:06 PST 2013


Revision: 101723
          https://trac.macports.org/changeset/101723
Author:   jmr at macports.org
Date:     2013-01-17 16:03:06 -0800 (Thu, 17 Jan 2013)
Log Message:
-----------
py-make: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-make/Portfile
===================================================================
--- trunk/dports/python/py-make/Portfile	2013-01-17 23:56:55 UTC (rev 101722)
+++ trunk/dports/python/py-make/Portfile	2013-01-18 00:03:06 UTC (rev 101723)
@@ -1,13 +1,15 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-make
 version			0.9
 revision		1
 categories		python devel
+license			Permissive
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		make replacement for use with python
 long_description	pymake is a simple make replacement which allows the \
@@ -27,12 +29,16 @@
 distname		pymake-${version}
 checksums		md5 0506229f711b5f3b23f9c0a2d2506707
 
-test.run		yes
-test.cmd		${python.bin} test_pymake.py
-test.env		PYTHONPATH=${worksrcpath}/build/lib
-test.target
+python.versions	24
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \
-		${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    test.run		yes
+    test.cmd		${python.bin} test_pymake.py
+    test.env		PYTHONPATH=${worksrcpath}/build/lib
+    test.target
+
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130117/eb27d599/attachment-0001.html>


More information about the macports-changes mailing list