Date: Friday, April 27, 2018 @ 15:54:29 Author: foxboron Revision: 318291
archrelease: copy trunk to community-any Added: python-pipenv/repos/community-any/PKGBUILD (from rev 318290, python-pipenv/trunk/PKGBUILD) Deleted: python-pipenv/repos/community-any/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-27 15:53:24 UTC (rev 318290) +++ PKGBUILD 2018-04-27 15:54:29 UTC (rev 318291) @@ -1,57 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contributor: Maikel Wever <maikelwe...@gmail.com> - -pkgbase=python-pipenv -pkgname=(python-pipenv python2-pipenv) -pkgver=11.10.0 -pkgrel=2 -pkgdesc="Sacred Marriage of Pipfile, Pip, & Virtualenv." -url="https://docs.pipenv.org" -arch=('any') -license=('MIT') -makedepends=('python' 'python-setuptools' - 'python2' 'python2-setuptools') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pypa/pipenv/archive/v${pkgver}.tar.gz") -sha256sums=('fb60f5c49b77b9beb760ecebf34b7ce70a3a00e44ec4872de033e694960b1dab') - -prepare() { - cp -a pipenv-$pkgver{,-py2} -} - -build(){ - cd "$srcdir/pipenv-$pkgver" - python setup.py build - - cd "$srcdir/pipenv-$pkgver-py2" - python2 setup.py build -} - -package_python2-pipenv() { - depends=('python2' 'python2-pip' 'python2-pew' 'python2-virtualenv' - 'python2-virtualenv-clone' 'python2-pathlib' 'python2-ordereddict' - 'python2-setuptools' 'python2-certifi' 'python2-pyopenssl' - 'python2-cryptography' 'python2-idna') - cd "pipenv-$pkgver-py2" - python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build - install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - mv "${pkgdir}/usr/bin/pipenv" "${pkgdir}/usr/bin/pipenv2" - mv "${pkgdir}/usr/bin/pewtwo" "${pkgdir}/usr/bin/pewtwo2" - mv "${pkgdir}/usr/bin/pipenv-resolver" "${pkgdir}/usr/bin/pipenv-resolver2" - - SHELL=bash python2 -m pipenv --completion | sed 's/pipenv/pipenv2/g' | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/pipenv2" - SHELL=zsh python2 -m pipenv --completion | sed 's/pipenv/pipenv2/g' | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_pipenv2" - SHELL=fish python2 -m pipenv --completion | sed 's/pipenv/pipenv2/g' | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/pipenv2.fish" -} - -package_python-pipenv() { - depends=('python' 'python-pip' 'python-pew' 'python-virtualenv' - 'python-setuptools' 'python-virtualenv-clone' 'python-certifi') - cd "pipenv-$pkgver" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build - install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - SHELL=bash python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/pipenv" - SHELL=zsh python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_pipenv" - SHELL=fish python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/pipenv.fish" -} Copied: python-pipenv/repos/community-any/PKGBUILD (from rev 318290, python-pipenv/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-27 15:54:29 UTC (rev 318291) @@ -0,0 +1,57 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Maikel Wever <maikelwe...@gmail.com> + +pkgbase=python-pipenv +pkgname=(python-pipenv python2-pipenv) +pkgver=11.10.1 +pkgrel=1 +pkgdesc="Sacred Marriage of Pipfile, Pip, & Virtualenv." +url="https://docs.pipenv.org" +arch=('any') +license=('MIT') +makedepends=('python' 'python-setuptools' + 'python2' 'python2-setuptools') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pypa/pipenv/archive/v${pkgver}.tar.gz") +sha256sums=('ea316e70d2e8f7f1146bffd2370a1d7892a0975497444e4c5d867728f213b3b3') + +prepare() { + cp -a pipenv-$pkgver{,-py2} +} + +build(){ + cd "$srcdir/pipenv-$pkgver" + python setup.py build + + cd "$srcdir/pipenv-$pkgver-py2" + python2 setup.py build +} + +package_python2-pipenv() { + depends=('python2' 'python2-pip' 'python2-pew' 'python2-virtualenv' + 'python2-virtualenv-clone' 'python2-pathlib' 'python2-ordereddict' + 'python2-setuptools' 'python2-certifi' 'python2-pyopenssl' + 'python2-cryptography' 'python2-idna') + cd "pipenv-$pkgver-py2" + python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + mv "${pkgdir}/usr/bin/pipenv" "${pkgdir}/usr/bin/pipenv2" + mv "${pkgdir}/usr/bin/pewtwo" "${pkgdir}/usr/bin/pewtwo2" + mv "${pkgdir}/usr/bin/pipenv-resolver" "${pkgdir}/usr/bin/pipenv-resolver2" + + SHELL=bash python2 -m pipenv --completion | sed 's/pipenv/pipenv2/g' | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/pipenv2" + SHELL=zsh python2 -m pipenv --completion | sed 's/pipenv/pipenv2/g' | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_pipenv2" + SHELL=fish python2 -m pipenv --completion | sed 's/pipenv/pipenv2/g' | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/pipenv2.fish" +} + +package_python-pipenv() { + depends=('python' 'python-pip' 'python-pew' 'python-virtualenv' + 'python-setuptools' 'python-virtualenv-clone' 'python-certifi') + cd "pipenv-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + SHELL=bash python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/pipenv" + SHELL=zsh python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_pipenv" + SHELL=fish python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/pipenv.fish" +}