diff options
Diffstat (limited to 'app-misc/yq')
-rw-r--r-- | app-misc/yq/Manifest | 4 | ||||
-rw-r--r-- | app-misc/yq/yq-2.3.4.ebuild | 24 | ||||
-rw-r--r-- | app-misc/yq/yq-2.7.2.ebuild | 37 |
3 files changed, 39 insertions, 26 deletions
diff --git a/app-misc/yq/Manifest b/app-misc/yq/Manifest index 07c8400c18d4..c17f47a3fbf8 100644 --- a/app-misc/yq/Manifest +++ b/app-misc/yq/Manifest @@ -1,5 +1,5 @@ -DIST yq-2.3.4.tar.gz 5657 BLAKE2B d7e6a37ed157ff2a23b648a54cf729cda1413a627f1169ba938ae89d4bd175270cdc5fa39ca5ea3c31d55d562439296bcce391cb22cd2faccc5f545f2577a12d SHA512 ea530d3f501a8697474b1b77644fdf439326e49fbae158a862e58fba6f939ee5f3ba50f82cc5e990b1ed05c4e7aa9c205635290e6d2507d46e53b68ee467d5e1 DIST yq-2.7.1.tar.gz 13794 BLAKE2B 87fe4961974ab41fc14efb7b85c3db5c13577593253eb236c445f59e4034ce5211173cbdd1680e8b83394068ebcc99962f9f3b7c1cd36a4554aa2769b0a5ce66 SHA512 ad76f6102cdb7b0cc82d57c8120dfe10221b7d7456c4c3dd6e5ed0630d9ab178099f4ee8bfc075f15eb4b35aaef4237fcb0ef01a769a612632b4ef774da2b50a -EBUILD yq-2.3.4.ebuild 632 BLAKE2B a81bf03443f6db49a3f85b36b08caaa23e16dcfc6b523d5ba4024ee1e076d2227a0b13d0273b6153a04994ccf41dcdb425de1529bba784f6747aa42e482c6b1b SHA512 b915870a0d8dc5f631c1163cc72be7f8058e62007a1d98923269970fd641a876629e5a0d5824d058b0ce45c9873094f34a40333e9c5869ea30a97d0ffffa41bd +DIST yq-2.7.2.tar.gz 14010 BLAKE2B ec01d25c5ad1ca5fb38b2a4b412306d0ddf157a6a6fdbf2b55452a487bade60ebdd1bddba231e8f0d8db60994c44322c85918221cc64ea346e36d38ca73c185f SHA512 0671d0f5d5dbd7eee42efef7b8469d2177c2459144afc679bcf1f04165ba1e4ae0e396d9a3fa9ecb3db373671152fa51c835ca6fd2622fa8a243b21bfa547e43 EBUILD yq-2.7.1-r1.ebuild 1013 BLAKE2B f39627b1837f831abef226a3aab6af871152cc91127cbdb655b77007c9a961b396f94bf0a0a2069a1d279cdf82c64ea5e6192f406c589457c2481be80a6288de SHA512 7f50f7e0a789c4f9535446017c0e204ec1640ea3635d7b79194702b24e6f53082bc4822fd2194883384b0d02a0990d3da3c6331d3ff980dd3d4b91a4195fcff3 +EBUILD yq-2.7.2.ebuild 1015 BLAKE2B b43d4715abfd258f23250c3e4a7a2abac1b9ae18df4a30b192fced01937493cba60c6603d612ec0036b1c298850783b9f09d244d602a3a6aa3eff2507236ade4 SHA512 a13faa51953d299c5bf44a3723d61947f40724a37327d797d2aeff1ab129ac5e3ffb6c1dbdd4fd3ba4fea366c425827dfa0a2829cff5d5b73c1fe369c0ab7d6d MISC metadata.xml 333 BLAKE2B 25cb1f46ef4320b5b01b23bec540f623f53be1ee4b0a1d3d9c20cdd90185b88d8f9d5fecefbd15abeca1a861e2863123d15e89e40aa3cdbbd1c56fefa71105f4 SHA512 2cb6c56e50e0d436f37c090549cdeb0c4b1fba34b8049c90ccf24f44aaefddd87bd8e6260a8e645df2c8e2bb1f28c305ae353f1a86e2992a2c987936c4caa416 diff --git a/app-misc/yq/yq-2.3.4.ebuild b/app-misc/yq/yq-2.3.4.ebuild deleted file mode 100644 index 9936af814da0..000000000000 --- a/app-misc/yq/yq-2.3.4.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{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.org/project/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 -} diff --git a/app-misc/yq/yq-2.7.2.ebuild b/app-misc/yq/yq-2.7.2.ebuild new file mode 100644 index 000000000000..7dc084a4b39b --- /dev/null +++ b/app-misc/yq/yq-2.7.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +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.org/project/yq/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="app-misc/jq + >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + distutils-r1_python_prepare_all + sed -e 's:unittest.main():unittest.main(verbosity=2):' \ + -i test/test.py || die +} + +python_test() { + ./test/test.py || die "tests failed under ${EPYTHON}" +} |