# -*- 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 # $Id: Portfile 124920 2014-08-31 08:45:25Z stromnov@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-requests version 2.4.0 categories-append devel platforms darwin license Apache-2 supported_archs noarch python.versions 26 27 31 32 33 34 maintainers saispo openmaintainer description Python HTTP for Humans. long_description Most existing Python modules for dealing HTTP \ requests are insane. I have to look up everything \ that I want to do. Most of my worst Python \ experiences are a result of the various built-in \ HTTP libraries (yes, even worse than Logging). But \ this one's different. This one's going to be \ awesome. And simple. Really simple. homepage http://python-requests.org/ master_sites http://pypi.python.org/packages/source/r/requests/ distname requests-${version} checksums rmd160 6121375aa0f0847ff29a4a2ed7a62ac6f06235d0 \ sha256 7007e03cbc73e357b5055c6ea0ad6e447e2afa00f1a1f843cd792a1ebaa3763e if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools livecheck.type none } else { livecheck.type regex livecheck.url ${master_sites} livecheck.regex {requests-(\d+(?:\.\d+)*)\.[tz]} }