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

Caleb Maclennan alerque at gemini.archlinux.org
Mon Jul 4 22:34:06 UTC 2022


    Date: Monday, July 4, 2022 @ 22:34:05
  Author: alerque
Revision: 1244034

archrelease: copy trunk to community-any

Added:
  yq/repos/community-any/PKGBUILD
    (from rev 1244033, yq/trunk/PKGBUILD)
Deleted:
  yq/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-04 22:33:57 UTC (rev 1244033)
+++ PKGBUILD	2022-07-04 22:34:05 UTC (rev 1244034)
@@ -1,42 +0,0 @@
-# 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.14.0
-pkgrel=1
-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-scm')
-conflicts=('go-yq')
-source=("https://files.pythonhosted.org/packages/source/y/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('f4bf2b299d1e5c7ebd74cfb25d1f5d9b6401063bac07a2d09a156144c1d644e1')
-b2sums=('07e200524390e938705854c5d1ac4921fbc8f165cdbf8152e36124e52a1c51c70d6d711b67a3dac8c2bbf1f75040466e8d94505aa5f19e388a31bbcdc92e91bd')
-
-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
-}

Copied: yq/repos/community-any/PKGBUILD (from rev 1244033, yq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-04 22:34:05 UTC (rev 1244034)
@@ -0,0 +1,37 @@
+# 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=3.0.1
+pkgrel=1
+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-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=('a5e61078facd7ee4222f4346b5b50c4e9cea5e9d3330f074b5ea2c203bf639b1')
+b2sums=('6bc5f5a800a26d735d07bf871783ba13baba609fc01d514cb350d7412b7a33567a05d1690e8e35ce7361308a97aea4209c55e6192d1bd1660457f94af3559a43')
+
+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
+}



More information about the arch-commits mailing list