[arch-commits] Commit in python-yarg/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 25 18:40:17 UTC 2019


    Date: Saturday, May 25, 2019 @ 18:40:16
  Author: felixonmars
Revision: 470760

archrelease: copy trunk to community-any

Added:
  python-yarg/repos/community-any/
  python-yarg/repos/community-any/PKGBUILD
    (from rev 470759, python-yarg/trunk/PKGBUILD)

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

Copied: python-yarg/repos/community-any/PKGBUILD (from rev 470759, python-yarg/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-05-25 18:40:16 UTC (rev 470760)
@@ -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