mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
29 lines
856 B
Text
29 lines
856 B
Text
# Maintainer: Michał Adamski <michal@ert.pl>
|
|
pkgname=py3-aiohttp-socks
|
|
pkgver=0.5.5
|
|
pkgrel=5
|
|
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"
|
|
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="
|
|
18eb7cb6f8553596e5b973f0bffda71ce67f0b4298ad0006fff5353161ac656a0d87eb138c363683b411a42e2585f308625827bf896bbe53bb5cee2e8901b7a3 aiohttp_socks-0.5.5.tar.gz
|
|
"
|