diff options
author | Sam James <sam@gentoo.org> | 2021-12-26 23:12:50 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-26 23:13:07 +0000 |
commit | 3098847f51e5126cbf6e3e91ee50855763e7420f (patch) | |
tree | defe297d9c74141470254e5b8bae335d3ab55800 /dev-python/typing-extensions | |
parent | sys-fs/zfs: update upstream info in metadata (diff) | |
download | gentoo-3098847f51e5126cbf6e3e91ee50855763e7420f.tar.gz gentoo-3098847f51e5126cbf6e3e91ee50855763e7420f.tar.bz2 gentoo-3098847f51e5126cbf6e3e91ee50855763e7420f.zip |
dev-python/typing-extensions: add 4.0.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/typing-extensions')
-rw-r--r-- | dev-python/typing-extensions/Manifest | 1 | ||||
-rw-r--r-- | dev-python/typing-extensions/typing-extensions-4.0.1.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest index a76656936b96..b79aa9a30218 100644 --- a/dev-python/typing-extensions/Manifest +++ b/dev-python/typing-extensions/Manifest @@ -1 +1,2 @@ DIST typing-extensions-4.0.0.gh.tar.gz 64263 BLAKE2B c4fe05f5ad32b471d9aff6c792870ce315e52184d4e8c0850fdc1b6e7421bc80566ca2d364764583c3bce76f53018e3ec284ca1866da4fa3f09438c852c89d80 SHA512 eda25164d40c642949c92140678d1ab9ec73fa988c0b9233852207ac2dad05b0390fda8da420c8817bf3816ab33e4540b41766ccd8b9a0b16c857650bc2e3f73 +DIST typing-extensions-4.0.1.gh.tar.gz 65425 BLAKE2B 0712ac0b87e67e716c562bc8d25d88b60c42b513b7f97ddeb2b6d959f2a3ee582ec5f692a192d17323ff892290bf410eadd53012ff0485c4c8b2bc8b15a7a465 SHA512 5af1590a98247f01df5abcbc7fe4db19b0b174918d2679b532e8c1e5483ae2293901c2314240217ab1bad087633e02865311f9b295b3d65587fdf2f6e0a26bc5 diff --git a/dev-python/typing-extensions/typing-extensions-4.0.1.ebuild b/dev-python/typing-extensions/typing-extensions-4.0.1.ebuild new file mode 100644 index 000000000000..d7e26f0c6f3d --- /dev/null +++ b/dev-python/typing-extensions/typing-extensions-4.0.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +MY_P=typing-${PV} +DESCRIPTION="Type Hint extensions from Python 3.8 backported" +HOMEPAGE=" + https://pypi.org/project/typing-extensions/ + https://github.com/python/typing/" +SRC_URI=" + https://github.com/python/typing/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +S=${WORKDIR}/${MY_P}/typing_extensions + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + +BDEPEND=" + >=dev-python/pyproject2setuppy-21[${PYTHON_USEDEP}]" + +python_test() { + cd "${S}"/src || die + "${EPYTHON}" test_typing_extensions.py -v || die "tests failed under ${EPYTHON}" +} |