Date: Wednesday, September 7, 2022 @ 21:50:30 Author: andrewsc Revision: 1296124
archrelease: copy trunk to community-any Added: python-pipenv/repos/community-any/PKGBUILD (from rev 1296123, python-pipenv/trunk/PKGBUILD) Deleted: python-pipenv/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-07 21:50:11 UTC (rev 1296123) +++ PKGBUILD 2022-09-07 21:50:30 UTC (rev 1296124) @@ -1,34 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Maintainer: Andrew Crerar <cre...@archlinux.org> -# Contributor: Maikel Wever <maikelwe...@gmail.com> - -pkgname=python-pipenv -pkgver=2022.8.24 -pkgrel=1 -pkgdesc="Sacred Marriage of Pipfile, Pip, & Virtualenv." -url="https://pipenv.pypa.io" -arch=('any') -license=('MIT') -depends=('python' 'python-pip' 'python-certifi' - 'python-virtualenv-clone' 'python-virtualenv') -makedepends=('python-setuptools') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pypa/pipenv/archive/v${pkgver}.tar.gz") -sha512sums=('9a8ecbd78c2a95b16ce50fa7f9c1d89955035cb45614ef68880c17fce85b6fc983a993f2c8019a0b7cee11d503fcbebd0860d527d1baef028bbccba52e415fa1') - -build() { - cd "pipenv-${pkgver}" - python setup.py build -} - -package() { - cd "pipenv-${pkgver}" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build - install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - pushd pipenv - find . -name \*LICENSE\* -exec install -Dm 644 \{\} "${pkgdir}/usr/share/licenses/${pkgname}/"\{\} \; - popd - - PIPENV_SHELL=bash python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/pipenv" - PIPENV_SHELL=zsh python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_pipenv" - 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 1296123, python-pipenv/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-07 21:50:30 UTC (rev 1296124) @@ -0,0 +1,34 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Maintainer: Andrew Crerar <cre...@archlinux.org> +# Contributor: Maikel Wever <maikelwe...@gmail.com> + +pkgname=python-pipenv +pkgver=2022.9.4 +pkgrel=1 +pkgdesc="Sacred Marriage of Pipfile, Pip, & Virtualenv." +url="https://pipenv.pypa.io" +arch=('any') +license=('MIT') +depends=('python' 'python-pip' 'python-certifi' + 'python-virtualenv-clone' 'python-virtualenv') +makedepends=('python-setuptools') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pypa/pipenv/archive/v${pkgver}.tar.gz") +b2sums=('f4fc9cb8f0218608b3fae5b5ddebf920a9143bf46f8c16e88368d625f96b77a4f7b4b351d96cdde86f39b33bc6842457daeb8f96eb87f54e1d6fa5955d4a3097') + +build() { + cd "pipenv-${pkgver}" + python setup.py build +} + +package() { + cd "pipenv-${pkgver}" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + pushd pipenv + find . -name \*LICENSE\* -exec install -Dm 644 \{\} "${pkgdir}/usr/share/licenses/${pkgname}/"\{\} \; + popd + + PIPENV_SHELL=bash python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/pipenv" + PIPENV_SHELL=zsh python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_pipenv" + PIPENV_SHELL=fish python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/pipenv.fish" +}