diff options
Diffstat (limited to 'app-misc/wildq')
-rw-r--r-- | app-misc/wildq/Manifest | 3 | ||||
-rw-r--r-- | app-misc/wildq/metadata.xml | 16 | ||||
-rw-r--r-- | app-misc/wildq/wildq-1.1.10.ebuild | 28 |
3 files changed, 47 insertions, 0 deletions
diff --git a/app-misc/wildq/Manifest b/app-misc/wildq/Manifest new file mode 100644 index 000000000000..8ddd0338bb69 --- /dev/null +++ b/app-misc/wildq/Manifest @@ -0,0 +1,3 @@ +DIST wildq-1.1.10.tar.gz 16049 BLAKE2B ffb365e7dee7770a0ab52d189b59f1a8a9e6b2c8a63439d884b29fc7182b523eb38e2ada0ce9581d637fed9035dc5f7fc0197451bb4fcafd1d54746b0c0112af SHA512 cf10cd10757e6b933ecc11167c5ad4c548dfbfa9edad030458736ba6d29e816bb214c111fa96fa2625160d6403758d936c8374d6dc26b528e6ae22ed947de5bc +EBUILD wildq-1.1.10.ebuild 822 BLAKE2B 28cc4ae9496983ad7a9626a2ec5bf751e9935148d8d41ed2e66b23dd7e6c290ebb367fa9f917a341c3f57e290a2f2ec54b36ebfe3f503455efb66b61e1d7f46f SHA512 3f7bcb6e6f621fdddfe459e9867d81f0bcc6035c476eb3102968ada1c07be2d89e46bdaca7975034e5678edc95be4cb6e7e146b30a5b5c0ae56280a087ec817f +MISC metadata.xml 507 BLAKE2B 096ed38445471b3baf7e5ac6cafec06ed5ecf542dbc218b21165a45bf77f66203338658b5a7b16ce8de94b2c123dc006f73410132a9cabe7d3d94fa243ad20e1 SHA512 d3284d1f0493f1751ae882ff7d247f286858eb28f6d0ab32d16e8636edbe43b696d3d4c35fd19e233ad4ba78b3413d12722a09121074bf0474e9a4f583456ec6 diff --git a/app-misc/wildq/metadata.xml b/app-misc/wildq/metadata.xml new file mode 100644 index 000000000000..215bdfd0e991 --- /dev/null +++ b/app-misc/wildq/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="pypi">wildq</remote-id> + <remote-id type="github">ahmet2mir/wildq</remote-id> + </upstream> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <use> + <flag name="hcl">HCL support via pyhcl</flag> + <flag name="toml">TOML support via pytoml</flag> + <flag name="xml">XML support via xmltodict</flag> + </use> +</pkgmetadata> diff --git a/app-misc/wildq/wildq-1.1.10.ebuild b/app-misc/wildq/wildq-1.1.10.ebuild new file mode 100644 index 000000000000..ccc4444aac82 --- /dev/null +++ b/app-misc/wildq/wildq-1.1.10.ebuild @@ -0,0 +1,28 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Command-line TOML/JSON/INI/YAML/XML processor using jq c bindings" +HOMEPAGE="https://pypi.org/project/wildq/ https://github.com/ahmet2mir/wildq" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="hcl toml xml" +RDEPEND=" + dev-python/jq[${PYTHON_USEDEP}] + hcl? ( dev-python/pyhcl[${PYTHON_USEDEP}] ) + toml? ( dev-python/toml[${PYTHON_USEDEP}] ) + xml? ( dev-python/xmltodict[${PYTHON_USEDEP}] ) +" + +python_prepare_all() { + # Unpin install_requires versions. + sed -e "s|^\\([ []'[[:alnum:]]\+\\)>=[^']*|\\1|" -i setup.py || die + distutils-r1_python_prepare_all +} |