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

Caleb Maclennan alerque at gemini.archlinux.org
Sat Dec 11 10:53:29 UTC 2021


    Date: Saturday, December 11, 2021 @ 10:53:29
  Author: alerque
Revision: 1068215

archrelease: copy trunk to community-testing-any

Added:
  yq/repos/community-testing-any/
  yq/repos/community-testing-any/PKGBUILD
    (from rev 1068214, yq/trunk/PKGBUILD)

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

Copied: yq/repos/community-testing-any/PKGBUILD (from rev 1068214, yq/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-12-11 10:53:29 UTC (rev 1068215)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=yq
+pkgver=2.13.0
+pkgrel=3
+pkgdesc="Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents"
+arch=('any')
+url="https://github.com/kislyuk/yq"
+license=('Apache')
+depends=('jq'
+         'python-argcomplete'
+         'python-toml'
+         'python-xmltodict'
+         'python-yaml')
+makedepends=('python-setuptools')
+conflicts=('go-yq')
+source=("https://files.pythonhosted.org/packages/source/y/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('fd131fdb1f56716ad8d44cd9eaaf7d3b22d39ba8861ea64a409cc3f4ae263db8')
+b2sums=('e6d75cde2c298c19616647aeb14f1e34b1a68bb4db1b7e6f4e2619166ef10142ebd405d3c21492e4f5880c46a8d42222ce22b08afec492e97102923e6b838e2d')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i '/"setuptools",/d' setup.py
+}
+
+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