-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update PKGBUILD following fix introduced by pypa/pipenv#4169
upgpkg: python-pipenv-git 2018.11.26.r751.g5c01c682-1
- Loading branch information
1 parent
aa512c2
commit 46b1d52
Showing
2 changed files
with
3 additions
and
15 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Maintainer: Ilaï Deutel | ||
# Maintainer: Ilaï Deutel <PlMWPh1WSmypRv0JQljz> (echo ... | tr 'A-Za-z' 'l-za-kL-ZA-K' | base64 -d) | ||
# Contributor: Flaviu Tamas <[email protected]> | ||
# Contributor: Morten Linderud <[email protected]> | ||
# Contributor: Maikel Wever <[email protected]> | ||
|
||
pkgname=python-pipenv-git | ||
pkgver=2018.11.26.r690.ga883ef51 | ||
pkgver=2018.11.26.r751.g5c01c682 | ||
pkgrel=1 | ||
pkgdesc="Python Development Workflow for Humans." | ||
url="https://pipenv.pypa.io" | ||
|
@@ -35,18 +35,6 @@ pkgver() { | |
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
prepare() { | ||
# The setuptools package removes pkg_resources.extern because "Upstream | ||
# devendoring logic is badly broken". We use the canonical location instead. | ||
# Relevant links: | ||
# https://bugs.archlinux.org/task/58670 | ||
# https://github.com/pypa/pip/issues/5429 | ||
# https://github.com/pypa/setuptools/issues/1383 | ||
# https://github.com/sarugaku/requirementslib/issues/185 | ||
find "$srcdir/$pkgname/pipenv/vendor/requirementslib" -name \*.py \ | ||
-exec sed -i 's/pkg_resources.extern.packaging/packaging/' {} \; | ||
} | ||
|
||
build() { | ||
cd "$srcdir/$pkgname" | ||
python setup.py build | ||
|