Changeset 125361


Ignore:
Timestamp:
Sep 14, 2014, 6:48:52 PM (6 years ago)
Author:
jmr@…
Message:

py26-pynzb: use unified python portgroup, correct license

Location:
trunk/dports/python/py-pynzb
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-pynzb/Portfile

    r106911 r125361  
    22
    33PortSystem      1.0
    4 PortGroup       python26 1.0
     4PortGroup       python 1.0
    55
    6 name            py26-pynzb
     6name            py-pynzb
    77version         0.1.0
    88revision        1
    9 license         LGPL-2.1+
     9license         BSD
    1010maintainers     nomaintainer
    1111platforms       darwin
     
    2222    devel
    2323
    24 homepage        http://pypi.python.org/pypi/pynzb/
    25 master_sites    http://pypi.python.org/packages/source/p/pynzb/
     24homepage        https://pypi.python.org/pypi/pynzb/
     25master_sites    https://pypi.python.org/packages/source/p/pynzb/
    2626distname        pynzb-${version}
    2727
     
    3030                rmd160  6c206380753f9a871e6f5d4ad237236cda96586d
    3131
    32 depends_build   port:py26-setuptools
     32python.versions 26
    3333
    34 livecheck.type    regex
    35 livecheck.url     ${homepage}
    36 livecheck.regex   {<h1>pynzb (.*)</h1>}
     34if {$subport ne $name} {
     35    depends_build     port:py${python.version}-setuptools
     36    livecheck.type    none
     37} else {
     38    livecheck.type    regex
     39    livecheck.url     ${homepage}
     40    livecheck.regex   {<h1>pynzb (.*)</h1>}
     41}
Note: See TracChangeset for help on using the changeset viewer.