From 3fa6272521efa9ddc04b966935c9447e68194c7c Mon Sep 17 00:00:00 2001 From: ptrcnull <git@ptrcnull.me> Date: Wed, 27 Jul 2022 09:46:36 +0200 Subject: [PATCH] community/py3-aiohttp-socks: add import check --- community/py3-aiohttp-socks/APKBUILD | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/community/py3-aiohttp-socks/APKBUILD b/community/py3-aiohttp-socks/APKBUILD index 9bee1fc26629..4355ba222a8d 100644 --- a/community/py3-aiohttp-socks/APKBUILD +++ b/community/py3-aiohttp-socks/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Michał Adamski <michal@ert.pl> pkgname=py3-aiohttp-socks pkgver=0.5.5 -pkgrel=3 +pkgrel=4 pkgdesc="Proxy connector for aiohttp" url="https://github.com/romis2012/aiohttp-socks" arch="noarch" @@ -16,10 +16,14 @@ build() { } check() { - python3 setup.py 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 --prefix=/usr --root="$pkgdir" } -sha512sums="18eb7cb6f8553596e5b973f0bffda71ce67f0b4298ad0006fff5353161ac656a0d87eb138c363683b411a42e2585f308625827bf896bbe53bb5cee2e8901b7a3 aiohttp_socks-0.5.5.tar.gz" + +sha512sums=" +18eb7cb6f8553596e5b973f0bffda71ce67f0b4298ad0006fff5353161ac656a0d87eb138c363683b411a42e2585f308625827bf896bbe53bb5cee2e8901b7a3 aiohttp_socks-0.5.5.tar.gz +" -- GitLab