[125361] trunk/dports/python

jmr at macports.org jmr at macports.org
Sun Sep 14 11:48:52 PDT 2014


Revision: 125361
          https://trac.macports.org/changeset/125361
Author:   jmr at macports.org
Date:     2014-09-14 11:48:52 -0700 (Sun, 14 Sep 2014)
Log Message:
-----------
py26-pynzb: use unified python portgroup, correct license

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

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

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

Modified: trunk/dports/python/py-pynzb/Portfile
===================================================================
--- trunk/dports/python/py26-pynzb/Portfile	2014-09-14 16:23:49 UTC (rev 125350)
+++ trunk/dports/python/py-pynzb/Portfile	2014-09-14 18:48:52 UTC (rev 125361)
@@ -1,12 +1,12 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       python26 1.0
+PortGroup       python 1.0
 
-name            py26-pynzb
+name            py-pynzb
 version         0.1.0
 revision        1
-license         LGPL-2.1+
+license         BSD
 maintainers     nomaintainer
 platforms       darwin
 supported_archs noarch
@@ -21,16 +21,21 @@
 categories-append \
     devel
 
-homepage        http://pypi.python.org/pypi/pynzb/
-master_sites    http://pypi.python.org/packages/source/p/pynzb/
+homepage        https://pypi.python.org/pypi/pynzb/
+master_sites    https://pypi.python.org/packages/source/p/pynzb/
 distname        pynzb-${version}
 
 checksums       md5     63c74a36348ac28aa99732dcb8be8c59 \
                 sha1    cf39d7f32c15f281ab81b0043b4068d101a2cd1f \
                 rmd160  6c206380753f9a871e6f5d4ad237236cda96586d
 
-depends_build   port:py26-setuptools
+python.versions 26
 
-livecheck.type    regex
-livecheck.url     ${homepage}
-livecheck.regex   {<h1>pynzb (.*)</h1>}
+if {$subport ne $name} {
+    depends_build     port:py${python.version}-setuptools
+    livecheck.type    none
+} else {
+    livecheck.type    regex
+    livecheck.url     ${homepage}
+    livecheck.regex   {<h1>pynzb (.*)</h1>}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140914/e6b90f6d/attachment.html>


More information about the macports-changes mailing list