Date: Monday, November 15, 2021 @ 14:14:24 Author: andrewsc Revision: 1048192
archrelease: copy trunk to community-any Added: python-pipenv/repos/community-any/PKGBUILD (from rev 1048191, python-pipenv/trunk/PKGBUILD) Deleted: python-pipenv/repos/community-any/PKGBUILD ----------+ PKGBUILD | 69 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-11-15 14:14:08 UTC (rev 1048191) +++ PKGBUILD 2021-11-15 14:14:24 UTC (rev 1048192) @@ -1,35 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Maintainer: Andrew Crerar <cre...@archlinux.org> -# Contributor: Maikel Wever <maikelwe...@gmail.com> - -pkgname=python-pipenv -pkgver=2021.11.9 -# _pkgver=2021.11.5.post0 -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=('6ad44fe70d3e3f5bbdedb891c76ad1c37863e6f4215c34f2ef6aa1a35b89fb6262f8c55f7f2e71544e550d66d20567f12ce4698f9e3a899853aa49a0849c3189') - -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 1048191, python-pipenv/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-11-15 14:14:24 UTC (rev 1048192) @@ -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=2021.11.15 +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=('080c8d0e5b43a6df805ffd3d298b3d7ce5f15a662bf568bfb173a1cedd5d49c3c970194aa64fbd22d7abe7710153f63870824ec349b29a34ca6d91c0589aad6b') + +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" +}