diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-15 08:01:49 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-15 08:01:49 +0000 |
| commit | ca49bb673cb95a5110ac8fcfd2e37b823716b388 (patch) | |
| tree | e5a9f90600f06768496cb25373d793a9f05554c2 /dev-python/typeguard | |
| parent | d6f36cc9110dbd847e3529a0585783c64557b56a (diff) | |
| download | baldeagleos-repo-ca49bb673cb95a5110ac8fcfd2e37b823716b388.tar.gz baldeagleos-repo-ca49bb673cb95a5110ac8fcfd2e37b823716b388.tar.xz baldeagleos-repo-ca49bb673cb95a5110ac8fcfd2e37b823716b388.zip | |
Adding metadata
Diffstat (limited to 'dev-python/typeguard')
| -rw-r--r-- | dev-python/typeguard/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/typeguard/typeguard-3.0.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 1f9c43e6470b..93485c5f8f65 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1 +1,2 @@ DIST typeguard-2.13.3.gh.tar.gz 37436 BLAKE2B a3cb616692119c64a9dc0d0bae25cc661b7974a0b6cf6632fa403f7c5430873570b1aaa310bc03843deee6f77a831c303ea9d9091db596eb565fce43980bbb13 SHA512 26c31ee9670650d1969320187a924d29d986894a38f1026af58f705b132b64be3b6e2ac34729f966f5d302d486334b5a5d9e65fb206245b82b0ff0852020b609 +DIST typeguard-3.0.0.tar.gz 55330 BLAKE2B b0b764414c70e109e5bdddd1bfac06af5b0db8d8913e2777b4bec94598ae70f5ed323686f54d902c541c606e7ae32129b3a29099e59cfe5ff2ecad4e6991409e SHA512 367ffea6636817bf9ce492de575b38b1f15aec323d415476bdea271f01ee60073274fd955bdad0e554eb306fb4e516b80a29e5db10015cf47856279235e36c24 diff --git a/dev-python/typeguard/typeguard-3.0.0.ebuild b/dev-python/typeguard/typeguard-3.0.0.ebuild new file mode 100644 index 000000000000..5a506dba95c1 --- /dev/null +++ b/dev-python/typeguard/typeguard-3.0.0.ebuild @@ -0,0 +1,45 @@ +# 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_{7,8,9,10,11} ) + +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/importlib_metadata-3.6[${PYTHON_USEDEP}] + ' 3.{8..9}) + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}] + ' 3.{8..10}) +" +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 +} |
