mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
31 lines
909 B
Plaintext
31 lines
909 B
Plaintext
# Maintainer: Michał Adamski <michal@ert.pl>
|
|
pkgname=py3-python-socks
|
|
pkgver=2.2.0
|
|
pkgrel=1
|
|
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"
|
|
subpackages="$pkgname-pyc"
|
|
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="
|
|
f4b5653d8799a98f3b9f37d16bd9c246449c91ee69530388d448e34e1335422ecaaa4725d29d8d895d7ec6d7207203152fdcdd0159cef1dbb00dcbf8a0992af0 python-socks-2.2.0.tar.gz
|
|
"
|