Date: Monday, March 28, 2022 @ 16:50:54 Author: andrewsc Revision: 1177389
archrelease: copy trunk to community-any Added: python-pipenv/repos/community-any/PKGBUILD (from rev 1177388, python-pipenv/trunk/PKGBUILD) Deleted: python-pipenv/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-28 16:50:36 UTC (rev 1177388) +++ PKGBUILD 2022-03-28 16:50:54 UTC (rev 1177389) @@ -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.3.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=('fc242620e4bcdc6f6a099dd0e2a87f41663e536bdd43218441f119336595459265d2d290ef9beb56495214de446d809fbfe347dccbe234f08fd819473c2bb211') - -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 1177388, python-pipenv/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-28 16:50:54 UTC (rev 1177389) @@ -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.3.28 +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=('368195bcb93c79d7af4e816811f77801218a601890bf58402664cb3e9edd632d06096a67ec13199ecd4765fc2d105cb967bf256e7871e18b93b4b1a32928bfa7') + +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" +}