# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup python 1.0 name py-urlgrabber version 4.0.0 revision 0 categories-append net platforms {darwin any} license LGPL-2.1+ supported_archs noarch python.versions 27 maintainers {stromnov @stromnov} openmaintainer description High-level cross-protocol url-grabber long_description Urlgrabber is a high-level cross-protocol url-grabber for python \ supporting HTTP, FTP and file locations. Features include keepalive, \ byte ranges, throttling, authentication, proxies and more. homepage http://urlgrabber.baseurl.org/ master_sites http://urlgrabber.baseurl.org/download/ distname urlgrabber-${version} checksums rmd160 870fc12b846cbe7a7df4ed68971507ee25030d8e \ sha256 d152d10c7decce45ce5b44f8ee8ee5fd0047217f4152eebb8e0c552ca5137af0 \ size 86308 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-curl \ port:py${python.version}-six post-patch { reinplace "s|/usr/bin/python|${python.bin}|g" \ ${worksrcpath}/scripts/urlgrabber } livecheck.type none } else { livecheck.type regex livecheck.url ${master_sites} livecheck.regex {urlgrabber-(\d+(?:\.\d+)*)\.[tz]} }