Date: Saturday, May 25, 2019 @ 08:56:51 Author: felixonmars Revision: 469949
addpkg: python-pip-shims 0.3.2-1 Added: python-pip-shims/ python-pip-shims/repos/ python-pip-shims/trunk/ python-pip-shims/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: python-pip-shims/trunk/PKGBUILD =================================================================== --- python-pip-shims/trunk/PKGBUILD (rev 0) +++ python-pip-shims/trunk/PKGBUILD 2019-05-25 08:56:51 UTC (rev 469949) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <[email protected]> + +pkgname=python-pip-shims +pkgver=0.3.2 +pkgrel=1 +pkgdesc="Compatibility shims for pip versions 8 thru current" +url="https://github.com/sarugaku/pip-shims" +license=('ISC') +arch=('x86_64') +depends=('python-pip' 'python-wheel' 'python-setuptools') +checkdepends=('python-pytest-runner' 'git') +source=("$pkgname-$pkgver.tar.gz::https://github.com/sarugaku/pip-shims/archive/$pkgver.tar.gz") +sha512sums=('c2313be7f1b96be6f53611e54ac50844099a38fa451f41fb9182c3d900477c295d915fe2da3a32fcda0787d295099f2de5e5d231757eca623e0fb77c576dc956') + +build() { + cd pip-shims-$pkgver + python setup.py build +} + +check() { + cd pip-shims-$pkgver + python setup.py pytest +} + +package() { + cd pip-shims-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}
