[101054] trunk/dports/python/py-sql/Portfile

jmr at macports.org jmr at macports.org
Thu Jan 3 10:39:44 PST 2013


Revision: 101054
          https://trac.macports.org/changeset/101054
Author:   jmr at macports.org
Date:     2013-01-03 10:39:44 -0800 (Thu, 03 Jan 2013)
Log Message:
-----------
py-sql: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-sql/Portfile
===================================================================
--- trunk/dports/python/py-sql/Portfile	2013-01-03 18:18:34 UTC (rev 101053)
+++ trunk/dports/python/py-sql/Portfile	2013-01-03 18:39:44 UTC (rev 101054)
@@ -1,13 +1,15 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-sql
 version			0.6
 revision		1
 categories		python databases
+license			MIT
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		Python module for creating simple SQL statements
 long_description	sql is a module that contains three classes Insert, \
@@ -20,9 +22,13 @@
 checksums		md5 a3f6829e452b1a5cb8f6054f447837f9
 use_bzip2		yes
 
-depends_lib-append	port:py-mx
+python.versions	24
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} INSTALL NEWS README \
-		${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    depends_lib-append	port:py${python.version}-mx
+
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} INSTALL NEWS README \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130103/409ed25c/attachment.html>


More information about the macports-changes mailing list