diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-16 01:44:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-16 01:44:25 +0100 |
commit | d8616435f08981d5bc3df9f348190309a7bdbbc0 (patch) | |
tree | 6c51fc295fb9c2f5511a7ebb14fab377a5f8e171 /dev-python/commentjson | |
parent | fa1962ff69701bd9c0f15fb225cdbfb487125e0e (diff) |
gentoo auto-resync : 16:07:2022 - 01:44:25
Diffstat (limited to 'dev-python/commentjson')
-rw-r--r-- | dev-python/commentjson/Manifest | 1 | ||||
-rw-r--r-- | dev-python/commentjson/commentjson-0.9.0-r2.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/commentjson/Manifest b/dev-python/commentjson/Manifest index c0f2f00e1d9f..c8eaed343494 100644 --- a/dev-python/commentjson/Manifest +++ b/dev-python/commentjson/Manifest @@ -1,3 +1,4 @@ DIST commentjson-0.9.0.gh.tar.gz 15297 BLAKE2B a857b0fa5551079d3d37bff94fb51a903e998c4fb84e0f62a5de28d6eafe0cb8a38b3215515e72c56de0cddb661f109921c801d15b9ba93771290135adaaa5b1 SHA512 cd3d28adecbc445ed3faed7847c65a23829f408cf8aa3fa85544a0f0cf9fa5544b8aff560725cf51921f249123daf9ce9953069e99ca64a312bb4bff652512fe EBUILD commentjson-0.9.0-r1.ebuild 801 BLAKE2B 30814ef36f082d6ef81f6210a6cab42978ab9190b8e9429f2640e08eac366455b5a8c17850aa2f42d643de2379910461fbcd89f2e5661cf6d94695f2456d1e8a SHA512 f64e4338cf9fd7368d8ce7f105a1cbc434a94abbe14936fdf9d822ec4f7246748f757bdfe4a759674bd89dda12b1a1a78eff991fa580273ef579c8ab724b9314 +EBUILD commentjson-0.9.0-r2.ebuild 836 BLAKE2B 5c766b422cd21ce6fc1a6164f6e76a3ecf71a78080f6f2d10dd7bab20fc748cbec46a97c4e84ebaf818115cad76b0737379d8c785fc0b835177a8922f38d0722 SHA512 2bb449859ad14b5aa163f58cabb7bc0c9986d35fb0fff494dc5bcafc3438d462b9ff081b36588d5917374865bd8726fbebe532ca81d48aac7d6e3c5ff1d168d2 MISC metadata.xml 351 BLAKE2B c572a2399353ef88fbb0bc49d31eed6607fa157340c3ccc1311a1e2103a5488f66ed09f10d73daf2aa9a062ce36d2635e4bf703a61a9e4e7341b70e8ab1a97a8 SHA512 90aaec57bf7a92233f7761ee780faf9607dfa79d93627fc3c17cbe63aa6d2b41cdc7229fc17e46c2eb155a5749aee379a1a665e3192f44910aee344c89fe6160 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..2309f67cfbc1 --- /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..11} 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 +} |