[arch-commits] Commit in python-pip-shims/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Dec 23 08:34:14 UTC 2019


    Date: Monday, December 23, 2019 @ 08:34:14
  Author: felixonmars
Revision: 538958

archrelease: copy trunk to community-testing-any

Added:
  python-pip-shims/repos/community-testing-any/
  python-pip-shims/repos/community-testing-any/PKGBUILD
    (from rev 538957, python-pip-shims/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-pip-shims/repos/community-testing-any/PKGBUILD (from rev 538957, python-pip-shims/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-12-23 08:34:14 UTC (rev 538958)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pip-shims
+pkgver=0.4.0
+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=('fdd66f723e5dfaa2db4f7a8fb6de458fa9c0ca2de60f244d2e458f3e5274a00a0a71c1a8563e593c3e96838a4da10686a53850f466ebed4d68e73c0bc22c4c0c')
+
+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/
+}



More information about the arch-commits mailing list