summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-06-25 06:43:02 +0200
committerMichał Górny <mgorny@gentoo.org>2021-06-25 06:43:02 +0200
commitd4293a78a4150bbc7cec4a7694663cee89ae8010 (patch)
tree607277de2926b30160cd7641206f05b81b704c08 /dev-python/commentjson
parentsci-libs/scikit-learn: Remove old (diff)
downloadgentoo-d4293a78a4150bbc7cec4a7694663cee89ae8010.tar.gz
gentoo-d4293a78a4150bbc7cec4a7694663cee89ae8010.tar.bz2
gentoo-d4293a78a4150bbc7cec4a7694663cee89ae8010.zip
dev-python/commentjson: New package, needed for resolvelib
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/commentjson')
-rw-r--r--dev-python/commentjson/Manifest1
-rw-r--r--dev-python/commentjson/commentjson-0.9.0.ebuild28
-rw-r--r--dev-python/commentjson/metadata.xml11
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/commentjson/Manifest b/dev-python/commentjson/Manifest
new file mode 100644
index 000000000000..e90fbebd7c55
--- /dev/null
+++ b/dev-python/commentjson/Manifest
@@ -0,0 +1 @@
+DIST commentjson-0.9.0.gh.tar.gz 15297 BLAKE2B a857b0fa5551079d3d37bff94fb51a903e998c4fb84e0f62a5de28d6eafe0cb8a38b3215515e72c56de0cddb661f109921c801d15b9ba93771290135adaaa5b1 SHA512 cd3d28adecbc445ed3faed7847c65a23829f408cf8aa3fa85544a0f0cf9fa5544b8aff560725cf51921f249123daf9ce9953069e99ca64a312bb4bff652512fe
diff --git a/dev-python/commentjson/commentjson-0.9.0.ebuild b/dev-python/commentjson/commentjson-0.9.0.ebuild
new file mode 100644
index 000000000000..b64b47221b1b
--- /dev/null
+++ b/dev-python/commentjson/commentjson-0.9.0.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} )
+inherit distutils-r1
+
+DESCRIPTION="Add Python and JavaScript style comments in your JSON files"
+HOMEPAGE="
+ https://pypi.org/project/commentjson/
+ https://github.com/vaidik/commentjson/"
+SRC_URI="
+ https://github.com/vaidik/commentjson/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/lark-parser[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ dev-python/six[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests unittest
diff --git a/dev-python/commentjson/metadata.xml b/dev-python/commentjson/metadata.xml
new file mode 100644
index 000000000000..f4168a14251e
--- /dev/null
+++ b/dev-python/commentjson/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">commentjson</remote-id>
+ <remote-id type="github">vaidik/commentjson</remote-id>
+ </upstream>
+</pkgmetadata>