Ignore:
Timestamp:
May 11, 2012, 11:10:48 AM (8 years ago)
Author:
stromnov@…
Message:

py-requests: update homepage, fix livecheck, cleanup whitespaces

File:
1 edited

Legend:

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

    r90867 r92933  
    77name                py-requests
    88version             0.10.7
     9revision            0
     10categories          python devel
     11license             ISC
     12platforms           darwin
     13supported_archs     noarch
     14
    915python.versions     26 27
    1016python.default_version  27
    11 categories          python devel
    12 platforms           darwin
     17
    1318maintainers         saispo gmail.com:larry.velazquez openmaintainer
    14 license             ISC
    15 homepage            http://pypi.python.org/pypi/requests
     19
    1620description         Python HTTP for Humans.
     21
    1722long_description    Most existing Python modules for dealing HTTP \
    1823                    requests are insane. I have to look up everything \
    1924                    that I want to do. Most of my worst Python \
    2025                    experiences are a result of the various built-in \
    21                     HTTP libraries (yes, even worse than Logging). \nBut\
     26                    HTTP libraries (yes, even worse than Logging). But \
    2227                    this one's different. This one's going to be \
    23                     awesome. And simple. \nReally simple.
     28                    awesome. And simple. Really simple.
    2429
     30
     31homepage            http://python-requests.org/
    2532master_sites        http://pypi.python.org/packages/source/r/requests
     33
    2634distname            requests-${version}
    2735
     
    3341} else {
    3442    livecheck.type      regex
    35     livecheck.url       ${homepage}
    36     livecheck.regex     Release v(\\d+(\\.\\d+)+)
     43    livecheck.url       ${master_sites}
     44    livecheck.regex     "requests-(\\d+(?:\\.\\d+)*)${extract.suffix}"
    3745}
Note: See TracChangeset for help on using the changeset viewer.