[arch-commits] Commit in python-pew/repos/community-any (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sun Jun 2 13:50:22 UTC 2019


    Date: Sunday, June 2, 2019 @ 13:50:22
  Author: foxboron
Revision: 476611

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  137 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 68 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-02 13:50:14 UTC (rev 476610)
+++ PKGBUILD	2019-06-02 13:50:22 UTC (rev 476611)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: Morten Linderud <foxboron at archlinux.org> 
-# Contributor: Jos? Luis Lafuente <jl at lafuente.me>
-# Contributor: Arthur Vuillard <arthur at hashbang.fr>
-
-pkgbase='python-pew'
-pkgname=('python-pew' 'python2-pew')
-pkgver=1.1.5
-pkgrel=2
-pkgdesc="Python Env Wrapper, a set of tools to manage multiple virtual environments"
-url="https://github.com/berdario/pew"
-arch=('any')
-license=('MIT')
-makedepends=('python' 'python-setuptools'
-             'python2' 'python2-setuptools')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/berdario/pew/archive/$pkgver.zip")
-sha256sums=('24b0fe0305a293acf4cc95136e73a313b4a749c5aa5ae2a56b4e384224b2381e')
-
-prepare() {
-  cp -a pew-$pkgver{,-py2}
-}
-
-build(){
-  cd "$srcdir/pew-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/pew-$pkgver-py2"
-  python2 setup.py build
-}
-
-package_python-pew() {
-  depends=('python' 'python-virtualenv' 'python-virtualenv-clone')
-  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/completions/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"
-}
-
-package_python2-pew() {
-  depends=('python2' 'python2-virtualenv' 'python2-virtualenv-clone' 
-           'python2-pathlib' 'python2-backports.shutil_get_terminal_size' 
-	   'python2-shutilwhich')
-  cd "${pkgname##*-}-${pkgver}-py2"
-  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
-  mv "${pkgdir}/usr/bin/pew" "${pkgdir}/usr/bin/pew2"
-
-  install -D -m644 "pew/shell_config/complete.fish" \
-    "$pkgdir/usr/share/fish/completions/pew2.fish"
-
-  install -D -m644 "pew/shell_config/complete.bash" \
-    "$pkgdir/usr/share/bash-completion/completions/pew2"
-
-  install -D -m644 "pew/shell_config/complete.zsh" \
-    "$pkgdir/usr/share/zsh/site-functions/_pew2"
-
-  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-

Copied: python-pew/repos/community-any/PKGBUILD (from rev 476610, python-pew/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-02 13:50:22 UTC (rev 476611)
@@ -0,0 +1,68 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org> 
+# Contributor: Jos? Luis Lafuente <jl at lafuente.me>
+# Contributor: Arthur Vuillard <arthur at hashbang.fr>
+
+pkgbase='python-pew'
+pkgname=('python-pew' 'python2-pew')
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Python Env Wrapper, a set of tools to manage multiple virtual environments"
+url="https://github.com/berdario/pew"
+arch=('any')
+license=('MIT')
+makedepends=('python' 'python-setuptools'
+             'python2' 'python2-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/berdario/pew/archive/$pkgver.zip")
+sha256sums=('58e4f04ba644080ef820c2e07d1704112727e392c2fd1d42cdc31e112ffc2345')
+
+prepare() {
+  cp -a pew-$pkgver{,-py2}
+}
+
+build(){
+  cd "$srcdir/pew-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/pew-$pkgver-py2"
+  python2 setup.py build
+}
+
+package_python-pew() {
+  depends=('python' 'python-virtualenv' 'python-virtualenv-clone')
+  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/completions/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"
+}
+
+package_python2-pew() {
+  depends=('python2' 'python2-virtualenv' 'python2-virtualenv-clone' 
+           'python2-pathlib' 'python2-backports.shutil_get_terminal_size' 
+	   'python2-shutilwhich')
+  cd "${pkgname##*-}-${pkgver}-py2"
+  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+  mv "${pkgdir}/usr/bin/pew" "${pkgdir}/usr/bin/pew2"
+
+  install -D -m644 "pew/shell_config/complete.fish" \
+    "$pkgdir/usr/share/fish/completions/pew2.fish"
+
+  install -D -m644 "pew/shell_config/complete.bash" \
+    "$pkgdir/usr/share/bash-completion/completions/pew2"
+
+  install -D -m644 "pew/shell_config/complete.zsh" \
+    "$pkgdir/usr/share/zsh/site-functions/_pew2"
+
+  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+


More information about the arch-commits mailing list