From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 019FB158094 for ; Fri, 15 Jul 2022 18:45:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 773B0E0EC4; Fri, 15 Jul 2022 18:45:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 582A0E0EB4 for ; Fri, 15 Jul 2022 18:45:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 61019340D81 for ; Fri, 15 Jul 2022 18:45:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DE46501 for ; Fri, 15 Jul 2022 18:45:53 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1657910059.e99e34d4250854e609742e4cdec8790e8cbf5589.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/commentjson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/commentjson/commentjson-0.9.0-r2.ebuild X-VCS-Directories: dev-python/commentjson/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: e99e34d4250854e609742e4cdec8790e8cbf5589 X-VCS-Branch: master Date: Fri, 15 Jul 2022 18:45:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b9fe6a9c-3dbb-446a-8671-620de1ebb5b3 X-Archives-Hash: 8ecce8f159a6b458c83c836ba5d9178d commit: e99e34d4250854e609742e4cdec8790e8cbf5589 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 18:34:19 2022 +0000 Commit: Arthur Zamarin gentoo 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 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 +}