Date: Saturday, September 3, 2022 @ 19:13:42
  Author: ffy00
Revision: 1292701

upgpkg: python-pipx 1.1.0-1

Modified:
  python-pipx/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-03 19:12:10 UTC (rev 1292700)
+++ PKGBUILD    2022-09-03 19:13:42 UTC (rev 1292701)
@@ -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 @@
 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
 }

Reply via email to