[105967] trunk/dports/python

jmr at macports.org jmr at macports.org
Sat May 11 02:26:01 PDT 2013


Revision: 105967
          https://trac.macports.org/changeset/105967
Author:   jmr at macports.org
Date:     2013-05-11 02:26:01 -0700 (Sat, 11 May 2013)
Log Message:
-----------
py*-fixture: unify, license, noarch

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

Added Paths:
-----------
    trunk/dports/python/py-fixture/

Removed Paths:
-------------
    trunk/dports/python/py25-fixture/
    trunk/dports/python/py27-fixture/

Modified: trunk/dports/python/py-fixture/Portfile
===================================================================
--- trunk/dports/python/py27-fixture/Portfile	2013-05-11 07:41:03 UTC (rev 105960)
+++ trunk/dports/python/py-fixture/Portfile	2013-05-11 09:26:01 UTC (rev 105967)
@@ -1,13 +1,14 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       python27 1.0
+PortGroup       python 1.0
 
-name            py27-fixture
+name            py-fixture
 set real_name   fixture
 version         1.4
 maintainers     nomaintainer
 platforms       darwin
+supported_archs noarch
 description     Python module for loading and referencing test data
 
 long_description \
@@ -18,8 +19,9 @@
     unittest compatible test cases easy and straight forward.
 
 categories-append devel
+license         LGPL-2.1+
 
-homepage        http://farmdev.com/projects/fixture/${real_name}
+homepage        http://farmdev.com/projects/fixture/
 master_sites    http://pypi.python.org/packages/source/f/${real_name}/
 distname        ${real_name}-${version}
 
@@ -27,4 +29,8 @@
                 sha1    558d73ebea2f192dde6c88bebcbc24cb4707558d \
                 rmd160  cd448659c76e7926c10302ce72d4ea19b3d2de2a
 
-depends_build-append port:py27-distribute
+python.versions 25 26 27
+
+if {$subport != $name} {
+    depends_build port:py${python.version}-distribute
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130511/4ed24380/attachment.html>


More information about the macports-changes mailing list