Date: Monday, December 19, 2022 @ 16:30:18
Author: andrewsc
Revision: 1361638
archrelease: copy trunk to community-any
Added:
python-pipenv/repos/community-any/PKGBUILD
(from rev 1361637, python-pipenv/trunk/PKGBUILD)
Deleted:
python-pipenv/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-19 16:29:57 UTC (rev 1361637)
+++ PKGBUILD 2022-12-19 16:30:18 UTC (rev 1361638)
@@ -1,56 +0,0 @@
-# Maintainer: Morten Linderud <[email protected]>
-# Maintainer: Andrew Crerar <[email protected]>
-# Contributor: Maikel Wever <[email protected]>
-
-pkgname=python-pipenv
-pkgver=2022.11.30
-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-build'
- 'python-installer'
- 'python-setuptools'
- 'python-wheel')
-checkdepends=('python-pytest'
- 'python-pytz')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pypa/pipenv/archive/v${pkgver}.tar.gz")
-b2sums=('3d33475932a59dfb862869becb792aea420b8c9fffd9179866dc01eb5e0b2ba77a23c5de8be5570f9ed2e46f098bc000173d74766d42953f93ab2439c20d7f2c')
-
-build() {
- cd "pipenv-${pkgver}"
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd "pipenv-${pkgver}"
- pytest tests/unit --ignore tests/unit/test_utils_windows_executable.py
-}
-
-package() {
- local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- cd "pipenv-${pkgver}"
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- 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
-
- PYTHONPATH="${pkgdir}/${_site_packages}" _PIPENV_COMPLETE=bash_source
"${pkgdir}"/usr/bin/pipenv | install -Dm644 /dev/stdin
"${pkgdir}/usr/share/bash-completion/completions/pipenv"
- PYTHONPATH="${pkgdir}/${_site_packages}" _PIPENV_COMPLETE=zsh_source
"${pkgdir}"/usr/bin/pipenv | install -Dm644 /dev/stdin
"${pkgdir}/usr/share/zsh/site-functions/_pipenv"
- PYTHONPATH="${pkgdir}/${_site_packages}" _PIPENV_COMPLETE=fish_source
"${pkgdir}"/usr/bin/pipenv | install -Dm644 /dev/stdin
"${pkgdir}/usr/share/fish/vendor_completions.d/pipenv.fish"
-
- # Remove vendored cacert.pem
- # Taken from python-certifi
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
- rm "$pkgdir"/$site_packages/pipenv/patched/pip/_vendor/certifi/cacert.pem
- ln -sf /etc/ssl/certs/ca-certificates.crt
"$pkgdir"/$site_packages/pipenv/patched/pip/_vendor/certifi/cacert.pem
-}
Copied: python-pipenv/repos/community-any/PKGBUILD (from rev 1361637,
python-pipenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-19 16:30:18 UTC (rev 1361638)
@@ -0,0 +1,56 @@
+# Maintainer: Morten Linderud <[email protected]>
+# Maintainer: Andrew Crerar <[email protected]>
+# Contributor: Maikel Wever <[email protected]>
+
+pkgname=python-pipenv
+pkgver=2022.12.19
+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-build'
+ 'python-installer'
+ 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest'
+ 'python-pytz')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pypa/pipenv/archive/v${pkgver}.tar.gz")
+b2sums=('812aa7eacd2b1eaa42a586e64b73e7a13d2ac3ed4c2abf834e190ed5a8a4398d3d17999c1e196de6b01eb755f6771493967b8497710ac3fe20d73408f6251f80')
+
+build() {
+ cd "pipenv-${pkgver}"
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "pipenv-${pkgver}"
+ pytest tests/unit --ignore tests/unit/test_utils_windows_executable.py
+}
+
+package() {
+ local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ cd "pipenv-${pkgver}"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ 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
+
+ PYTHONPATH="${pkgdir}/${_site_packages}" _PIPENV_COMPLETE=bash_source
"${pkgdir}"/usr/bin/pipenv | install -Dm644 /dev/stdin
"${pkgdir}/usr/share/bash-completion/completions/pipenv"
+ PYTHONPATH="${pkgdir}/${_site_packages}" _PIPENV_COMPLETE=zsh_source
"${pkgdir}"/usr/bin/pipenv | install -Dm644 /dev/stdin
"${pkgdir}/usr/share/zsh/site-functions/_pipenv"
+ PYTHONPATH="${pkgdir}/${_site_packages}" _PIPENV_COMPLETE=fish_source
"${pkgdir}"/usr/bin/pipenv | install -Dm644 /dev/stdin
"${pkgdir}/usr/share/fish/vendor_completions.d/pipenv.fish"
+
+ # Remove vendored cacert.pem
+ # Taken from python-certifi
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ rm "$pkgdir"/$site_packages/pipenv/patched/pip/_vendor/certifi/cacert.pem
+ ln -sf /etc/ssl/certs/ca-certificates.crt
"$pkgdir"/$site_packages/pipenv/patched/pip/_vendor/certifi/cacert.pem
+}