Michał Adamski 559ad5b23f testing/py3-python-socks: new aport
Core proxy client (SOCKS4, SOCKS5, HTTP) functionality for Python
https://github.com/romis2012/python-socks
2020-10-09 16:24:31 +00:00

28 lines
881 B
Plaintext

# Maintainer: Michał Adamski <michal@ert.pl>
pkgname=py3-python-socks
pkgver=1.1.0
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 --prefix=/usr --root="$pkgdir"
}
sha512sums="448a6e431395b1720f9e63e6cba1e55dc5851c5e0e624ab79543c1d11a131f07fdb24ddb4acafb0aca1bfc212554809fb0126a26db874e0d437764a5f265d16d python-socks-1.1.0.tar.gz"