From a7689c2abcff4374b84d95fb2df980ec9a566965 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Mar 2024 19:00:40 +0000 Subject: gentoo auto-resync : 24:03:2024 - 19:00:40 --- dev-python/typeguard/Manifest | 2 ++ dev-python/typeguard/typeguard-4.2.1.ebuild | 42 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 dev-python/typeguard/typeguard-4.2.1.ebuild (limited to 'dev-python/typeguard') diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 3bc861120b93..0cc6dd51f76c 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,3 +1,5 @@ DIST typeguard-4.1.5.tar.gz 69228 BLAKE2B 2af39b1cb179483e167b8cfbf053e633f5947b3a17c496aaa2bdf22f3a69f7b41e2c9f317534eb12ffb781364cf81d117ced9fafd389aadd85d16d05e42bff0b SHA512 50bf3760246dba5de2e98038c78acbd6f2fd2d69ae8c688c3efeface5ef6cc4c2521f82d6084dabc1258286ac589ff94f1b9e3c9b67e9b019d725bf13884fce2 +DIST typeguard-4.2.1.tar.gz 71292 BLAKE2B ad529ce88c7d38d4491734c5ac8e465bbde66ccd76a18f83c0f61837fa10c50450bc8535bbab48e913cea9593795a6b16d82650eed38c277f65cd5d5556d71a1 SHA512 2bfe2836cbcca0f223d16e5772c9c53169b75391f062eb6fc5f1abc22297b7482f3482812f15b3ed92dd31b86f803072245370dce5ba19fc4d31723b1d2f38b3 EBUILD typeguard-4.1.5.ebuild 948 BLAKE2B 07278a20308c63362089936461d76f208901bb2324ee7809ac3f145bce01a5c43a5028b2965aedae6d0981e846a7b82b73545ffb38a27182580f40fa744510ff SHA512 f39a941c871e753b6edf8aef14ab3fa230f955fbb858e70ab86e8bc3da1724d1e6ecef5f0305e91666a556d2371420a06f93c97f396d34c03cb3308856c41389 +EBUILD typeguard-4.2.1.ebuild 970 BLAKE2B c0846c8ba90695a0bbd2c4dd3d8971d71559e4b6b1ce17cf658bf87cd40fcde75d7eb94e64200997d14fe28a9dbf100e138a323e74e97320799cf3c4980f73f1 SHA512 7e90a3bcbb545f2a0f23ae0dc848da6b692052f9b21417a80166c9c28b3c3b2af25c6ee9dacef6530ab7b9322b1f86cfee8ba4067a9c8646fa0e8836dbae2110 MISC metadata.xml 350 BLAKE2B 78dc7293e08dae7974b38d84ce457ceddc5888a7278c1b149b8ba3057f07130b2e002dd78a9df91fd09d85b7ebc26272b4c78dd96c6cdd3938cff67b9c451366 SHA512 1fe4c4164b0732bd294815dacdd46a70ace6e8886343491232fb59b6b3697316c3eac5dd72e2e4758d87fd093d845f4453b8f278009be640ca1555413f47e869 diff --git a/dev-python/typeguard/typeguard-4.2.1.ebuild b/dev-python/typeguard/typeguard-4.2.1.ebuild new file mode 100644 index 000000000000..9cd2a29b277d --- /dev/null +++ b/dev-python/typeguard/typeguard-4.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 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.10.0[${PYTHON_USEDEP}] + ' 3.{10..12}) +" +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 -p typeguard +} -- cgit v1.2.3