[125277] trunk/dports/python

jmr at macports.org jmr at macports.org
Fri Sep 12 09:58:56 PDT 2014


Revision: 125277
          https://trac.macports.org/changeset/125277
Author:   jmr at macports.org
Date:     2014-09-12 09:58:56 -0700 (Fri, 12 Sep 2014)
Log Message:
-----------
py26-formalchemy: use unified python portgroup, mark noarch

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

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

Removed Paths:
-------------
    trunk/dports/python/py26-formalchemy/

Modified: trunk/dports/python/py-formalchemy/Portfile
===================================================================
--- trunk/dports/python/py26-formalchemy/Portfile	2014-09-12 07:51:08 UTC (rev 125271)
+++ trunk/dports/python/py-formalchemy/Portfile	2014-09-12 16:58:56 UTC (rev 125277)
@@ -1,31 +1,36 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python26 1.0
+PortGroup               python 1.0
 
-name                    py26-formalchemy
+name                    py-formalchemy
 version                 1.4.1
 maintainers             nomaintainer
 platforms               darwin
+supported_archs         noarch
 
 description             FormAlchemy greatly speeds development with SQLAlchemy \
                         mapped classes (models) in a HTML forms environment.
 long_description        ${description}
 license                 MIT
-homepage                http://pypi.python.org/pypi/FormAlchemy/
+homepage                https://pypi.python.org/pypi/FormAlchemy/
 
+distname                FormAlchemy-${version}
+master_sites            https://pypi.python.org/packages/source/F/FormAlchemy/
+
+checksums               rmd160 d7f78d51bf7fd20c642356002bcfa77022fb56fc
+
 livecheck.regex         {>FormAlchemy (.+) :}
 livecheck.type          regex
 livecheck.url           ${homepage}
 
-depends_build-append    port:py26-setuptools
-depends_lib-append \
-    port:py26-sqlalchemy \
-    port:py26-tempita \
-    port:py26-webhelpers \
-    port:py26-webob
+python.versions         26
 
-distname                FormAlchemy-${version}
-master_sites            http://pypi.python.org/packages/source/F/FormAlchemy/
-
-checksums               rmd160 d7f78d51bf7fd20c642356002bcfa77022fb56fc
+if {$subport ne $name} {
+    depends_build-append    port:py${python.version}-setuptools
+    depends_lib-append \
+        port:py${python.version}-sqlalchemy \
+        port:py${python.version}-tempita \
+        port:py${python.version}-webhelpers \
+        port:py${python.version}-webob
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140912/8c2c023f/attachment-0001.html>


More information about the macports-changes mailing list