Date: Monday, June 1, 2020 @ 02:27:52 Author: andrewsc Revision: 637794
upgpkg: python-pipenv 2020.5.28-1 Modified: python-pipenv/trunk/PKGBUILD ----------+ PKGBUILD | 35 ++++++++--------------------------- 1 file changed, 8 insertions(+), 27 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-06-01 01:16:04 UTC (rev 637793) +++ PKGBUILD 2020-06-01 02:27:52 UTC (rev 637794) @@ -3,43 +3,24 @@ # Contributor: Maikel Wever <maikelwe...@gmail.com> pkgname=python-pipenv -pkgver=2018.11.26 -pkgrel=3 +pkgver=2020.5.28 +pkgrel=1 pkgdesc="Sacred Marriage of Pipfile, Pip, & Virtualenv." url="https://pipenv.pypa.io" arch=('any') license=('MIT') -depends=('python' 'python-pip' 'python-pew' 'python-virtualenv' - 'python-virtualenv-clone' 'python-certifi') +depends=('python' 'python-pip' 'python-certifi' + 'python-virtualenv-clone' 'python-virtualenv') makedepends=('python-setuptools') -#checkdepends=('python-pytest' 'python-pytest-runner' -# 'python-pip' 'python-certifi' 'python-virtualenv' -# 'python-virtualenv-clone' 'python-strict-rfc3339' -# 'python-pytz' 'python-flaky' 'python-mock' -# '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=('b095395fa6763329fec54c8f6df38c35a39ec3b8b316a4418829e44d50cbc631' - '878fd681571afe7e9664fcb06828f41e999d33dc31ae3b11cfbd93475fe8516d') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pypa/pipenv/archive/v${pkgver}.tar.gz") +sha512sums=('a1f93503c5817ce3e3aaed125af182640ac9d6c866187e7a010abd1979c9526c569e5cd5bf4e84065fc59a6f9d555a1b4fc34fb84cd18ea161e4c7d092ae5799') -prepare() { - patch -p1 -d pipenv-$pkgver < 0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch -} - -build(){ +build() { cd "$srcdir/pipenv-$pkgver" python setup.py build } -#check(){ -# cd "$srcdir/pipenv-$pkgver" -# python setup.py pytest -# -# cd "$srcdir/pipenv-$pkgver-py2" -# python2 setup.py pytest -#} - -package_python-pipenv() { +package() { cd "pipenv-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 --skip-build install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"