[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 18:39:08 UTC 2019
Date: Saturday, May 25, 2019 @ 18:39:07
Author: felixonmars
Revision: 470759
addpkg: python-yarg 0.1.9-1
Added:
python-yarg/
python-yarg/repos/
python-yarg/trunk/
python-yarg/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: python-yarg/trunk/PKGBUILD
===================================================================
--- python-yarg/trunk/PKGBUILD (rev 0)
+++ python-yarg/trunk/PKGBUILD 2019-05-25 18:39:07 UTC (rev 470759)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-yarg
+pkgver=0.1.9
+pkgrel=1
+pkgdesc="A semi hard Cornish cheese, also queries PyPI (PyPI client)"
+url="https://github.com/kura/yarg"
+license=('MIT')
+arch=('any')
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kura/yarg/archive/$pkgver.tar.gz")
+sha512sums=('1083608b0c2f84d15c27af9c9fbaf802e9f770518fc2c46bd6ba07d2123d4ad0a9ac7673a14714e579664ffef44667a21d1bec6417d9075c315749175bcd8fd9')
+
+build() {
+ cd yarg-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd yarg-$pkgver
+ python runtests.py
+}
+
+package() {
+ cd yarg-$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