summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-04-28 10:15:32 -0700
committerZac Medico <zmedico@gentoo.org>2021-04-28 10:31:19 -0700
commita3b49d16f485517421e154457e1f880bfabc4fd6 (patch)
tree29b51febeed404f58489ff27d5c07f38a6606c39 /dev-python
parentprofiles/package.mask: dev-java/netty-{codec{,-http},handler} last-rite (diff)
downloadgentoo-a3b49d16f485517421e154457e1f880bfabc4fd6.tar.gz
gentoo-a3b49d16f485517421e154457e1f880bfabc4fd6.tar.bz2
gentoo-a3b49d16f485517421e154457e1f880bfabc4fd6.zip
dev-python/jc: Initial import
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/jc/Manifest1
-rw-r--r--dev-python/jc/jc-1.15.3.ebuild27
-rw-r--r--dev-python/jc/metadata.xml12
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/jc/Manifest b/dev-python/jc/Manifest
new file mode 100644
index 000000000000..d8eaec290703
--- /dev/null
+++ b/dev-python/jc/Manifest
@@ -0,0 +1 @@
+DIST jc-1.15.3.tar.gz 131810 BLAKE2B 885e4910c1186dd9b8e42a2b06eeb954e777c5e6bc07575a3f5005ed575defbe1b9c21a34ba8ddb34812b60b139a41b3f79d74501e83ba38437a55746eaa36cc SHA512 f077253007185e34a9654551661b84625d312a0da3d7382ab30d6fb25c5d4d35cc021e6989937d1ab9b6826df7bd65654c4cb6b0a4f669c2abfc3350d3298f74
diff --git a/dev-python/jc/jc-1.15.3.ebuild b/dev-python/jc/jc-1.15.3.ebuild
new file mode 100644
index 000000000000..ffbe09408611
--- /dev/null
+++ b/dev-python/jc/jc-1.15.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Converts the output of popular command-line tools and file-types to JSON"
+HOMEPAGE="https://github.com/kellyjonbrazil/jc/tags"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+ dev-python/xmltodict[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+ sed -e "s|\\(^[[:space:]]*'[.[:alnum:]]\+\\)>=[^']*|\\1|" -i setup.py || die
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/jc/metadata.xml b/dev-python/jc/metadata.xml
new file mode 100644
index 000000000000..b45cd3d0641d
--- /dev/null
+++ b/dev-python/jc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">kellyjonbrazil/jc</remote-id>
+ <remote-id type="pypi">jc</remote-id>
+ </upstream>
+</pkgmetadata>