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 59FD515852A for ; Thu, 15 Aug 2024 03:48:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77735E2A03; Thu, 15 Aug 2024 03:48:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54DBEE2A03 for ; Thu, 15 Aug 2024 03:48: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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D10F4343019 for ; Thu, 15 Aug 2024 03:48:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 484531EF3 for ; Thu, 15 Aug 2024 03:47:58 +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: <1723693671.e28e93f04d46e94ef6e34b94af1e36aa15b5df7b.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/simplejson-3.19.3.ebuild X-VCS-Directories: dev-python/simplejson/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e28e93f04d46e94ef6e34b94af1e36aa15b5df7b X-VCS-Branch: master Date: Thu, 15 Aug 2024 03:47:58 +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: b0934f7c-ae6c-4d28-993b-05d2632aa399 X-Archives-Hash: cbfa6b28cea14f1d6b45be597a7162b7 commit: e28e93f04d46e94ef6e34b94af1e36aa15b5df7b Author: Michał Górny gentoo org> AuthorDate: Thu Aug 15 03:41:03 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Aug 15 03:47:51 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e28e93f0 dev-python/simplejson: Bump to 3.19.3 Signed-off-by: Michał Górny gentoo.org> dev-python/simplejson/Manifest | 1 + dev-python/simplejson/simplejson-3.19.3.ebuild | 37 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest index 070b48b4c162..f13407d7470d 100644 --- a/dev-python/simplejson/Manifest +++ b/dev-python/simplejson/Manifest @@ -1 +1,2 @@ DIST simplejson-3.19.2.tar.gz 85311 BLAKE2B eecbe77c9612468a0ce52b165be9b4fc4b3d8bcca99621a2723c50fc0c89cdce981421ba71b85535f1c66b48b7178da37f117f9dec8a66cb6f3fe83e3d2d033e SHA512 d92bf617e27b66d93a5d176d38c0c6ae2777728d1e43fdb8054cc9c2b50e3f340079c82dd3ec1af36c8d6380833d16e8eecdc8dd950bba953c195256b44b46c5 +DIST simplejson-3.19.3.tar.gz 85237 BLAKE2B e3c233201c390a1c864670d9a7a81a6aef5334632afbbc303b31dab06709d8a383451e3c7500be3166282b322b93f4fedc2633a1519cb2e2eaef7c4472e903a6 SHA512 257c10c4c84201f1d9c4d77e823c4ef393bf7214c8947e4c95bcfe7c09140ff1b974cc5b00a6e659961263380673d3c4b67a1b37f878888ed049f1db0b663c92 diff --git a/dev-python/simplejson/simplejson-3.19.3.ebuild b/dev-python/simplejson/simplejson-3.19.3.ebuild new file mode 100644 index 000000000000..c61dabcb3d8e --- /dev/null +++ b/dev-python/simplejson/simplejson-3.19.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 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..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python" +HOMEPAGE=" + https://github.com/simplejson/simplejson/ + https://pypi.org/project/simplejson/ +" + +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() { + # native-extensions are always disabled on PyPy + # https://github.com/simplejson/simplejson/blob/master/setup.py#L121 + 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 +}