You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
49 lines
1.7 KiB
Tcl
49 lines
1.7 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-requests
|
|
version 2.25.1
|
|
revision 1
|
|
categories-append devel
|
|
platforms darwin
|
|
license Apache-2
|
|
supported_archs noarch
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
maintainers {stromnov @stromnov} 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 https://requests.readthedocs.io/
|
|
|
|
checksums rmd160 4a8a60da9b3619a53bd5a74245e58123702ae7e6 \
|
|
sha256 27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804 \
|
|
size 102161
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
post-patch {
|
|
reinplace "s|idna>=2.5,<3|idna>=2.5|" ${worksrcpath}/setup.py
|
|
}
|
|
|
|
depends_lib-append port:py${python.version}-chardet \
|
|
port:py${python.version}-idna \
|
|
port:py${python.version}-urllib3 \
|
|
port:py${python.version}-certifi
|
|
|
|
livecheck.type none
|
|
}
|