mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-01 08:51:47 +01:00
30 lines
882 B
Plaintext
30 lines
882 B
Plaintext
# Maintainer: Michał Adamski <michal@ert.pl>
|
|
pkgname=py3-python-socks
|
|
pkgver=2.1.1
|
|
pkgrel=0
|
|
pkgdesc="Core proxy client (SOCKS4, SOCKS5, HTTP) functionality for Python"
|
|
options="!check" # Testsuite ships their own GLIBC version of 3proxy
|
|
url="https://github.com/romis2012/python-socks"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="python3 py3-async-timeout"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-curio py3-trio py3-pytest py3-yarl"
|
|
source="https://files.pythonhosted.org/packages/source/p/python-socks/python-socks-$pkgver.tar.gz"
|
|
builddir="$srcdir/python-socks-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
py.test-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
sha512sums="
|
|
bcf1501bbe42c4823309ba606fb42a40d687d88188555ed1c0692ae4842cfbefb6648fc140a71e15d60a5c987e55ac4a4125911f48d026ac43319adc2c1a2196 python-socks-2.1.1.tar.gz
|
|
"
|