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

Felix Yan felixonmars at archlinux.org
Thu Jan 30 08:46:52 UTC 2020


    Date: Thursday, January 30, 2020 @ 08:46:52
  Author: felixonmars
Revision: 560037

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 560036, python-pip-shims/trunk/PKGBUILD)

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

Copied: python-pip-shims/repos/community-testing-any/PKGBUILD (from rev 560036, python-pip-shims/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-01-30 08:46:52 UTC (rev 560037)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pip-shims
+pkgver=0.5.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=('958446f9691617313a40691272c567237ec9a96e091895052641afb17f7858e81ff05c3f89b79b931ba900bb94483a4787970c42704a3aeb9bf6302cc82a3ca6')
+
+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