You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
58 lines
2.0 KiB
Tcl
58 lines
2.0 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
|
|
PortGroup select 1.0
|
|
|
|
name py-httpx
|
|
version 0.28.1
|
|
revision 0
|
|
platforms {darwin any}
|
|
license BSD
|
|
|
|
maintainers nomaintainer
|
|
|
|
description The next generation HTTP client.
|
|
long_description {*}${description}
|
|
supported_archs noarch
|
|
homepage https://github.com/encode/httpx
|
|
|
|
checksums rmd160 86c2909ef82fc3a18f504b55f771f17027073141 \
|
|
sha256 75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc \
|
|
size 141406
|
|
|
|
python.versions 310 311 312 313 314
|
|
python.pep517_backend hatch
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-hatch-fancy-pypi-readme
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-brotli \
|
|
port:py${python.version}-brotlicffi \
|
|
port:py${python.version}-certifi \
|
|
port:py${python.version}-charset-normalizer \
|
|
port:py${python.version}-click \
|
|
port:py${python.version}-h2 \
|
|
port:py${python.version}-httpcore \
|
|
port:py${python.version}-idna \
|
|
port:py${python.version}-pygments \
|
|
port:py${python.version}-rich \
|
|
port:py${python.version}-sniffio \
|
|
port:py${python.version}-socksio
|
|
|
|
depends_run-append \
|
|
port:httpx_select
|
|
|
|
select.group httpx
|
|
select.file ${filespath}/${subport}
|
|
|
|
notes "
|
|
To make the Python ${python.branch} version of httpx the one that is run when\
|
|
you execute the commands without a version suffix, e.g. 'httpx', run:
|
|
|
|
port select --set ${select.group} [file tail ${select.file}]
|
|
"
|
|
}
|