[105961] trunk/dports/python

jmr at macports.org jmr at macports.org
Sat May 11 01:50:41 PDT 2013


Revision: 105961
          https://trac.macports.org/changeset/105961
Author:   jmr at macports.org
Date:     2013-05-11 01:50:41 -0700 (Sat, 11 May 2013)
Log Message:
-----------
py27-gtfs: use unified portgroup, license, noarch

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

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

Removed Paths:
-------------
    trunk/dports/python/py27-gtfs/

Modified: trunk/dports/python/py-gtfs/Portfile
===================================================================
--- trunk/dports/python/py27-gtfs/Portfile	2013-05-11 07:41:03 UTC (rev 105960)
+++ trunk/dports/python/py-gtfs/Portfile	2013-05-11 08:50:41 UTC (rev 105961)
@@ -2,12 +2,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python27 1.0
+PortGroup python 1.0
 
-name                    py27-gtfs
+name                    py-gtfs
 set real_name           googletransitdatafeed
 version                 1.2.6
+license                 Apache-2
 platforms               darwin
+supported_archs         noarch
 maintainers             nomaintainer
 description             General Transit Feed Specification library
 long_description        \
@@ -23,6 +25,10 @@
                         sha1    19e3a9fe1a00d31d50351e63ff966c5b5be16f93 \
                         rmd160  c9deebc45d9be9746fc463c527c15e73c2c1dcc3
 
-configure {
-    eval reinplace "s|#!/usr/bin/python.*|#!${prefix}/bin/python${python.branch}|" [glob ${worksrcpath}/transitfeed/*]
+python.versions         27
+
+if {$subport != $name} {
+    configure {
+        eval reinplace "s|#!/usr/bin/python.*|#!${prefix}/bin/python${python.branch}|" [glob ${worksrcpath}/transitfeed/*]
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130511/53e78e8b/attachment.html>


More information about the macports-changes mailing list