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

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

py-requests: update to version 2.6.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 135255 2015-04-20 10:01:09Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-requests
8version             2.6.0
9categories-append   devel
10platforms           darwin
11license             Apache-2
12supported_archs     noarch
13
14python.versions     26 27 34
15
16maintainers         stromnov 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        https://pypi.python.org/packages/source/r/requests/
30
31distname            requests-${version}
32
33checksums           rmd160  c48db06c7ec348f55e9238b8f37019d8f2345c56 \
34                    sha256  1cdbed1f0e236f35ef54e919982c7a338e4fea3786310933d3a7887a04b74d75
35
36if {${name} ne ${subport}} {
37    depends_build-append \
38                        port:py${python.version}-setuptools
39
40    livecheck.type      none
41} else {
42    livecheck.type      regex
43    livecheck.url       https://pypi.python.org/pypi/requests/json
44    livecheck.regex     {requests-(\d+(?:\.\d+)*)\.[tz]}
45}
Note: See TracBrowser for help on using the repository browser.