Date: Friday, April 14, 2023 @ 22:41:50 Author: arojas Revision: 1446092
upgpkg: python-hypothesmith 0.2.3-1: Update to 0.2.3 Modified: python-hypothesmith/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-04-14 22:35:44 UTC (rev 1446091) +++ PKGBUILD 2023-04-14 22:41:50 UTC (rev 1446092) @@ -1,17 +1,17 @@ # Maintainer: Felix Yan <[email protected]> pkgname=python-hypothesmith -pkgver=0.2.1 -pkgrel=3 +pkgver=0.2.3 +pkgrel=1 pkgdesc="Hypothesis strategies for generating Python programs, something like CSmith" url="https://github.com/Zac-HD/hypothesmith" license=('MPL') arch=('any') depends=('python-hypothesis' 'python-lark-parser' 'python-libcst') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') checkdepends=('python-black' 'python-parso' 'python-pytest') source=("https://pypi.io/packages/source/h/hypothesmith/hypothesmith-$pkgver.tar.gz") -sha512sums=('3a09ab033b13b6ed5e043cced42df2e320f2c5949c4eb946bcf0ecf3aec07d544d91591beda3a8e6cc0ba92b8d1bed30d030bc069222e7a0ce3f3e247fc8adac') +sha512sums=('effc9ba821c161d1464ca497c4b494e49fc447de3898884e77395caed380ba91b9742b88c93a2685238957dcb30642a96993ebfba25f1c14d2249d35395f44a7') prepare() { cd hypothesmith-$pkgver @@ -20,15 +20,15 @@ build() { cd hypothesmith-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { cd hypothesmith-$pkgver - PYTHONPATH="$PWD/build/lib" pytest + PYTHONPATH="$PWD/build/lib" pytest -v } package() { cd hypothesmith-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl }
