Revision
105681
Author
jmr@macports.org
Date
2013-05-01 15:02:12 -0700 (Wed, 01 May 2013)

Log Message

py27-tail: move to unified portgroup, mark noarch

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/dports/python/py-tail/Portfile (105679 => 105681)


--- trunk/dports/python/py27-tail/Portfile	2013-05-01 17:42:33 UTC (rev 105679)
+++ trunk/dports/python/py-tail/Portfile	2013-05-01 22:02:12 UTC (rev 105681)
@@ -2,12 +2,13 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
-name                py27-tail
+name                py-tail
 set real_name       tailer
 version             0.2.1
 platforms           darwin
+supported_archs     noarch
 maintainers         nomaintainer
 description         Simple implementation of GNU tail and head in Python
 long_description  \
@@ -25,4 +26,8 @@
                     rmd160  8e36fc2f39c1c2c4b2772cedf2e0b7ea765a2eab
 distname            ${real_name}-${version}
 
-depends_build       port:py27-distribute
+python.versions     27
+
+if {$subport != $name} {
+    depends_build       port:py${python.version}-distribute
+}