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 559C015801B for ; Thu, 27 Jul 2023 15:57:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34C7CE0978; Thu, 27 Jul 2023 15:57:53 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14278E0973 for ; Thu, 27 Jul 2023 15:57:52 +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 E03D3341465 for ; Thu, 27 Jul 2023 15:57:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D71BDDD for ; Thu, 27 Jul 2023 15:57:50 +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: <1690472552.ebd708d7d02517ac2f8a5c58499391ceeb47a0a1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/typeguard/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/typeguard/Manifest dev-python/typeguard/typeguard-4.0.1.ebuild X-VCS-Directories: dev-python/typeguard/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ebd708d7d02517ac2f8a5c58499391ceeb47a0a1 X-VCS-Branch: master Date: Thu, 27 Jul 2023 15:57:50 +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: 5a6c6870-055c-40a2-9621-b6a2a1800675 X-Archives-Hash: f0d2abff847f0861b7b6fed03a1d4121 commit: ebd708d7d02517ac2f8a5c58499391ceeb47a0a1 Author: Michał Górny gentoo org> AuthorDate: Thu Jul 27 15:42:32 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 27 15:42:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebd708d7 dev-python/typeguard: Bump to 4.0.1 Signed-off-by: Michał Górny gentoo.org> dev-python/typeguard/Manifest | 1 + dev-python/typeguard/typeguard-4.0.1.ebuild | 42 +++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 4ce05572df81..7ac0f2101d5e 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1 +1,2 @@ DIST typeguard-4.0.0.tar.gz 66064 BLAKE2B 250ef359fedb83df7573c9acb97f80fbf1d5b949505deb3d3757422aedadda65a106bf9533d858e13e2c49e0212a40a8604fa2edc8b24903e374a678985f4c85 SHA512 2acf8b9aabaa8d4cce75e1ff23aeae4d1445bdfc28044c74b8e96127b1e740287e5da89bd49bea92229ba5c02c7cec3b0e25126fa35eb5163b798b2087b1df6a +DIST typeguard-4.0.1.tar.gz 67242 BLAKE2B bf0b092402e4044675f1252a1ad4657fa8ec316bfda5e0afcce609f616e8d86998c059544ebbeea73eb5fa627eeae9371d46581b33891319f7b2385faa359310 SHA512 2e93086309550d6b98f2087a8900797ab9486c1a969da649d1a6cb508f6154b57b6807762e87df43088f80b69bcc11f87c71d83b38ca205d3ad8878a2cd4eb0e diff --git a/dev-python/typeguard/typeguard-4.0.1.ebuild b/dev-python/typeguard/typeguard-4.0.1.ebuild new file mode 100644 index 000000000000..2d5d1842fcbf --- /dev/null +++ b/dev-python/typeguard/typeguard-4.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Run-time type checker for Python" +HOMEPAGE=" + https://pypi.org/project/typeguard/ + https://github.com/agronholm/typeguard/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.7.0[${PYTHON_USEDEP}] + ' 3.{10..11}) +" +BDEPEND=" + >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # mypy changes results from version to version + tests/mypy + ) + + local -x PYTHONDONTWRITEBYTECODE= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # the XFAIL test pass due to some package being installed + epytest -o xfail_strict=False +}