summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/jc')
-rw-r--r--dev-python/jc/Manifest1
-rw-r--r--dev-python/jc/jc-1.20.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/jc/Manifest b/dev-python/jc/Manifest
index 68ff675b5ad2..7288ee743cfd 100644
--- a/dev-python/jc/Manifest
+++ b/dev-python/jc/Manifest
@@ -1 +1,2 @@
DIST jc-1.19.0.tar.gz 10264610 BLAKE2B 4f05464196e4e60b3e4a423b7c05a0bfd35128caf3f04b9c846c96bf9cb6e594ac0d46c678e1dca7080212c06d2c679acdffcc0b954b6577925ff5ff80d8f044 SHA512 668fc71d6a4b0d7ba9aac591c2328536df4f61dd9267ecdc6c311efde8dbcc3f244d6236fabd593ca1907fc25eb2a7fc53215756989160167d382e7068e2cf79
+DIST jc-1.20.0.gh.tar.gz 10338183 BLAKE2B d19fec89ae96f3a9fc2a30715521dcd0ce5b9ee27ec7df85970dede61958e2ce580a53a34da78571de8d4287b531733746ebf5cc687e709085fbdf254d6c4c8a SHA512 f7aafcf531ad6dfd6cfb870803df4e1f6780483429fb3ddb52a3c57dd8f6fb62f1f776bfa97f15f813a8e97e01061c334f6bb4268d077195e013c423b7d9dd50
diff --git a/dev-python/jc/jc-1.20.0.ebuild b/dev-python/jc/jc-1.20.0.ebuild
new file mode 100644
index 000000000000..062958c85649
--- /dev/null
+++ b/dev-python/jc/jc-1.20.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Converts the output of popular command-line tools and file-types to JSON"
+HOMEPAGE="
+ https://github.com/kellyjonbrazil/jc/
+ https://pypi.org/project/jc/
+"
+SRC_URI="
+ https://github.com/kellyjonbrazil/jc/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+
+RDEPEND="
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+ dev-python/xmltodict[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest