diff --git a/dev-python/typing_inspect/Manifest b/dev-python/typing_inspect/Manifest new file mode 100644 index 0000000000..013f920d56 --- /dev/null +++ b/dev-python/typing_inspect/Manifest @@ -0,0 +1 @@ +DIST typing_inspect-0.9.0.tar.gz 13825 BLAKE2B 599ec6a99fd040ac5ee83ef20deee86a8255dd116c8d8defe67d99291088984efc3b639986a9d350b26200028a309cfe6590a3f75dc4b9e0306bdc13bb65641e SHA512 5d46e6632895fa0a59007779f49a5812beff09f59e359a81af93bfee7bb5f4c2025566efbd27422299a614baa4d9c22da2317377090b0ad1cdd89fca73e9ee5a diff --git a/dev-python/typing_inspect/metadata.xml b/dev-python/typing_inspect/metadata.xml new file mode 100644 index 0000000000..33a8fb3b88 --- /dev/null +++ b/dev-python/typing_inspect/metadata.xml @@ -0,0 +1,9 @@ + + + + + + ilevkivskyi/typing_inspect + typing_inspect + + diff --git a/dev-python/typing_inspect/typing_inspect-0.9.0.ebuild b/dev-python/typing_inspect/typing_inspect-0.9.0.ebuild new file mode 100644 index 0000000000..5ace518964 --- /dev/null +++ b/dev-python/typing_inspect/typing_inspect-0.9.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="Runtime inspection utilities for Python typing module" +HOMEPAGE="https://github.com/ilevkivskyi/typing_inspect" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/mypy_extensions-0.3.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.7.4.2[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +python_test() { + # https://github.com/ilevkivskyi/typing_inspect/issues/84 + local EPYTEST_DESELECT=( 'test_typing_inspect.py::GetUtilityTestCase::test_typed_dict_typing_extension' ) + epytest +}