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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 06:00:57 UTC 2019


    Date: Monday, November 4, 2019 @ 06:00:55
  Author: felixonmars
Revision: 523272

archrelease: copy trunk to community-staging-any

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

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

Copied: yq/repos/community-staging-any/PKGBUILD (from rev 523271, yq/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 06:00:55 UTC (rev 523272)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Caleb Maclennan <caleb at alerque.com>
+
+pkgname=yq
+pkgver=2.7.2
+pkgrel=2
+pkgdesc="Command-line YAML processor - jq wrapper for YAML documents"
+url="https://github.com/kislyuk/yq"
+depends=('jq' 'python-yaml' 'python-xmltodict' 'python-toml')
+makedepends=('python-setuptools')
+checkdepends=('flake8' 'python-coverage' 'python-wheel')
+license=('Apache')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/y/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('f7dafd1e53d1f806ffe11de6da814e231d866595e2faae0dfc38135b8ee79bbb')
+
+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