[101782] trunk/dports/python/py-linda

jmr at macports.org jmr at macports.org
Fri Jan 18 22:17:26 PST 2013


Revision: 101782
          https://trac.macports.org/changeset/101782
Author:   jmr at macports.org
Date:     2013-01-18 22:17:25 -0800 (Fri, 18 Jan 2013)
Log Message:
-----------
py-linda: use unified portgroup, license, noarch

Modified Paths:
--------------
    trunk/dports/python/py-linda/Portfile
    trunk/dports/python/py-linda/files/patch-setup.py.diff

Modified: trunk/dports/python/py-linda/Portfile
===================================================================
--- trunk/dports/python/py-linda/Portfile	2013-01-19 06:06:59 UTC (rev 101781)
+++ trunk/dports/python/py-linda/Portfile	2013-01-19 06:17:25 UTC (rev 101782)
@@ -1,12 +1,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-linda
 version			0.5.1
 categories		python net
+license			LGPL-2.1+
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		simple implementation of a linda system
 long_description	PyLinda is a simple implementation of a linda system, \
@@ -16,8 +18,15 @@
 				primitives and bulk tuple operations.
 
 homepage		http://www-users.cs.york.ac.uk/~aw/pylinda/
-master_sites	${homepage}/dist/
+master_sites	${homepage}/dist/ http://distfiles.macports.org/python/
 distname		linda-${version}
 checksums		md5 36b656030d812e971db4eeaeae1ff064
-patchfiles		patch-setup.py.diff
 
+python.versions	24
+
+if {$subport != $name} {
+    patchfiles		patch-setup.py.diff
+    post-patch {
+        reinplace "s|__SUBPORT__|${subport}|" ${worksrcpath}/setup.py
+    }
+}

Modified: trunk/dports/python/py-linda/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-linda/files/patch-setup.py.diff	2013-01-19 06:06:59 UTC (rev 101781)
+++ trunk/dports/python/py-linda/files/patch-setup.py.diff	2013-01-19 06:17:25 UTC (rev 101782)
@@ -5,7 +5,7 @@
      root_path = "pylinda"
  else:
 -    root_path = "share/pylinda"
-+    root_path = "share/doc/py-linda"
++    root_path = "share/doc/__SUBPORT__"
  
  class myinstall(install):
      def run(self):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130118/f24904a8/attachment-0001.html>


More information about the macports-changes mailing list