Files
macports-ports/python/py-python-socks/Portfile
T
2024-11-21 16:03:31 -06:00

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.5.3
revision 0
license Apache-2
maintainers nomaintainer
platforms {darwin any}
supported_archs noarch
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
python.versions 39 310 311 312 313
checksums rmd160 b10fd0894ba7a29a020ab5f851bd803c4e783674 \
sha256 4414b2a24777e439758a5f4644f81509ee634e6893115fe7fd1ec482b4b5c979 \
size 201519
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
}
}