commit:     d4293a78a4150bbc7cec4a7694663cee89ae8010
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 25 04:43:02 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 25 04:43:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4293a78

dev-python/commentjson: New package, needed for resolvelib

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/commentjson/Manifest                 |  1 +
 dev-python/commentjson/commentjson-0.9.0.ebuild | 28 +++++++++++++++++++++++++
 dev-python/commentjson/metadata.xml             | 11 ++++++++++
 3 files changed, 40 insertions(+)

diff --git a/dev-python/commentjson/Manifest b/dev-python/commentjson/Manifest
new file mode 100644
index 00000000000..e90fbebd7c5
--- /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 00000000000..b64b47221b1
--- /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 00000000000..f4168a14251
--- /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>pyt...@gentoo.org</email>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">commentjson</remote-id>
+               <remote-id type="github">vaidik/commentjson</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to