Created
October 12, 2018 21:10
-
-
Save stefancocora/d28231225ba3fda80e67afa024d889bc to your computer and use it in GitHub Desktop.
Archlinux community package python-pipenv patch for pipenv-2018.10.9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ruN python-pipenv-orig/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch python-pipenv/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch | |
--- python-pipenv-orig/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch 2018-10-04 04:48:33.000000000 +0100 | |
+++ python-pipenv/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch 2018-10-12 22:01:34.479222495 +0100 | |
@@ -16,14 +16,14 @@ | |
1 file changed, 1 deletion(-) | |
diff --git a/setup.py b/setup.py | |
-index 7c87a2d6..179359f0 100644 | |
+index 4a6b9389..2aef2868 100644 | |
--- a/setup.py | |
+++ b/setup.py | |
-@@ -130,7 +130,6 @@ setup( | |
+@@ -132,7 +132,6 @@ setup( | |
], | |
}, | |
- python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', | |
-- setup_requires=['invoke', 'parver'], | |
+ python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", | |
+- setup_requires=["invoke", "parver"], | |
install_requires=required, | |
extras_require={}, | |
include_package_data=True, | |
diff -ruN python-pipenv-orig/PKGBUILD python-pipenv/PKGBUILD | |
--- python-pipenv-orig/PKGBUILD 2018-10-04 04:48:33.000000000 +0100 | |
+++ python-pipenv/PKGBUILD 2018-10-12 22:04:45.037465823 +0100 | |
@@ -3,8 +3,8 @@ | |
pkgbase=python-pipenv | |
pkgname=(python-pipenv python2-pipenv) | |
-pkgver=2018.7.1 | |
-pkgrel=3 | |
+pkgver=2018.10.9 | |
+pkgrel=2 | |
pkgdesc="Sacred Marriage of Pipfile, Pip, & Virtualenv." | |
url="https://docs.pipenv.org" | |
arch=('any') | |
@@ -18,8 +18,8 @@ | |
# 'python2-pytest' 'python2-pytest-runner') | |
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pypa/pipenv/archive/v${pkgver}.tar.gz" | |
"0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch") | |
-sha256sums=('e7428c4a3ac93b8ad0a7819e043191865fc75b93a4a26a7288bf2a12883bca7a' | |
- 'c518c4a1f761aa41eb5e54f92aab4b8322bff36f188d48f014059bd13e0b0eae') | |
+sha256sums=('83603bc1eba913cbf3799317bd4c24ccdd704541f458799bb6f976d674b528b6' | |
+ '879572b518530d09666133727dce37f87276a50e73ce0318ccdb41afd7894241') | |
prepare() { | |
patch -p1 -d pipenv-$pkgver < 0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch | |
@@ -52,7 +52,6 @@ | |
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | |
mv "${pkgdir}/usr/bin/pipenv" "${pkgdir}/usr/bin/pipenv2" | |
- mv "${pkgdir}/usr/bin/pewtwo" "${pkgdir}/usr/bin/pewtwo2" | |
mv "${pkgdir}/usr/bin/pipenv-resolver" "${pkgdir}/usr/bin/pipenv-resolver2" | |
PIPENV_SHELL=bash python2 -m pipenv --completion | sed 's/pipenv/pipenv2/g' | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/pipenv2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment