[101736] trunk/dports/python/py-lzma/Portfile

jmr at macports.org jmr at macports.org
Thu Jan 17 20:19:21 PST 2013


Revision: 101736
          https://trac.macports.org/changeset/101736
Author:   jmr at macports.org
Date:     2013-01-17 20:19:21 -0800 (Thu, 17 Jan 2013)
Log Message:
-----------
py-lzma: use unified portgroup, set license

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

Modified: trunk/dports/python/py-lzma/Portfile
===================================================================
--- trunk/dports/python/py-lzma/Portfile	2013-01-18 04:03:45 UTC (rev 101735)
+++ trunk/dports/python/py-lzma/Portfile	2013-01-18 04:19:21 UTC (rev 101736)
@@ -1,29 +1,33 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-lzma
 version			0.0.3
 revision		1
 categories		python archivers
+license			LGPL-2.1+
 platforms		darwin
 maintainers		nomaintainer
 description		Python bindings for the LZMA compression library.
 long_description	${description}
 
 homepage		http://www.joachim-bauch.de/projects/python/pylzma/
-master_sites	ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
+master_sites	freebsd
 distname		pylzma-${version}
 checksums		md5 312416b2cdf6f4b82ec8fc7a816f74a4
 
-test.run		no
-test.dir		${worksrcpath}/tests
-test.cmd		"ln -s ../build/lib*/pylzma.so && ln -s ../build/lib*/py7zlib.py . && ${python.bin} testall.py"
-test.target
+python.versions	24
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} LICENSE.txt readme.txt version.txt \
-		${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    test.run		no
+    test.dir		${worksrcpath}/tests
+    test.cmd		"ln -s ../build/lib*/pylzma.so && ln -s ../build/lib*/py7zlib.py . && ${python.bin} testall.py"
+    test.target
+
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} LICENSE.txt readme.txt version.txt \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130117/5657229b/attachment.html>


More information about the macports-changes mailing list