summaryrefslogtreecommitdiff
path: root/dev-python/ijson
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-23 13:24:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-23 13:24:24 +0100
commitcbf055ae8f2fb67e00df9ea122e64a67f930f576 (patch)
treeed9ab83fb918b8bc4fb292f48dbce597be5d33fb /dev-python/ijson
parent8702447e13af0a540c01f75bee0416677bced231 (diff)
gentoo auto-resync : 23:06:2023 - 13:24:24
Diffstat (limited to 'dev-python/ijson')
-rw-r--r--dev-python/ijson/Manifest2
-rw-r--r--dev-python/ijson/ijson-3.2.2.ebuild48
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/ijson/Manifest b/dev-python/ijson/Manifest
index 54a5cf6c5d8e..743e9b0d6632 100644
--- a/dev-python/ijson/Manifest
+++ b/dev-python/ijson/Manifest
@@ -1,7 +1,9 @@
AUX ijson-3.2.0_p0-py312.patch 1213 BLAKE2B 757619c8d4ecca674a1f211aba2430659585fdcd9229ce4f6525b4c70a17d06a72fc4c85d317740ab576409f6f3247d777095860e873f5dbe50ed8bfb70bde97 SHA512 70b79da91ba42369b43d6a3719fbaaaa8ddc907ef54a256b36af875e9f4fafb0e8a1adc2eb3c7a756c521d3c8861061cc8162e6361a5e1ce3666aad887fb7484
DIST ijson-3.2.0.post0.gh.tar.gz 127558 BLAKE2B 38e06039bb177c43e4744f145fed2159e317a0b8da628b85a62215cdfe6693b271c39629811513d2e563b532244950616b9105134916bc577446a0b5e5ce25f7 SHA512 b926253a3d6a070e2ac27c61542d340e4a1498de7642957dbe59e9fd3c53d700ed4e8ee71c83efcb90b2c302d15b0d268c38054c10728bbb436521aa5b42050b
DIST ijson-3.2.1.gh.tar.gz 127577 BLAKE2B 1b3c8ce6d8b01d0cf4af4d8995bcc33d879321ed5b89c4b6baa84ef10cd311a1e66254113a17229c228c26e2b996a52c4b0629b42dbd830f296fd4903b603468 SHA512 2bd3a978016fbbd3f5aca6644778d19478a561f40729206eaa4f14e30fde4ff3b92c8aa33c928cb9e81c678a5a84fa59ab68e747421d725e77c79a9c987e4536
+DIST ijson-3.2.2.gh.tar.gz 127965 BLAKE2B 2e20f7cc822406fe3e7eec99c3ef394e42d90b0b518226a7b8eb078763cb8317acb4a28934301116c32a2a9cc37403c2950b18232800485b1ea1206dace7ff23 SHA512 5935071bd0d3eecc39b3c30ca5cb2a959e4d455c57e36414d5c97ba71bbcf1a0b53c8b8afed7551a3a4ac4595294105566c9d7501b35832dd7e46a1bb2151287
EBUILD ijson-3.2.0_p0-r1.ebuild 769 BLAKE2B 64eb16600741a1371448b80c6851a2efb6fc731b974bd4f64af5718730c048be8113b678fc4d6d0a027b7c61af72157bbb99dfb11c480d9286ec6e23be103e96 SHA512 d1c912ed65e140f2f8e53a532b94e33ca68b40a48dde1c716686c34deb85d7a39353f73b021faed5288c6fc07bbe08b66e39dc54c96305b5c197b73dedea9f49
EBUILD ijson-3.2.0_p0.ebuild 639 BLAKE2B 5da344583890ba2d5845b2643c30a68db23b347b42c840d67b6fdc8e35adba630fe2e6d301211a8d047c863816096bc33a3396d06dfcaaaf84a98807ba98df5a SHA512 1879d0c2ca6f3b8c592682b6e41a821c5152dc18634eb3650a790a86e20ce07dd66488b153e73a5438043813606a57b455449d3d778ce00292c2e089c0dfff69
EBUILD ijson-3.2.1.ebuild 775 BLAKE2B c6a257983b708a401834293705d5a296306652699d0e205754f3a07f4bc8b53a44276d0c6e94701c05c0b0d35225ffe9e7440f43b38120c3487bf455904b0607 SHA512 aa4db0308b7c6d67eab68ee1576acb73d9db41aa2aa1d94aed8c278c7d6c12203d4d69d4b6c4062134d38d21aaccf3a704fc3c2623cacf180284956917ed9f9a
+EBUILD ijson-3.2.2.ebuild 937 BLAKE2B 4b11f2c59902030528e0e77f5a00fa918e6fdf63b135c673db8e31a452670395d662f28f4150f92dba29fcd34c39b31fecabdf318a066e453cd81d69a6115bbb SHA512 1cd773d583d2787f7981690a800f4b5ecd4194591659dc02564e7a5a66c69b5283d6b11efc831b64aa4642344c2238a15612656d773ac955a6e6b63c651e67cf
MISC metadata.xml 372 BLAKE2B 9fd70113a6731ca09979bacb2153df2c26db31ef9cb2a95cc2de2201aeb5348a6344fa6dab27a0880a9d70cb4498d39a4ef9cbcff6127932d5af3c534e21b5c2 SHA512 5f3747561e4c802300860b9d2f27b08acea3979e8cac48bf6145c4cbeeb3ec0b3d765399d0ed8fe01947860d78dea0faa0839cb393e066ec0aaffa2ab2661398
diff --git a/dev-python/ijson/ijson-3.2.2.ebuild b/dev-python/ijson/ijson-3.2.2.ebuild
new file mode 100644
index 000000000000..f4e7d80ec763
--- /dev/null
+++ b/dev-python/ijson/ijson-3.2.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1
+
+MY_P="${P//_p/.post}"
+DESCRIPTION="Iterative JSON parser with a Pythonic interface"
+HOMEPAGE="
+ https://github.com/ICRAR/ijson/
+ https://pypi.org/project/ijson/
+"
+SRC_URI="
+ https://github.com/ICRAR/${PN}/archive/v${PV/_p/.post}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+DEPEND="
+ dev-libs/yajl
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+distutils_enable_tests pytest
+
+python_compile() {
+ local -x IJSON_BUILD_YAJL2C=1
+ # The extension is broken on PyPy3, probably a bug in PyPy itself.
+ # https://github.com/ICRAR/ijson/issues/101
+ [[ ${EPYTHON} == pypy3 ]] && IJSON_BUILD_YAJL2C=0
+ distutils-r1_python_compile
+}
+
+python_test() {
+ rm -rf ijson || die
+ epytest
+}