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

larryv at macports.org larryv at macports.org
Fri Oct 24 19:52:44 PDT 2014


Revision: 127297
          https://trac.macports.org/changeset/127297
Author:   larryv at macports.org
Date:     2014-10-24 19:52:44 -0700 (Fri, 24 Oct 2014)
Log Message:
-----------
py{,24}-lzma: Replace with py{,27}-pylzma

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

Modified: trunk/dports/python/py-lzma/Portfile
===================================================================
--- trunk/dports/python/py-lzma/Portfile	2014-10-25 02:52:42 UTC (rev 127296)
+++ trunk/dports/python/py-lzma/Portfile	2014-10-25 02:52:44 UTC (rev 127297)
@@ -5,7 +5,7 @@
 
 name			py-lzma
 version			0.0.3
-revision		1
+revision		2
 categories-append	archivers
 license			LGPL-2.1+
 platforms		darwin
@@ -20,14 +20,10 @@
 
 python.versions	24
 
-if {${name} ne ${subport}} {
-    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}
-    }
+if {${name} eq ${subport}} {
+    replaced_by py-pylzma
+} else {
+    replaced_by py27-pylzma
 }
+depends_lib
+PortGroup obsolete 1.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141024/d8871434/attachment.html>


More information about the macports-changes mailing list