Skip to content

Commit

Permalink
upgpkg: python-pipenv 2022.4.21-2
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsc authored and Foxboron committed Apr 27, 2022
1 parent 3e32d15 commit afdafee
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
4 changes: 3 additions & 1 deletion python-pipenv/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = python-pipenv
pkgdesc = Sacred Marriage of Pipfile, Pip, & Virtualenv.
pkgver = 2022.4.21
pkgrel = 1
pkgrel = 2
url = https://pipenv.pypa.io
arch = any
license = MIT
Expand All @@ -12,6 +12,8 @@ pkgbase = python-pipenv
depends = python-virtualenv-clone
depends = python-virtualenv
source = python-pipenv-2022.4.21.tar.gz::https://github.com/pypa/pipenv/archive/v2022.4.21.tar.gz
source = requirements_downgrade.patch
sha512sums = b79901c65d13a346c6666ff15284453069c58306228ae93c0257b473c2ef8efa2c8611071f1535d15253ce694929412546aba7988829b843b835e7862822a426
sha512sums = a36117df9f9731e0c9393ac02434608191cd760e3e2c8e4d28fef6260c8db69edd7e08cffb321c8792eaa45b8b49cd68475593d11c9d90850cb9940d4472ee6b

pkgname = python-pipenv
13 changes: 10 additions & 3 deletions python-pipenv/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,23 @@

pkgname=python-pipenv
pkgver=2022.4.21
pkgrel=1
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=('b79901c65d13a346c6666ff15284453069c58306228ae93c0257b473c2ef8efa2c8611071f1535d15253ce694929412546aba7988829b843b835e7862822a426')
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}"
Expand Down
16 changes: 16 additions & 0 deletions python-pipenv/requirements_downgrade.patch
Original file line number Diff line number Diff line change
@@ -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",
]

0 comments on commit afdafee

Please sign in to comment.