Date: Monday, November 14, 2022 @ 21:10:27 Author: alucryd Revision: 1347873
python-curio 1.6-2: use pytest Modified: python-curio/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-11-14 21:10:25 UTC (rev 1347872) +++ PKGBUILD 2022-11-14 21:10:27 UTC (rev 1347873) @@ -2,7 +2,7 @@ pkgname=python-curio pkgver=1.6 -pkgrel=1 +pkgrel=2 pkgdesc='Concurrent I/O' arch=(any) url=https://github.com/dabeaz/curio @@ -10,8 +10,10 @@ depends=(python) makedepends=( git + python-setuptools +) +checkdepends=( python-pytest - python-setuptools python-sphinx ) provides=(python-multio-provider) @@ -21,25 +23,21 @@ pkgver() { cd curio - git describe --tags } build() { cd curio - python setup.py build } check() { cd curio - - python setup.py test + PYTHONPATH=$PWD/build/lib pytest } package() { cd curio - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-curio/ }
