[arch-commits] Commit in python-pip-api/repos (community-any community-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 25 18:55:41 UTC 2019
Date: Saturday, May 25, 2019 @ 18:55:41
Author: felixonmars
Revision: 470772
archrelease: copy trunk to community-any
Added:
python-pip-api/repos/community-any/
python-pip-api/repos/community-any/PKGBUILD
(from rev 470771, python-pip-api/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-pip-api/repos/community-any/PKGBUILD (from rev 470771, python-pip-api/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-05-25 18:55:41 UTC (rev 470772)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pip-api
+pkgver=0.0.8
+pkgrel=1
+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=('1e518f22f6e6ef1d54f5926ab55286e6ad0a50822fba044e649ed92a9c63a07ee1f53938e3957517c37f27b840153f72af33b08f96b5d159361ed59f3bb8395e')
+
+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