[arch-commits] Commit in yq/repos (community-any community-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 5 12:58:18 UTC 2019
Date: Sunday, May 5, 2019 @ 12:58:17
Author: felixonmars
Revision: 460109
archrelease: copy trunk to community-any
Added:
yq/repos/community-any/
yq/repos/community-any/PKGBUILD
(from rev 460108, yq/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: yq/repos/community-any/PKGBUILD (from rev 460108, yq/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-05-05 12:58:17 UTC (rev 460109)
@@ -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=1
+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