[arch-commits] Commit in python-pip-shims/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 06:18:14 UTC 2019
Date: Saturday, October 26, 2019 @ 06:18:13
Author: felixonmars
Revision: 520258
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 520257, python-pip-shims/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-pip-shims/repos/community-staging-any/PKGBUILD (from rev 520257, python-pip-shims/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 06:18:13 UTC (rev 520258)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pip-shims
+pkgver=0.3.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=('4c467dc7d63bcdd5f17f3ffad9228b7c80ef0effbed3d40815b4c8d077d019f7a20d93b99e36498330e12a44011ff195d5a2faa4456a82cf81174b1ea6cfa759')
+
+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