Date: Saturday, April 8, 2023 @ 14:08:55
Author: felixonmars
Revision: 1442569
archrelease: copy trunk to community-staging-any
Added:
yq/repos/community-staging-any/
yq/repos/community-staging-any/PKGBUILD
(from rev 1442568, yq/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: yq/repos/community-staging-any/PKGBUILD (from rev 1442568,
yq/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-08 14:08:55 UTC (rev 1442569)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Daurnimator <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Daniel M. Capella <[email protected]>
+
+pkgname=yq
+pkgver=3.2.1
+pkgrel=2
+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-tomlkit'
+ 'python-xmltodict'
+ 'python-yaml')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
+conflicts=('go-yq')
+source=("https://files.pythonhosted.org/packages/source/y/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('e04dfc8670fcba5bba75e2a24940a544aa8c2789cd4c5171241a1275c8ab2f57')
+b2sums=('ead106995dcd03bc729aabd07c20dff37cf42053378f9d73c20739cb10921619999df73852d69f397431c4a382d40735c751aff9676d66ab9edbc5480a5c6807')
+
+build() {
+ cd $pkgname-$pkgver
+ python -m build -wn
+}
+
+check() {
+ cd $pkgname-$pkgver
+ python test/test.py
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python -m installer -d "$pkgdir" dist/*.whl
+}