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 7FDF015800F for ; Sat, 18 Feb 2023 07:03:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30E78E0867; Sat, 18 Feb 2023 07:03:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 1C11EE0867 for ; Sat, 18 Feb 2023 07:03:12 +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 3B1F1340F6E for ; Sat, 18 Feb 2023 07:03:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 438FD8B9 for ; Sat, 18 Feb 2023 07:03:07 +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: <1676703775.0aa647b9536c381b350bdbe00946899a5e196196.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/frozendict/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/frozendict/Manifest dev-python/frozendict/frozendict-2.3.5.ebuild X-VCS-Directories: dev-python/frozendict/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0aa647b9536c381b350bdbe00946899a5e196196 X-VCS-Branch: master Date: Sat, 18 Feb 2023 07:03:07 +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: dca02ed1-6585-4df2-a42c-4df193caf6fd X-Archives-Hash: f765c8386005b5afcc760cce2bfb75d2 commit: 0aa647b9536c381b350bdbe00946899a5e196196 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 18 05:47:09 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Feb 18 07:02:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa647b9 dev-python/frozendict: Bump to 2.3.5 Signed-off-by: Michał Górny gentoo.org> dev-python/frozendict/Manifest | 1 + dev-python/frozendict/frozendict-2.3.5.ebuild | 49 +++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/frozendict/Manifest b/dev-python/frozendict/Manifest index 25b091d61a39..c791a05a85f7 100644 --- a/dev-python/frozendict/Manifest +++ b/dev-python/frozendict/Manifest @@ -1 +1,2 @@ DIST frozendict-2.3.4.gh.tar.gz 307399 BLAKE2B ac6311182ed2ba4925a14a145b4d30a0241978f55ae7a81cebc534ede812ca77097f0f8c7eeb08e8cbd6240e036d3b5035bd3e9b284a55b638c93717e3a20258 SHA512 15acc4fceb5e2228ee3423d4a5b86c529e9bdcb7264f59139cbde6194983901a17da8036bebf53d7d8057ce52666031e90eb1ca358bfd374c651fd60743988dc +DIST frozendict-2.3.5.gh.tar.gz 307566 BLAKE2B 8d8b7d483e248be5de3c6e689dbb7e8dc40f8a8112456308e6a0e633dee04640aa0bb43edcf07e2a9829b87b8d082aa0926581622372224e9636cca27eaeaef0 SHA512 9e3820f2a24f2362f1be82049df871449a5225a927efa7735a2e9320e3c9f835a4a0a99a0037a3366df55a5744b38e96b358a9cc624defa79f45a5bff4c3b61d diff --git a/dev-python/frozendict/frozendict-2.3.5.ebuild b/dev-python/frozendict/frozendict-2.3.5.ebuild new file mode 100644 index 000000000000..0cfb1f569acd --- /dev/null +++ b/dev-python/frozendict/frozendict-2.3.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022-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} ) +C_EXT_COMPAT=( python3.{9..10} ) + +inherit distutils-r1 + +DESCRIPTION="A simple immutable mapping for python" +HOMEPAGE=" + https://github.com/Marco-Sulla/python-frozendict/ + https://pypi.org/project/frozendict/ +" +SRC_URI=" + https://github.com/Marco-Sulla/python-frozendict/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/python-${P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" + +distutils_enable_tests pytest + +python_compile() { + local -x CIBUILDWHEEL=0 + # This prevents the build system from ignoring build failures, sigh. + has "${EPYTHON}" "${C_EXT_COMPAT[@]}" && CIBUILDWHEEL=1 + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=() + # skip tests of native extension for python versions where it is not available + if ! has "${EPYTHON}" "${C_EXT_COMPAT[@]}"; then + EPYTEST_IGNORE+=( + test/test_frozendict_c.py + test/test_frozendict_c_subclass.py + ) + fi + + rm -rf frozendict || die + epytest +}