summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/yq')
-rw-r--r--app-misc/yq/Manifest1
-rw-r--r--app-misc/yq/yq-2.3.0.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/app-misc/yq/Manifest b/app-misc/yq/Manifest
index 0e2c8a0cec24..ee60a5cf79b7 100644
--- a/app-misc/yq/Manifest
+++ b/app-misc/yq/Manifest
@@ -1 +1,2 @@
DIST yq-2.1.2.tar.gz 4704 SHA256 daa2fcde26220382527c68bac353a7d972d81ea4f348d20eea3ffa981991f8dc SHA512 88f32e58aacd82deb06deee6910f5a145e54d20829f438cd47248d560119dd8112e0813ea8d55708664ac29ef011bbc3fd6b882e1c538ef44aaa9aa119584e99 WHIRLPOOL 5fd88627fafdd03318baab0b99aae4c980e8b1517808aa700c0be60e6bda61d655072bf60ce01435b5299108ae253f76b68858a9f990bb144616c4efae7e3a41
+DIST yq-2.3.0.tar.gz 5165 SHA256 81a500004d2beb10fcc48f117a8214c566b350cbe21c7e2c5e4fbec370ed8dd2 SHA512 f256d1766b697f6bcb88bb8129e587bb99929154e13167f179bff1669b08b5444af90d7a17382b4f434092110ddb9e578c1f374b56aba03b4a4406fc25b76d6a WHIRLPOOL ea935efdc91e6b68ac8c5d1522c8b4f0529424e294c459625bc4893e98a9420eb7b4b018db504cf32509b0b15d0891a2bc3d16b59ea09ba1f7c7d4e91bad9e65
diff --git a/app-misc/yq/yq-2.3.0.ebuild b/app-misc/yq/yq-2.3.0.ebuild
new file mode 100644
index 000000000000..2ead45746ee3
--- /dev/null
+++ b/app-misc/yq/yq-2.3.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Command-line YAML processor - jq wrapper for YAML documents"
+HOMEPAGE="https://yq.readthedocs.io/ https://github.com/kislyuk/yq/ https://pypi.python.org/pypi/yq"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-misc/jq
+ >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ ./test/test.py || die
+}