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

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 20:24:11 UTC 2019


    Date: Saturday, October 26, 2019 @ 20:24:11
  Author: foutrelis
Revision: 520502

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 520501, python-pip-api/trunk/PKGBUILD)

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

Copied: python-pip-api/repos/community-staging-any/PKGBUILD (from rev 520501, python-pip-api/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 20:24:11 UTC (rev 520502)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pip-api
+pkgver=0.0.9
+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=('9c6564ad3a269a384459917f738996a96ed8b8e8fae83a51d16c3e1159fc18b9bfe1f9150a188d9d2606afd580ca1c2b1ca9047227aba4873448c2057c437c5a')
+
+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