Date: Saturday, September 3, 2022 @ 19:38:38 Author: ffy00 Revision: 1292725
upgpkg: python-tox-current-env 0.0.8-1 Modified: python-tox-current-env/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-09-03 19:36:54 UTC (rev 1292724) +++ PKGBUILD 2022-09-03 19:38:38 UTC (rev 1292725) @@ -2,27 +2,27 @@ _pkgname=tox-current-env pkgname=python-$_pkgname -pkgver=0.0.6 -pkgrel=3 +pkgver=0.0.8 +pkgrel=1 pkgdesc='tox plugin to run tests in current Python environment' arch=('any') url='https://github.com/fedora-python/tox-current-env' license=('MIT') depends=('python' 'python-tox') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha512sums=('9e68b18dffa2ea7cb387f2b51d3116d396ac92f6b53b16ac7b80e8ff90bb92e482e6b00b2a1abb18332aeb9dbf8e060fc4f2e1edab8f9232a571544f7036a919') +sha512sums=('f440fa50d20341c007ace1c18a0ff638038c2a0997f4de09c053ca0d5fad9d36f3de5a205bb2d759b98466c97d23b03a4ff37b59620bbcd59e18aa2d2ebca7b7') build() { cd $_pkgname-$pkgver - python setup.py build + python -m build -nw } package() { cd $_pkgname-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer -d "$pkgdir" dist/*.whl install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }