Date: Tuesday, November 30, 2021 @ 21:12:32 Author: foutrelis Revision: 1058853
archrelease: copy trunk to community-staging-any Added: python-pip-shims/repos/community-staging-any/ python-pip-shims/repos/community-staging-any/PKGBUILD (from rev 1058852, python-pip-shims/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: python-pip-shims/repos/community-staging-any/PKGBUILD (from rev 1058852, python-pip-shims/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-11-30 21:12:32 UTC (rev 1058853) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pip-shims +pkgver=0.5.3 +pkgrel=4 +pkgdesc="Compatibility shims for pip versions 8 thru current" +url="https://github.com/sarugaku/pip-shims" +license=('ISC') +arch=('any') +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=('7a2b72d3483298ffeaa7ba24bdc7550e0a72ea3d373f43761afdcdc8399a518191191a2b4cc70aadfcaf1fa34e7843984c5e33ec32e4f1d10084f2497bfb61f7') + +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/ +}