source: trunk/dports/python/py-requests/Portfile @ 105459

Last change on this file since 105459 was 105459, checked in by stromnov@…, 7 years ago

py-requests: update to version 1.2.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
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
2# $Id: Portfile 105459 2013-04-21 12:59:05Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-requests
8version             1.2.0
9categories-append   devel
10license             Apache-2
11platforms           darwin
12supported_archs     noarch
13
14python.versions     26 27 31 32 33
15
16maintainers         saispo larryv openmaintainer
17
18description         Python HTTP for Humans.
19
20long_description    Most existing Python modules for dealing HTTP \
21                    requests are insane. I have to look up everything \
22                    that I want to do. Most of my worst Python \
23                    experiences are a result of the various built-in \
24                    HTTP libraries (yes, even worse than Logging). But \
25                    this one's different. This one's going to be \
26                    awesome. And simple. Really simple.
27
28homepage            http://python-requests.org/
29master_sites        http://pypi.python.org/packages/source/r/requests
30
31distname            requests-${version}
32
33checksums           rmd160  369b375a05d84f87314f072bef3cf7bc240a181e \
34                    sha256  cfa615644ae38efe8423ce9edb23470a4615a9147fa3cea5026afb47c9bb3913
35
36if {$subport != $name} {
37    depends_build-append    port:py${python.version}-distribute
38
39    livecheck.type      none
40} else {
41    livecheck.type      regex
42    livecheck.url       ${master_sites}
43    livecheck.regex     "requests-(\\d+(?:\\.\\d+)*)${extract.suffix}"
44}
Note: See TracBrowser for help on using the repository browser.