[arch-commits] Commit in python-pipx/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 19:13:16 UTC 2020
Date: Thursday, November 12, 2020 @ 19:13:16
Author: foutrelis
Revision: 753373
archrelease: copy trunk to community-staging-any
Added:
python-pipx/repos/community-staging-any/
python-pipx/repos/community-staging-any/PKGBUILD
(from rev 753372, python-pipx/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-pipx/repos/community-staging-any/PKGBUILD (from rev 753372, python-pipx/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 19:13:16 UTC (rev 753373)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pipx
+pkgname=python-$_pkgname
+pkgver=0.15.6.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')
+makedepends=('python-setuptools')
+checkdepends=('python-tox' 'python-pytest')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('4b88fd27c676b136c1dfcfe23ccdaf0b6fde44e93c4ee7decb44d03e7e2255ca76da38de336ef2bb3c36486283a70973fe191ac067afa3974f8437b38c04ed12')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+#check() {
+# cd $_pkgname-$pkgver
+#
+# nox
+#}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list