[arch-commits] Commit in python-pipenv/repos/community-any (3 files)
Andrew Crerar
andrewsc at gemini.archlinux.org
Tue Apr 26 20:26:42 UTC 2022
Date: Tuesday, April 26, 2022 @ 20:26:42
Author: andrewsc
Revision: 1191062
archrelease: copy trunk to community-any
Added:
python-pipenv/repos/community-any/PKGBUILD
(from rev 1191061, python-pipenv/trunk/PKGBUILD)
python-pipenv/repos/community-any/requirements_downgrade.patch
(from rev 1191061, python-pipenv/trunk/requirements_downgrade.patch)
Deleted:
python-pipenv/repos/community-any/PKGBUILD
------------------------------+
PKGBUILD | 75 ++++++++++++++++++++++-------------------
requirements_downgrade.patch | 16 ++++++++
2 files changed, 57 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-26 20:26:19 UTC (rev 1191061)
+++ PKGBUILD 2022-04-26 20:26:42 UTC (rev 1191062)
@@ -1,34 +0,0 @@
-# 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=2022.4.21
-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=('b79901c65d13a346c6666ff15284453069c58306228ae93c0257b473c2ef8efa2c8611071f1535d15253ce694929412546aba7988829b843b835e7862822a426')
-
-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 1191061, python-pipenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-26 20:26:42 UTC (rev 1191062)
@@ -0,0 +1,41 @@
+# 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=2022.4.21
+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"
+ "requirements_downgrade.patch")
+sha512sums=('b79901c65d13a346c6666ff15284453069c58306228ae93c0257b473c2ef8efa2c8611071f1535d15253ce694929412546aba7988829b843b835e7862822a426'
+ 'a36117df9f9731e0c9393ac02434608191cd760e3e2c8e4d28fef6260c8db69edd7e08cffb321c8792eaa45b8b49cd68475593d11c9d90850cb9940d4472ee6b')
+
+prepare() {
+ cd "pipenv-${pkgver}"
+ patch -Np1 -i ../requirements_downgrade.patch
+}
+
+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/requirements_downgrade.patch (from rev 1191061, python-pipenv/trunk/requirements_downgrade.patch)
===================================================================
--- requirements_downgrade.patch (rev 0)
+++ requirements_downgrade.patch 2022-04-26 20:26:42 UTC (rev 1191062)
@@ -0,0 +1,16 @@
+diff --git a/setup.py b/setup.py
+index d07a359a..42d29e0a 100644
+--- a/setup.py
++++ b/setup.py
+@@ -21,9 +21,9 @@ if sys.argv[-1] == "publish":
+ sys.exit()
+
+ required = [
+- "pip>=22.0.4",
++ "pip>=21.0.0",
+ "certifi",
+- "setuptools>=60.0.0",
++ "setuptools>=59.5.0",
+ "virtualenv-clone>=0.2.5",
+ "virtualenv",
+ ]
More information about the arch-commits
mailing list