Permalink
Browse files
py-pynzb: fix livecheck, deprecated
- Loading branch information
Showing
with
3 additions
and
6 deletions.
-
+3
−6
python/py-pynzb/Portfile
|
|
@@ -2,6 +2,7 @@ |
|
|
|
|
|
PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
PortGroup deprecated 1.0 |
|
|
|
|
|
name py-pynzb |
|
|
version 0.1.0 |
|
|
@@ -12,8 +13,7 @@ platforms darwin |
|
|
supported_archs noarch |
|
|
|
|
|
description unified API for parsing NZB files |
|
|
long_description \ |
|
|
pynzb is a unified API for parsing NZB files |
|
|
long_description pynzb is a ${description} |
|
|
|
|
|
categories-append devel |
|
|
|
|
|
@@ -25,15 +25,12 @@ checksums md5 63c74a36348ac28aa99732dcb8be8c59 \ |
|
|
sha1 cf39d7f32c15f281ab81b0043b4068d101a2cd1f \ |
|
|
rmd160 6c206380753f9a871e6f5d4ad237236cda96586d |
|
|
|
|
|
deprecated.upstream_support no |
|
|
python.versions 27 |
|
|
|
|
|
if {$subport ne $name} { |
|
|
depends_build-append \ |
|
|
port:py${python.version}-setuptools |
|
|
|
|
|
livecheck.type none |
|
|
} else { |
|
|
livecheck.type regex |
|
|
livecheck.url ${homepage} |
|
|
livecheck.regex {<h1>pynzb (.*)</h1>} |
|
|
} |