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 E23A815801B for ; Sat, 22 Jul 2023 12:58:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7BDBE0856; Sat, 22 Jul 2023 12:58:05 +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 9B90AE0856 for ; Sat, 22 Jul 2023 12:58:05 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B233E340B0C for ; Sat, 22 Jul 2023 12:58:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E8D0B74 for ; Sat, 22 Jul 2023 12:58:03 +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: <1690030552.68bb3f1d83baac69fc704d578d2b7d52addce9ce.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ijson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ijson/Manifest dev-python/ijson/ijson-3.2.3.ebuild X-VCS-Directories: dev-python/ijson/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 68bb3f1d83baac69fc704d578d2b7d52addce9ce X-VCS-Branch: master Date: Sat, 22 Jul 2023 12:58:03 +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: 17fb641d-d6fc-4fc1-9e82-fc94d633d8be X-Archives-Hash: 718c628b73b84849b4503a44340242df commit: 68bb3f1d83baac69fc704d578d2b7d52addce9ce Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jul 22 12:27:29 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jul 22 12:55:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68bb3f1d dev-python/ijson: add 3.2.3 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/ijson/Manifest | 1 + dev-python/ijson/ijson-3.2.3.ebuild | 48 +++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-python/ijson/Manifest b/dev-python/ijson/Manifest index a048e298bb40..dbca4d4b0356 100644 --- a/dev-python/ijson/Manifest +++ b/dev-python/ijson/Manifest @@ -1 +1,2 @@ DIST ijson-3.2.2.gh.tar.gz 127965 BLAKE2B 2e20f7cc822406fe3e7eec99c3ef394e42d90b0b518226a7b8eb078763cb8317acb4a28934301116c32a2a9cc37403c2950b18232800485b1ea1206dace7ff23 SHA512 5935071bd0d3eecc39b3c30ca5cb2a959e4d455c57e36414d5c97ba71bbcf1a0b53c8b8afed7551a3a4ac4595294105566c9d7501b35832dd7e46a1bb2151287 +DIST ijson-3.2.3.gh.tar.gz 128266 BLAKE2B 6ee31eb2ded44898f613b1f86147f2a745b9a9c0dc35b9a33eae3fb2c207694ebc96b03a3a53373c8460256ae03cbf1c9eff13a197d88dd6dd28055d25beceaa SHA512 cfdbf8efce072f00c4b3c61dd8b3f3164fd5ab757ac18783de992fe25e5ecbcdee92fe728f1345a37996625ab2ddfef6859dfdbdca7a7ece8f3d99750a9d60b0 diff --git a/dev-python/ijson/ijson-3.2.3.ebuild b/dev-python/ijson/ijson-3.2.3.ebuild new file mode 100644 index 000000000000..f4e7d80ec763 --- /dev/null +++ b/dev-python/ijson/ijson-3.2.3.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 +}