Date: Saturday, September 3, 2022 @ 13:09:48 Author: felixonmars Revision: 1292389
upgpkg: python-pytest-asyncio 0.19.0-1 Modified: python-pytest-asyncio/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-09-03 13:04:58 UTC (rev 1292388) +++ PKGBUILD 2022-09-03 13:09:48 UTC (rev 1292389) @@ -1,7 +1,7 @@ # Maintainer: Felix Yan <[email protected]> pkgname=python-pytest-asyncio -pkgver=0.18.3 +pkgver=0.19.0 pkgrel=1 pkgdesc="Pytest support for asyncio." arch=('any') @@ -8,16 +8,16 @@ license=('Apache') url="https://github.com/pytest-dev/pytest-asyncio/" depends=('python-pytest') -makedepends=('python-setuptools-scm') +makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') checkdepends=('python-flaky' 'python-hypothesis' 'python-pytest-trio') source=("https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('04d2046c039131598cb593afc1908be0dff2b24a91c89f36fca75d2d65916571e48fe149c1ba90244f299586277320cf6f130a02824fde9ee0a4d2429bf58a54') +sha512sums=('7be87e6edd28496713ae5cca396fed67d372f2882dd573a8b72a84ebf6d262060cda9372bcde601130c42fc27faf15cf292cd820995ea93a324c209f203e823f') export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver build() { cd pytest-asyncio-$pkgver - python setup.py build + python -m build -wn } check() { @@ -24,11 +24,11 @@ # Hack entry points by installing it cd pytest-asyncio-$pkgver - python setup.py install --root="$PWD/tmp_install" --optimize=1 + python -m installer --destdir=tmp_install dist/*.whl PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH:$PWD/tests" py.test } package() { cd pytest-asyncio-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl }
