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 468E615800F for ; Sun, 5 Feb 2023 16:19:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 648B3E07B2; Sun, 5 Feb 2023 16:19:02 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 4AE80E07B2 for ; Sun, 5 Feb 2023 16:19:02 +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 32806340A5D for ; Sun, 5 Feb 2023 16:19:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 43AD2893 for ; Sun, 5 Feb 2023 16:18:59 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1675613923.514ba3cca79dc7ed199ecc2d6f8c624b6c876946.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/simplejson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/simplejson/Manifest dev-python/simplejson/metadata.xml dev-python/simplejson/simplejson-3.18.2.ebuild X-VCS-Directories: dev-python/simplejson/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 514ba3cca79dc7ed199ecc2d6f8c624b6c876946 X-VCS-Branch: master Date: Sun, 5 Feb 2023 16:18:59 +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: 4dbf5544-9a27-45d7-a4a6-344a89d0fd5c X-Archives-Hash: f16fb024fbfcbe784e168c8d981c979b commit: 514ba3cca79dc7ed199ecc2d6f8c624b6c876946 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 5 16:18:43 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 5 16:18:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514ba3cc dev-python/simplejson: Bump to 3.18.2 Signed-off-by: Michał Górny gentoo.org> dev-python/simplejson/Manifest | 1 + dev-python/simplejson/metadata.xml | 6 ++++ dev-python/simplejson/simplejson-3.18.2.ebuild | 38 ++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest index 4d003c72bbc6..36f91f571af2 100644 --- a/dev-python/simplejson/Manifest +++ b/dev-python/simplejson/Manifest @@ -1,2 +1,3 @@ DIST simplejson-3.18.0.tar.gz 83533 BLAKE2B 83c6f7f3734507f5a96b51d52dd39b0bd8ff772d51ce1f12ff2ee68f83747f519f418f78247727af7c408da4e7818d1b0d1f7b54b7780e3bc427add1eeaebb06 SHA512 952177fc707e5b1fb6450093876f9a7af1026271cb792bb8dc0418b83906ae32e7f2251b96f531101197d0b3204a97124bff02f7abc4cf700da4edf1320b6b08 DIST simplejson-3.18.1.tar.gz 83603 BLAKE2B 5f51d06238210b0bdd3dbb2338979023324e1056c2278f7eef7b929cc0bf9f9178d032829a3ce49c0b630f3367268d68753f250968962159e9a9aafcd3105d20 SHA512 3a18d02f42624e27c536582cf9b6ceb8559d54dd97224294a6f6ee8173ee37c0cc9cd21bad777c29ab432ac41b1495fca9d45da300b5040c175980d236d3b9d6 +DIST simplejson-3.18.2.gh.tar.gz 81518 BLAKE2B 317ea52890a1bd48fe2a647eeffc9f8a9366c62a6e40fb91a2c154bd49fc3ec9d29c18aaaa4866962cf40d86e256abc090a19d891885171d32faac8344f2e17b SHA512 ef19e513bc45afacd746bf7018165e90a001dc6a91b7f749d8a0b0272283885bcaf6fa77d8e05e18805310e0ee26529dd83cb947bb25fbc3890898ccafe68a8e diff --git a/dev-python/simplejson/metadata.xml b/dev-python/simplejson/metadata.xml index 1f5def0900e2..d7d1eb0b9a7a 100644 --- a/dev-python/simplejson/metadata.xml +++ b/dev-python/simplejson/metadata.xml @@ -9,4 +9,10 @@ simplejson simplejson/simplejson + + + Compiles native "C" extensions (speedups, instead of using Python + fallback code). + + diff --git a/dev-python/simplejson/simplejson-3.18.2.ebuild b/dev-python/simplejson/simplejson-3.18.2.ebuild new file mode 100644 index 000000000000..e517c93ea2be --- /dev/null +++ b/dev-python/simplejson/simplejson-3.18.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python" +HOMEPAGE=" + https://github.com/simplejson/simplejson/ + https://pypi.org/project/simplejson/ +" +SRC_URI=" + https://github.com/simplejson/simplejson/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( MIT AFL-2.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="+native-extensions" + +DOCS=( README.rst CHANGES.txt ) + +distutils_enable_tests unittest + +src_configure() { + export DISABLE_SPEEDUPS=$(usex native-extensions 0 1) + use native-extensions && export REQUIRE_SPEEDUPS=1 +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +}