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

Felix Yan felixonmars at archlinux.org
Sat May 25 08:57:11 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:57:11
  Author: felixonmars
Revision: 469950

archrelease: copy trunk to community-x86_64

Added:
  python-pip-shims/repos/community-x86_64/
  python-pip-shims/repos/community-x86_64/PKGBUILD
    (from rev 469949, python-pip-shims/trunk/PKGBUILD)

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

Copied: python-pip-shims/repos/community-x86_64/PKGBUILD (from rev 469949, python-pip-shims/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-05-25 08:57:11 UTC (rev 469950)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+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/
+}



More information about the arch-commits mailing list