Changeset 97524 for trunk/dports/python


Ignore:
Timestamp:
Sep 8, 2012, 12:37:21 AM (7 years ago)
Author:
michaelld@…
Message:

py*-urlgrabber : Combine into 1 port with subports; expand to include Python 2.7.

Location:
trunk/dports/python
Files:
2 deleted
1 edited

Legend:

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

    r57375 r97524  
     1# -*- 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
    12# $Id$
    23
    3 PortSystem 1.0
    4 PortGroup python24 1.0
     4PortSystem          1.0
     5PortGroup           python 1.0
    56
    6 name                    py-urlgrabber
    7 version                 3.1.0
    8 categories              python
    9 platforms               darwin
    10 maintainers             afb openmaintainer
    11 description             High-level cross-protocol url-grabber
    12 long_description        python-urlgrabber is a high-level cross-protocol url-grabber for python \
    13                 supporting HTTP, FTP and file locations. Features include keepalive, byte \
    14                 ranges, throttling, authentication, proxies and more.
     7name                py-urlgrabber
     8version             3.9.1
     9python.versions     24 25 26 27
     10maintainers         afb stromnov openmaintainer
    1511
     12description         High-level cross-protocol url-grabber
    1613
    17 homepage                http://linux.duke.edu/projects/urlgrabber/
    18 master_sites    ${homepage}download/
    19 distname                urlgrabber-${version}
    20 checksums               md5 2a92d8ce0d89c5e772a98e9b8dcd5b73
     14long_description    Urlgrabber is a high-level cross-protocol url-grabber for python \
     15                    supporting HTTP, FTP and file locations. Features include keepalive, \
     16                    byte ranges, throttling, authentication, proxies and more.
    2117
    22 livecheck.type  regex
    23 livecheck.url   http://linux.duke.edu/projects/urlgrabber/download/
    24 livecheck.regex urlgrabber-(\[0-9\.-\]+).tar.gz
     18platforms           darwin
     19
     20homepage            http://urlgrabber.baseurl.org/
     21master_sites        http://urlgrabber.baseurl.org/download/
     22distname            urlgrabber-${version}
     23
     24checksums           md5     00c8359bf71062d0946bacea521f80b4 \
     25                    sha1    937c7ad3177539c337d4010e0175b2c7bd874938 \
     26                    rmd160  377196ddb01f6cd4903e063e8e9cba40a0f80fff
     27
     28depends_lib         port:py${python.version}-curl
     29
     30post-patch {
     31    reinplace "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/scripts/urlgrabber
     32}
     33
     34livecheck.type      regex
     35livecheck.url       ${master_sites}
     36livecheck.regex     "urlgrabber-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracChangeset for help on using the changeset viewer.