diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-05-01 22:59:07 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-05-01 23:06:11 +0200 |
commit | 861625497b0126fd503a57c73cb9ac957acfde4a (patch) | |
tree | 1a36c095c16a5fbe75bb57fd937afa9f57eabe9b /dev-python/typing-extensions | |
parent | dev-libs/elfutils: remove unused patches (diff) | |
download | gentoo-861625497b0126fd503a57c73cb9ac957acfde4a.tar.gz gentoo-861625497b0126fd503a57c73cb9ac957acfde4a.tar.bz2 gentoo-861625497b0126fd503a57c73cb9ac957acfde4a.zip |
dev-python/typing-extensions: Bump to 3.10.0.0
Signed-off-by: Michał Górny <mgorny@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-3.10.0.0.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest index 6c7cb26a7a96..dbf008ed153f 100644 --- a/dev-python/typing-extensions/Manifest +++ b/dev-python/typing-extensions/Manifest @@ -1 +1,2 @@ +DIST typing_extensions-3.10.0.0.tar.gz 45509 BLAKE2B 34730a537f83bdb6fc126cef947621ea13e93ffaa0ca824d4a60319c57b3b5f79f640bf59b2214d6287d9311c92487da396313e327d2122646cb6e1dc8e3b17b SHA512 1c262aedb092d506bcd90d033a640fa6e1f9131f95eafb77d30ed21ff7d6b0f492b6092d3523ecb773bc54904679e0fa1aa8c3b4af62d77f1a7e6fe5fd6cb10c DIST typing_extensions-3.7.4.3.tar.gz 38979 BLAKE2B c1b0cc4d5d66f43628f6b488aefdcdd9878aa75cd426fce68aea6039006c1f0126f1a492a817e5a18d2c611aa399c5415d8b5e047b58868ee7b8b2cccfe13825 SHA512 fa1f96b73b13308ddb2676684862916aac8741be4523387c6a0f682a52d307190aac3e4149317842e686d14483d8a37a9e1de2514a2d1ca86f9ae9c8b0e18eb1 diff --git a/dev-python/typing-extensions/typing-extensions-3.10.0.0.ebuild b/dev-python/typing-extensions/typing-extensions-3.10.0.0.ebuild new file mode 100644 index 000000000000..3c574dcd9ec8 --- /dev/null +++ b/dev-python/typing-extensions/typing-extensions-3.10.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/_} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Type Hint extensions from Python 3.8 backported" +HOMEPAGE=" + https://pypi.org/project/typing-extensions/ + https://github.com/python/typing/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + +python_test() { + cd "${S}"/src_py3 || die + "${EPYTHON}" test_typing_extensions.py -v || die "tests failed under ${EPYTHON}" +} |