[arch-commits] Commit in (yq yq/repos yq/trunk yq/trunk/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun May 5 12:57:41 UTC 2019


    Date: Sunday, May 5, 2019 @ 12:57:41
  Author: felixonmars
Revision: 460107

addpkg: yq 2.7.2-1

Added:
  yq/
  yq/repos/
  yq/trunk/
  yq/trunk/PKGBUILD

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

Added: yq/trunk/PKGBUILD
===================================================================
--- yq/trunk/PKGBUILD	                        (rev 0)
+++ yq/trunk/PKGBUILD	2019-05-05 12:57:41 UTC (rev 460107)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Caleb Maclennan <caleb at alerque.com>
+
+pkgname=yq
+pkgver=2.7.2
+pkgrel=1
+pkgdesc="Command-line YAML processor - jq wrapper for YAML documents"
+url="https://github.com/kislyuk/yq"
+depends=('jq' 'python-yaml' 'python-xmltodict' 'python-toml')
+makedepends=('python-setuptools')
+checkdepends=('flake8' 'python-coverage' 'python-wheel')
+license=('Apache')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/y/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('f7dafd1e53d1f806ffe11de6da814e231d866595e2faae0dfc38135b8ee79bbb')
+
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  python test/test.py
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}


More information about the arch-commits mailing list