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

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

py*-requests: Update to 1.1.0; make py*-distribute a build dependency only.

  • 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 101898 2013-01-21 07:07:10Z larryv@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-requests
8version             1.1.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
28
29homepage            http://python-requests.org/
30master_sites        http://pypi.python.org/packages/source/r/requests
31
32distname            requests-${version}
33
34checksums           rmd160  5358635a8441972929b22f25ca2b3e7a92bc640b \
35                    sha256  21a81ddf1a3c2f956524538966ae19c38cae251f5629821588cdc8246a1335f7
36
37if {$subport != $name} {
38    depends_build-append    port:py${python.version}-distribute
39
40    livecheck.type      none
41} else {
42    livecheck.type      regex
43    livecheck.url       ${master_sites}
44    livecheck.regex     "requests-(\\d+(?:\\.\\d+)*)${extract.suffix}"
45}
Note: See TracBrowser for help on using the repository browser.