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

Daniel M. Capella polyzen at archlinux.org
Tue Feb 9 08:43:03 UTC 2021


    Date: Tuesday, February 9, 2021 @ 08:43:03
  Author: polyzen
Revision: 850827

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   72 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 39 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-09 08:42:44 UTC (rev 850826)
+++ PKGBUILD	2021-02-09 08:43:03 UTC (rev 850827)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Caleb Maclennan <caleb at alerque.com>
-
-pkgname=yq
-pkgver=2.12.0
-pkgrel=1
-pkgdesc="Command-line YAML/XML processor - jq wrapper for YAML/XML documents"
-arch=('any')
-url="https://github.com/kislyuk/yq"
-license=('Apache')
-depends=('jq' 'python-setuptools' 'python-yaml' 'python-xmltodict' 'python-toml'
-         'python-argcomplete')
-source=("https://files.pythonhosted.org/packages/source/y/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('1d2ad403504d306b5258b86c698f9856d7ad58b7bb17a2b875691a6a7b8c4c20')
-b2sums=('a314b54628e1865df68dadcbec8e59e16c1e57205e2b9f2b364bb6bee91563dc3da30c1e3a7ac9e2656899ee8ad004600291a845f59fbe13356f0cfb69de3e79')
-
-build() {
-  cd $pkgname-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $pkgname-$pkgver
-  python test/test.py
-}
-
-package() {
-  cd $pkgname-$pkgver
-  export PYTHONHASHSEED=0
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: yq/repos/community-any/PKGBUILD (from rev 850826, yq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-09 08:43:03 UTC (rev 850827)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Caleb Maclennan <caleb at alerque.com>
+
+pkgname=yq
+pkgver=2.12.0
+pkgrel=2
+pkgdesc="Command-line YAML/XML processor - jq wrapper for YAML/XML documents"
+arch=('any')
+url="https://github.com/kislyuk/yq"
+license=('Apache')
+depends=('jq' 'python-yaml' 'python-xmltodict' 'python-toml'
+         'python-argcomplete')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/y/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('1d2ad403504d306b5258b86c698f9856d7ad58b7bb17a2b875691a6a7b8c4c20')
+b2sums=('a314b54628e1865df68dadcbec8e59e16c1e57205e2b9f2b364bb6bee91563dc3da30c1e3a7ac9e2656899ee8ad004600291a845f59fbe13356f0cfb69de3e79')
+
+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
+  export PYTHONHASHSEED=0
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list