You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
44 lines
1.6 KiB
Tcl
44 lines
1.6 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-python-socks
|
|
python.rootname python_socks
|
|
version 2.8.0
|
|
revision 0
|
|
|
|
license Apache-2
|
|
maintainers nomaintainer
|
|
description Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality
|
|
long_description The python-socks package provides a core proxy \
|
|
client functionality for Python. Supports \
|
|
SOCKS4(a), SOCKS5(h), HTTP (tunneling) proxy and \
|
|
provides sync and async (asyncio, trio, curio, \
|
|
anyio) APIs. You probably don't need to use \
|
|
python-socks directly. It is used internally by \
|
|
aiohttp-socks and httpx-socks packages.
|
|
homepage https://github.com/romis2012/python-socks
|
|
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
|
|
checksums rmd160 0af630dbf460cf4e78424c1fe5854263af1f13cf \
|
|
sha256 340f82778b20a290bdd538ee47492978d603dff7826aaf2ce362d21ad9ee6f1b \
|
|
size 273130
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_run-append \
|
|
port:py${python.version}-anyio \
|
|
port:py${python.version}-curio \
|
|
port:py${python.version}-trio
|
|
|
|
if {${python.version} <= 310} {
|
|
depends_lib-append \
|
|
port:py${python.version}-async-timeout
|
|
}
|
|
}
|
|
|