Date: Tuesday, March 8, 2022 @ 21:55:43 Author: anthraxx Revision: 1145607
upgpkg: python-yarl 1.8.0-1 Modified: python-yarl/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-03-08 21:54:24 UTC (rev 1145606) +++ PKGBUILD 2022-03-08 21:55:43 UTC (rev 1145607) @@ -2,8 +2,8 @@ _pkgname=yarl pkgname=python-yarl -pkgver=1.7.2 -pkgrel=3 +pkgver=1.8.0 +pkgrel=1 pkgdesc='Yet another URL library' url='https://github.com/aio-libs/yarl/' arch=('x86_64') @@ -10,10 +10,10 @@ license=('Apache') depends=('glibc' 'python' 'python-multidict' 'python-idna' 'python-typing_extensions') makedepends=('cython' 'python-setuptools') -checkdepends=('python-pytest' 'python-pytest-runner') +checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-cov') source=(https://github.com/aio-libs/yarl/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('bf69c5758f523259757ff84a8737e28931f46311f12f6e141329a5074d34a0cfb45795bf79cb7b78cb676ca7bc38042a2fbd946a5f41bf1d149ada50b88b31ae') -b2sums=('7bd212b652a77ac29fde4c6565c48c4067f2a24db6bbf735107f3dfa5ee8b6ad2e5a5c3c6206e8dc7692e4cfd5c975d4304dd93280087574bddd73a337417c52') +sha512sums=('da10de61afded586947a17dd0a205bc5265c133a5259c06d56c631c7685ed78966d2c40ae6c7ce59f56dadaff753aa0c4c9273f6df6904c9f68f8c9bdb075723') +b2sums=('3a6516105f7cb96d266773e26581bae3625866e0b98a530502863af79efe3631677ef4bd383e081bb7ebeeb770fcc54d6a7aa34b7f9c540b73ec306583bb1a1b') prepare() { cd ${_pkgname}-${pkgver} @@ -28,7 +28,8 @@ check() { cd ${_pkgname}-${pkgver} - python setup.py test + local _python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') + PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_python_version}" pytest } package() {