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 a14fa2b commit 99e26a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion python-pipenv-git/.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 python-pipenv-git/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 <me@flaviutamas.com>
# Contributor: Morten Linderud <foxboron@archlinux.org>
# Contributor: Maikel Wever <maikelwever@gmail.com>

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 99e26a2

Please sign in to comment.