diff --git a/python-pipenv/trunk/PKGBUILD b/python-pipenv/trunk/PKGBUILD index 6345a077890c..593a0fd01a83 100644 --- a/python-pipenv/trunk/PKGBUILD +++ b/python-pipenv/trunk/PKGBUILD @@ -4,7 +4,7 @@ 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') @@ -12,8 +12,15 @@ 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}" diff --git a/python-pipenv/trunk/requirements_downgrade.patch b/python-pipenv/trunk/requirements_downgrade.patch new file mode 100644 index 000000000000..b879ac01c374 --- /dev/null +++ b/python-pipenv/trunk/requirements_downgrade.patch @@ -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", + ]