[arch-commits] Commit in yq/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:13:54 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:13:54
  Author: foutrelis
Revision: 753383

archrelease: copy trunk to community-staging-any

Added:
  yq/repos/community-staging-any/
  yq/repos/community-staging-any/PKGBUILD
    (from rev 753382, yq/trunk/PKGBUILD)

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

Copied: yq/repos/community-staging-any/PKGBUILD (from rev 753382, yq/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:13:54 UTC (rev 753383)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Caleb Maclennan <caleb at alerque.com>
+
+pkgname=yq
+pkgver=2.10.1
+pkgrel=2
+pkgdesc="Command-line YAML/XML processor - jq wrapper for YAML/XML documents"
+url="https://github.com/kislyuk/yq"
+depends=('jq' 'python-setuptools' 'python-yaml' 'python-xmltodict'
+         'python-argcomplete')
+checkdepends=('python-toml')
+optdepends=('python-toml')
+license=('Apache')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/y/$pkgname/$pkgname-$pkgver.tar.gz")
+sha512sums=('7fd38d454a924810117b7b87e519b4e91be654631827f806a95723ca04218fe3a7ece84a5a88787fe4b2d9acd60da74d6a7131950724f339b4e1bf3d0e35c792')
+
+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