[arch-commits] Commit in python-pipenv/repos/community-any (4 files)

Andrew Crerar andrewsc at gemini.archlinux.org
Tue May 3 18:49:35 UTC 2022


    Date: Tuesday, May 3, 2022 @ 18:49:34
  Author: andrewsc
Revision: 1192427

archrelease: copy trunk to community-any

Added:
  python-pipenv/repos/community-any/PKGBUILD
    (from rev 1192426, python-pipenv/trunk/PKGBUILD)
  python-pipenv/repos/community-any/requirements_downgrade.patch
    (from rev 1192426, python-pipenv/trunk/requirements_downgrade.patch)
Deleted:
  python-pipenv/repos/community-any/PKGBUILD
  python-pipenv/repos/community-any/requirements_downgrade.patch

------------------------------+
 PKGBUILD                     |   82 ++++++++++++++++++++---------------------
 requirements_downgrade.patch |   29 ++++++--------
 2 files changed, 54 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-03 18:49:17 UTC (rev 1192426)
+++ PKGBUILD	2022-05-03 18:49:34 UTC (rev 1192427)
@@ -1,41 +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=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/PKGBUILD (from rev 1192426, python-pipenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-03 18:49:34 UTC (rev 1192427)
@@ -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.5.2
+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"
+        "requirements_downgrade.patch")
+sha512sums=('0c0fcaf14046cb0d75cb9c260408683b53d6a5e5f2c20c4f73cc20c21af054ac2f18d3c616bfebf18dd6ad02731dadcc0efa85f861643c5ce7dc16d61e9d1983'
+            'd35c6c9d6c490af0b34a97ef2a5a37244df7aceb9b45d4caf8e3155cd28c9ea9721557235b6b99c880d866c89b2b479c974345fde4b989b480bcb7b9ccd34736')
+
+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"
+}

Deleted: requirements_downgrade.patch
===================================================================
--- requirements_downgrade.patch	2022-05-03 18:49:17 UTC (rev 1192426)
+++ requirements_downgrade.patch	2022-05-03 18:49:34 UTC (rev 1192427)
@@ -1,16 +0,0 @@
-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",
- ]

Copied: python-pipenv/repos/community-any/requirements_downgrade.patch (from rev 1192426, python-pipenv/trunk/requirements_downgrade.patch)
===================================================================
--- requirements_downgrade.patch	                        (rev 0)
+++ requirements_downgrade.patch	2022-05-03 18:49:34 UTC (rev 1192427)
@@ -0,0 +1,13 @@
+diff --git a/setup.py b/setup.py
+index 3a1cd31a..d7083434 100644
+--- a/setup.py
++++ b/setup.py
+@@ -21,7 +21,7 @@ if sys.argv[-1] == "publish":
+     sys.exit()
+ 
+ required = [
+-    "pip>=22.0.4",
++    "pip>=21.0.0",
+     "certifi",
+     "setuptools>=36.2.1",
+     "virtualenv-clone>=0.2.5",



More information about the arch-commits mailing list