Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: python-pipenv 2022.4.21-2
Browse files Browse the repository at this point in the history
- Added temporary requirements_downgrade.patch file to revert upstream
  requirements changes to what's available in Arch (at the time of writing).
  Upstream appears to have bumped requirements unintentionally. See:
    - pypa/pipenv#5075
    - pypa/pipenv#5075 (comment)


git-svn-id: file:///srv/repos/svn-community/svn@1191061 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
andrewSC committed Apr 26, 2022
1 parent 092e54f commit c46abbe
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
13 changes: 10 additions & 3 deletions python-pipenv/trunk/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/trunk/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 c46abbe

Please sign in to comment.