author | Filipe Laíns
<lains@archlinux.org> 2022-09-03 19:13:42 UTC |
committer | Filipe Laíns
<lains@archlinux.org> 2022-09-03 19:13:42 UTC |
parent | fe99c60bfa380cb203838773954730ea17c581f6 |
PKGBUILD | +8 | -8 |
diff --git a/PKGBUILD b/PKGBUILD index 89d6fbf..216abaf 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,22 +2,22 @@ _pkgname=pipx pkgname=python-$_pkgname -pkgver=0.16.4 -pkgrel=2 +pkgver=1.1.0 +pkgrel=1 pkgdesc='Install and Run Python Applications in Isolated Environments' arch=('any') url='https://github.com/pipxproject/pipx' license=('MIT' 'BSD') -depends=('python' 'python-userpath' 'python-argcomplete' 'python-colorama' 'python-packaging') -makedepends=('python-setuptools') -checkdepends=('python-tox' 'python-pytest') +depends=('python' 'python-userpath' 'python-argcomplete' 'python-packaging') +makedepends=('python-build' 'python-installer' 'python-hatchling' 'python-wheel') +#checkdepends=('python-tox' 'python-pytest') source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") -sha512sums=('10b2472336dcb568fa360ae81cbb228c0868aef38f85988ebf722f9c57423f006ed57c9329fe03a9ed49a0060bc2612c621ed67df0fc13e121a6808711528487') +sha512sums=('32601c0e431429b4d9c47498973ad49c8fe04639c45997e27d4aac12cc8aa1234a91c231a24ebcc144ce51e9f58a68f8aa884656a45bb515f69a7e911b769179') build() { cd $_pkgname-$pkgver - python setup.py build + python -m build -nw } #check() { @@ -29,7 +29,7 @@ build() { 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 }