# $Id$ # Maintainer: José Luis Lafuente # Contributor: Arthur Vuillard pkgname='python-pew' pkgver=0.1.16 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') depends=('python' 'python-virtualenv' 'python-virtualenv-clone' 'python-pythonz-bd') makedepends=('python' 'python-setuptools') replaces=('pew') conflicts=('pew') source=("https://pypi.python.org/packages/source/p/pew/pew-$pkgver.tar.gz") package() { cd "$srcdir/pew-$pkgver" python3 setup.py build python3 setup.py install --prefix=/usr --root="$pkgdir" # link to a version with 3 suffix as well ln "$pkgdir/usr/bin/pew" "$pkgdir/usr/bin/pew3" 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" } md5sums=('be1466a0c0338fe0621dc4b77fe752cc')