From ebac931cc23ca55abe982e67b9a4f06f748d0bef Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 27 Jul 2023 22:35:23 +0100 Subject: gentoo auto-resync : 27:07:2023 - 22:35:23 --- dev-python/typeguard/Manifest | 2 ++ dev-python/typeguard/typeguard-4.0.1.ebuild | 42 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 dev-python/typeguard/typeguard-4.0.1.ebuild (limited to 'dev-python/typeguard') diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 4c90453a6803..85ee03da6fd3 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,3 +1,5 @@ DIST typeguard-4.0.0.tar.gz 66064 BLAKE2B 250ef359fedb83df7573c9acb97f80fbf1d5b949505deb3d3757422aedadda65a106bf9533d858e13e2c49e0212a40a8604fa2edc8b24903e374a678985f4c85 SHA512 2acf8b9aabaa8d4cce75e1ff23aeae4d1445bdfc28044c74b8e96127b1e740287e5da89bd49bea92229ba5c02c7cec3b0e25126fa35eb5163b798b2087b1df6a +DIST typeguard-4.0.1.tar.gz 67242 BLAKE2B bf0b092402e4044675f1252a1ad4657fa8ec316bfda5e0afcce609f616e8d86998c059544ebbeea73eb5fa627eeae9371d46581b33891319f7b2385faa359310 SHA512 2e93086309550d6b98f2087a8900797ab9486c1a969da649d1a6cb508f6154b57b6807762e87df43088f80b69bcc11f87c71d83b38ca205d3ad8878a2cd4eb0e EBUILD typeguard-4.0.0.ebuild 935 BLAKE2B bf19f1cd2d294e04bc1d82a50b6267b2ba17d7eeaf661d48c255870faa107cc36c67bb42bc867710ed6b1a490b41d9e96fcdd19fbbb7fc6d30727a14d2f161dc SHA512 e8859fc93d549d256688d4c24232103656a83f506f46bb3eb2ba2164f08ce438ecec0045ff871d2bec15c8237a978fc4736dbfbbd43bc7ad4583168cf19b2cfa +EBUILD typeguard-4.0.1.ebuild 950 BLAKE2B 2b2d2fa0e9280109e759a645654171a5c0ad33f833d34723a0a4d3b789db33a1f9a941a8978757b5a77219422b0539589e6ce70bb1d4ca977bcd7641a9b0d21f SHA512 d85725b17e1e1ccfdfb586d6c3a453822684f15697977e6795c75bf786283c5c22f224d5cb7b4deb1ef2fc70d00a3b5cb8cedb3f555f1695af0f3ba019b13b9c MISC metadata.xml 350 BLAKE2B 78dc7293e08dae7974b38d84ce457ceddc5888a7278c1b149b8ba3057f07130b2e002dd78a9df91fd09d85b7ebc26272b4c78dd96c6cdd3938cff67b9c451366 SHA512 1fe4c4164b0732bd294815dacdd46a70ace6e8886343491232fb59b6b3697316c3eac5dd72e2e4758d87fd093d845f4453b8f278009be640ca1555413f47e869 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 +} -- cgit v1.2.3