Date: Tuesday, May 11, 2021 @ 20:50:02 Author: polyzen Revision: 930638
upgpkg: python-pycares 3.2.3-1 Modified: python-pycares/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-05-11 20:50:01 UTC (rev 930637) +++ PKGBUILD 2021-05-11 20:50:02 UTC (rev 930638) @@ -1,18 +1,19 @@ # Maintainer: Daniel M. Capella <poly...@archlinux.org> pkgname=python-pycares -pkgver=3.1.1 -pkgrel=3 +pkgver=3.2.3 +pkgrel=1 pkgdesc='Python interface for c-ares' arch=('x86_64') url=https://github.com/saghul/pycares license=('MIT') -depends=('python-cffi') # c-ares is bundled +depends=('python-cffi') # Modified c-ares is bundled makedepends=('python-setuptools') #checkdepends=('python-idna') optdepends=('python-idna') source=("https://files.pythonhosted.org/packages/source/p/pycares/pycares-$pkgver.tar.gz") -sha256sums=('18dfd4fd300f570d6c4536c1d987b7b7673b2a9d14346592c5d6ed716df0d104') +sha256sums=('da1899fde778f9b8736712283eccbf7b654248779b349d139cd28eb30b0fa8cd') +b2sums=('78cdfa981b586a2ee29c587a0a864e457a794f63a629e9bad0d5010f2be51b7f47a10ba8942a4dfa7ec1ff209d2bae932bb70404b46098b21cbb65363bdc5003') build() { cd pycares-$pkgver @@ -19,13 +20,13 @@ python setup.py build } -# test_query_any fails https://github.com/saghul/pycares/issues/108 +# Test failures: gethostbyaddr{,6}, gethostbyname{,_small_timeout}, test_getnameinfo #check() { # cd pycares-$pkgver # mkdir -p temp -# local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") +# local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") # python setup.py install --skip-build --root=temp -# PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" python tests/tests.py +# PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" python tests/tests.py #} package() {