mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
31 lines
883 B
Plaintext
31 lines
883 B
Plaintext
# Maintainer: Michał Adamski <michal@ert.pl>
|
|
pkgname=py3-aiohttp-socks
|
|
pkgver=0.8.0
|
|
pkgrel=0
|
|
pkgdesc="Proxy connector for aiohttp"
|
|
url="https://github.com/romis2012/aiohttp-socks"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="python3 py3-aiohttp py3-attrs py3-python-socks"
|
|
makedepends="py3-setuptools"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/a/aiohttp_socks/aiohttp_socks-$pkgver.tar.gz"
|
|
builddir="$srcdir/aiohttp_socks-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
# no tests in pypi tarball + they need testing/3proxy to run
|
|
PYTHONPATH=build/lib python3 -c "import aiohttp_socks"
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
e28e1cc3aeb2ffafd56eb305c8a055b70aacc6527248d3b8ae2c11377943416cca4a3c3fa76e5f9d7cf9799452fd1a34a2064a27967586e734a11dd53d1d3bbc aiohttp_socks-0.8.0.tar.gz
|
|
"
|