[arch-commits] Commit in python-pip-api/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 05:04:48 UTC 2020
Date: Tuesday, November 10, 2020 @ 05:04:47
Author: foutrelis
Revision: 749281
archrelease: copy trunk to community-staging-any
Added:
python-pip-api/repos/community-staging-any/
python-pip-api/repos/community-staging-any/PKGBUILD
(from rev 749280, python-pip-api/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-pip-api/repos/community-staging-any/PKGBUILD (from rev 749280, python-pip-api/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 05:04:47 UTC (rev 749281)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pip-api
+pkgver=0.0.14
+pkgrel=2
+pkgdesc="An unofficial, importable pip API"
+url="https://github.com/di/pip-api"
+license=('Apache')
+arch=('any')
+depends=('python-packaging' 'python-pip')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pretend' 'python-virtualenv')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/di/pip-api/archive/$pkgver.tar.gz")
+sha512sums=('d3802b8728b814dae9551cc12612eb10a8de061cd64ac40647513d083c45f4bee218b1d2ba772c4c4df05275c4dc8e935e8e69c2e2cf8c6420e6c1158c768c78')
+
+build() {
+ cd pip-api-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd pip-api-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd pip-api-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list