Revision
100259
Author
jmr@macports.org
Date
2012-12-05 20:10:04 -0800 (Wed, 05 Dec 2012)

Log Message

py27-testtools: move to python portgroup, set license, mark noarch

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/dports/python/py-testtools/Portfile (100254 => 100259)


--- trunk/dports/python/py27-testtools/Portfile	2012-12-06 03:22:47 UTC (rev 100254)
+++ trunk/dports/python/py-testtools/Portfile	2012-12-06 04:10:04 UTC (rev 100259)
@@ -1,14 +1,17 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       python27 1.0
+PortGroup       python 1.0
 
-name            py27-testtools
+name            py-testtools
 set real_name   testtools
 version         0.9.11
 set branch      [join [lrange [split ${version} .] 0 1] .]
+categories-append devel
+license         MIT PSF
 maintainers     nomaintainer
 platforms       darwin
+supported_archs noarch
 description     Extensions to the Python standard library unit testing framework
 
 long_description \
@@ -18,8 +21,6 @@
     different sources. testtools also ports recent unittest changes all \
     the way back to Python 2.4.
 
-categories-append devel
-
 homepage        https://launchpad.net/python-${real_name}
 master_sites    http://launchpad.net/${real_name}/${branch}/${version}/+download/
 distname        ${real_name}-${version}
@@ -27,3 +28,5 @@
 checksums       md5     89616849d247f120bb3984cd871b161f \
                 sha1    3478e43f8d5810d9d1d95b3dc372b49c65744d80 \
                 rmd160  3b2be21e9c249e8a7cd923d1dc6037086690ed85
+
+python.versions 27