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

Last change on this file since 106911 was 106911, checked in by jmr@…, 6 years ago

Change distribute dependencies back to setuptools and mark py*-distribute replaced_by py*-setuptools (#39237).

  • 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 106911 2013-06-11 14:40:14Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-requests
8version             1.2.3
9categories-append   devel
10license             Apache-2
11platforms           darwin
12supported_archs     noarch
13
14python.versions     26 27 31 32 33
15
16maintainers         saispo 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  32fbe6dc1b4f63205327400475d3e7f5c9afe7c0 \
34                    sha256  156bf3ec27ba9ec7e0cf8fbe02808718099d218de403eb64a714d73ba1a29ab1
35
36if {$subport != $name} {
37    depends_build-append    port:py${python.version}-setuptools
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.