diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-06-27 13:25:07 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-06-27 13:27:41 -0700 |
commit | c899e82068fa47833561512151d0159763421f5c (patch) | |
tree | 1d1bf387702c017ce907ba9e15f7798fa4df9a5f /app-misc/yq | |
parent | dev-ada/gnatcoll: Add use flags gnat_2016 & gnat_2017 (diff) | |
download | gentoo-c899e82068fa47833561512151d0159763421f5c.tar.gz gentoo-c899e82068fa47833561512151d0159763421f5c.tar.bz2 gentoo-c899e82068fa47833561512151d0159763421f5c.zip |
app-misc/yq: add package
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-misc/yq')
-rw-r--r-- | app-misc/yq/Manifest | 1 | ||||
-rw-r--r-- | app-misc/yq/metadata.xml | 11 | ||||
-rw-r--r-- | app-misc/yq/yq-2.1.2.ebuild | 24 |
3 files changed, 36 insertions, 0 deletions
diff --git a/app-misc/yq/Manifest b/app-misc/yq/Manifest new file mode 100644 index 000000000000..0e2c8a0cec24 --- /dev/null +++ b/app-misc/yq/Manifest @@ -0,0 +1 @@ +DIST yq-2.1.2.tar.gz 4704 SHA256 daa2fcde26220382527c68bac353a7d972d81ea4f348d20eea3ffa981991f8dc SHA512 88f32e58aacd82deb06deee6910f5a145e54d20829f438cd47248d560119dd8112e0813ea8d55708664ac29ef011bbc3fd6b882e1c538ef44aaa9aa119584e99 WHIRLPOOL 5fd88627fafdd03318baab0b99aae4c980e8b1517808aa700c0be60e6bda61d655072bf60ce01435b5299108ae253f76b68858a9f990bb144616c4efae7e3a41 diff --git a/app-misc/yq/metadata.xml b/app-misc/yq/metadata.xml new file mode 100644 index 000000000000..37885efab095 --- /dev/null +++ b/app-misc/yq/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="pypi">yq</remote-id> + <remote-id type="github">kislyuk/yq</remote-id> + </upstream> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/app-misc/yq/yq-2.1.2.ebuild b/app-misc/yq/yq-2.1.2.ebuild new file mode 100644 index 000000000000..d8a9cfb27e57 --- /dev/null +++ b/app-misc/yq/yq-2.1.2.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://${PN}.readthedocs.io/ https://github.com/kislyuk/${PN}/ https://pypi.python.org/pypi/${PN}" +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 +} |