[arch-commits] Commit in python-pew/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 19:49:55 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:49:55
  Author: felixonmars
Revision: 753638

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pew/repos/community-staging-any/PKGBUILD (from rev 753637, python-pew/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:49:55 UTC (rev 753638)
@@ -0,0 +1,37 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Jos? Luis Lafuente <jl at lafuente.me>
+# Contributor: Arthur Vuillard <arthur at hashbang.fr>
+
+pkgname='python-pew'
+pkgver=1.2.0
+pkgrel=5
+pkgdesc="Python Env Wrapper, a set of tools to manage multiple virtual environments"
+url="https://github.com/berdario/pew"
+arch=('any')
+license=('MIT')
+depends=('python' 'python-virtualenv' 'python-virtualenv-clone')
+makedepends=('python' 'python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/berdario/pew/archive/$pkgver.zip")
+sha256sums=('58e4f04ba644080ef820c2e07d1704112727e392c2fd1d42cdc31e112ffc2345')
+
+build(){
+  cd "$srcdir/pew-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "${pkgname##*-}-${pkgver}"
+  #python3 setup.py install --prefix=/usr --root="$pkgdir"
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+  install -D -m644 "pew/shell_config/complete.fish" \
+    "$pkgdir/usr/share/fish/vendor_completions.d/pew.fish"
+
+  install -D -m644 "pew/shell_config/complete.bash" \
+    "$pkgdir/usr/share/bash-completion/completions/pew"
+
+  install -D -m644 "pew/shell_config/complete.zsh" \
+    "$pkgdir/usr/share/zsh/site-functions/_pew"
+
+  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list