Skip to content

Commit

Permalink
Update PKGBUILD following fix introduced by pypa/pipenv#4169
Browse files Browse the repository at this point in the history
upgpkg: python-pipenv-git 2018.11.26.r751.g5c01c682-1
  • Loading branch information
ilai-deutel committed Apr 12, 2020
1 parent aa512c2 commit 46b1d52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgbase = python-pipenv-git
pkgdesc = Python Development Workflow for Humans.
pkgver = 2018.11.26.r690.ga883ef51
pkgver = 2018.11.26.r751.g5c01c682
pkgrel = 1
url = https://pipenv.pypa.io
arch = any
Expand Down
16 changes: 2 additions & 14 deletions PKGBUILD
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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 46b1d52

Please sign in to comment.