Date: Friday, April 7, 2023 @ 10:24:31
  Author: felixonmars
Revision: 1440974

archrelease: copy trunk to community-staging-any

Added:
  python-pipx/repos/community-staging-any/
  python-pipx/repos/community-staging-any/PKGBUILD
    (from rev 1440972, python-pipx/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: python-pipx/repos/community-staging-any/PKGBUILD (from rev 1440972, 
python-pipx/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 10:24:31 UTC (rev 1440974)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe LaĆ­ns (FFY00) <[email protected]>
+
+_pkgname=pipx
+pkgname=python-$_pkgname
+pkgver=1.1.0
+pkgrel=2
+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-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=('32601c0e431429b4d9c47498973ad49c8fe04639c45997e27d4aac12cc8aa1234a91c231a24ebcc144ce51e9f58a68f8aa884656a45bb515f69a7e911b769179')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python -m build -nw
+}
+
+#check() {
+#  cd $_pkgname-$pkgver
+#
+#  nox
+#}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python -m installer -d "$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to