public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/commentjson/
Date: Fri, 15 Jul 2022 18:45:53 +0000 (UTC)	[thread overview]
Message-ID: <1657910059.e99e34d4250854e609742e4cdec8790e8cbf5589.arthurzam@gentoo> (raw)

commit:     e99e34d4250854e609742e4cdec8790e8cbf5589
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 15 18:34:19 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 18:34:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e99e34d4

dev-python/commentjson: EAPI=8, PEP517

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/commentjson/commentjson-0.9.0-r2.ebuild | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/dev-python/commentjson/commentjson-0.9.0-r2.ebuild b/dev-python/commentjson/commentjson-0.9.0-r2.ebuild
new file mode 100644
index 000000000000..e0e583facbfe
--- /dev/null
+++ b/dev-python/commentjson/commentjson-0.9.0-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021-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} pypy3 )
+
+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 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+	dev-python/lark[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/six[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+	# remove lark-parser dependency to allow painless upgrade to lark
+	sed -e '/lark-parser/d' -i setup.py || die
+	distutils-r1_src_prepare
+}


             reply	other threads:[~2022-07-15 18:45 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15 18:45 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-05  8:43 [gentoo-commits] repo/gentoo:master commit in: dev-python/commentjson/ Michał Górny
2024-08-12 17:18 Arthur Zamarin
2024-07-27 11:58 Sam James
2024-07-27  9:28 Arthur Zamarin
2024-07-27  6:00 Michał Górny
2024-07-11 20:55 James Le Cuirot
2024-07-07  1:02 Ionen Wolkens
2024-07-05 19:41 Viorel Munteanu
2024-07-05 19:41 Viorel Munteanu
2024-06-24  0:13 Sam James
2023-06-06 17:39 Arthur Zamarin
2022-08-18 10:17 Michał Górny
2022-08-18  7:01 Agostino Sarubbo
2022-08-18  6:18 Michał Górny
2022-08-17 21:13 Sam James
2022-08-17 18:48 Sam James
2022-07-15 18:45 Arthur Zamarin
2022-04-25 16:05 Michał Górny
2022-03-15  9:41 Jakov Smolić
2022-01-31 22:27 Michał Górny
2021-08-09 22:19 Louis Sautier
2021-08-01 23:49 Sam James
2021-07-08  7:11 Sergei Trofimovich
2021-07-06 17:59 Sam James
2021-07-06 17:59 Sam James
2021-06-25  6:53 Michał Górny
2021-06-25  4:46 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1657910059.e99e34d4250854e609742e4cdec8790e8cbf5589.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox