Date: Wednesday, August 31, 2022 @ 20:33:49 Author: felixonmars Revision: 1289414
archrelease: copy trunk to community-any Added: python-pip-shims/repos/community-any/PKGBUILD (from rev 1289413, python-pip-shims/trunk/PKGBUILD) Deleted: python-pip-shims/repos/community-any/PKGBUILD ----------+ PKGBUILD | 67 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 37 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-31 20:33:33 UTC (rev 1289413) +++ PKGBUILD 2022-08-31 20:33:49 UTC (rev 1289414) @@ -1,30 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-pip-shims -pkgver=0.7.1 -pkgrel=1 -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=('baaef8b6789e07624fd8b631fd78b4be593616bc5ac2f36f27c8e6dc5962f75c73fd9e62fa3db9ab58a3f8e5f6c148b84434fe0117ab9407277444fe1d1893d0') - -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/ -} Copied: python-pip-shims/repos/community-any/PKGBUILD (from rev 1289413, python-pip-shims/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-31 20:33:49 UTC (rev 1289414) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pip-shims +pkgver=0.7.2 +pkgrel=1 +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" + $pkgname-pip-22.2.patch::https://github.com/sarugaku/pip-shims/pull/86.patch) +sha512sums=('ef23f2a625d32d9dca68e45f847e4655570d369d755e5f24880ee5997385b047f6dcdfcceefa4c8ddb6af72004eb5964fa22fa7c47bae924cd5de6dac61da932' + '025524336cad457e553e22d3c4cc32939fff9d7cc02ba74906330a0a63dfbeba942ce23834bc4a4e0bf91d0405b4e8999d76f8adee0af73a7cd1c67ad9095255') + +prepare() { + cd pip-shims-$pkgver + patch -p1 -i ../$pkgname-pip-22.2.patch +} + +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/ +}