[arch-commits] Commit in python-pipenv/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 11:16:50 UTC 2021
Date: Wednesday, December 1, 2021 @ 11:16:49
Author: foutrelis
Revision: 1059136
archrelease: copy trunk to community-staging-any
Added:
python-pipenv/repos/community-staging-any/
python-pipenv/repos/community-staging-any/PKGBUILD
(from rev 1059134, python-pipenv/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-pipenv/repos/community-staging-any/PKGBUILD (from rev 1059134, python-pipenv/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 11:16:49 UTC (rev 1059136)
@@ -0,0 +1,34 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Andrew Crerar <crerar at archlinux.org>
+# Contributor: Maikel Wever <maikelwever at gmail.com>
+
+pkgname=python-pipenv
+pkgver=2021.11.23
+pkgrel=2
+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=('3873a3e7de33677b63bb133e397f46030ec28a24479b38009a4c409d93277327e8f53694fa56fdb8120f9cd632e849fde6f4205e29d9f5704c8844101e8e8298')
+
+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"
+}
More information about the arch-commits
mailing list