mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 01:53:25 -04:00
dev-python/typing_inspect: new package, add 0.7.1
Signed-off-by: James Beddek <telans@posteo.de>
This commit is contained in:
1
dev-python/typing_inspect/Manifest
Normal file
1
dev-python/typing_inspect/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST typing_inspect-0.7.1.tar.gz 11799 BLAKE2B a0f0fde9fe1b85897c8cac660a1fb9de2b9bc3b83c619ddb0642749cacb105bfc7d2f0e25a1da0e9c95a3cdd60e39eecd3be4aef32d0f47c53f107d681f43a39 SHA512 16aa279e5bcdcaa4ad28b68a5c5cedcefee32ec78f57c75b4285888ab6d634e3306eedc63445839cc57923ae956e9b2234cb2afcf71216b3f6ff6839cd48fc58
|
||||
8
dev-python/typing_inspect/metadata.xml
Normal file
8
dev-python/typing_inspect/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>telans@posteo.de</email>
|
||||
<name>James Beddek</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
32
dev-python/typing_inspect/typing_inspect-0.7.1.ebuild
Normal file
32
dev-python/typing_inspect/typing_inspect-0.7.1.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} ) # python3_11 depends on dev-python/mypy_extensions
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Runtime inspection utilities for Python typing module"
|
||||
HOMEPAGE="https://github.com/ilevkivskyi/typing_inspect"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user