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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 19:53:01 UTC 2020


    Date: Monday, November 9, 2020 @ 19:53:01
  Author: foutrelis
Revision: 748087

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

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

Copied: python-pip-shims/repos/community-staging-any/PKGBUILD (from rev 748085, python-pip-shims/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 19:53:01 UTC (rev 748087)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pip-shims
+pkgver=0.5.3
+pkgrel=2
+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/
+}



More information about the arch-commits mailing list