You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -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.7.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 310 311 312 313
|
|
|
|
checksums rmd160 2f5f9ef1b91e734efbf56c41649621eeb1476312 \
|
|
sha256 06f4ae34c5828c96f631872e102425bbf44ad841d65ce68329e8dc1af428c1f1 \
|
|
size 273160
|
|
|
|
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
|
|
}
|
|
}
|
|
|