diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-02 06:52:04 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-02 06:52:04 +0200 |
commit | dde5263b3358f3e92010ee57d7a50bc57d7b4a81 (patch) | |
tree | 5733036267cbe388658c99aa99405b8f4fde540c /dev-python/typing-extensions | |
parent | dev-python/translate-toolkit: Bump to 3.7.1 (diff) | |
download | gentoo-dde5263b3358f3e92010ee57d7a50bc57d7b4a81.tar.gz gentoo-dde5263b3358f3e92010ee57d7a50bc57d7b4a81.tar.bz2 gentoo-dde5263b3358f3e92010ee57d7a50bc57d7b4a81.zip |
dev-python/typing-extensions: Bump to 4.3.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/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/typing-extensions/typing-extensions-4.3.0.ebuild | 30 |
3 files changed, 32 insertions, 1 deletions
diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest index 3e8a84d01ada..cf73a3a08e83 100644 --- a/dev-python/typing-extensions/Manifest +++ b/dev-python/typing-extensions/Manifest @@ -1 +1,2 @@ DIST typing-extensions-4.2.0.gh.tar.gz 77169 BLAKE2B 3b7e91d0b410daf749d61213e8dc2bce069c05db7626a6c3a380fe1955ad97871f3c90782a8ba5114b11c42e0775558fd6fb1fd28a7cc0fbf2ec97480ef72298 SHA512 52e67eaeb3159e5effdcf180fc43d9881453c7efc00546335a8f31d5f7ab9859c2f89b29612861015ba490cdfd596720aa577630b424323256930b036b119776 +DIST typing_extensions-4.3.0.gh.tar.gz 47842 BLAKE2B 23a600dcded95a1109da46537bab49a6a478c77334d7c9effe65564bf236371c413a07220df3fa1de1bd0451e90961df908e097e7c7cb6d2534102369ce2590e SHA512 3c4a9073dc89e71b8027d535853d35725163961f7feeaba817e28f93b236bcae805d9b1f6e2be8e9fc3651c283b662935ba0352e5de25ff74df4dc18373e8f7a diff --git a/dev-python/typing-extensions/metadata.xml b/dev-python/typing-extensions/metadata.xml index 7e048467d8d4..7e18d1440fad 100644 --- a/dev-python/typing-extensions/metadata.xml +++ b/dev-python/typing-extensions/metadata.xml @@ -8,6 +8,6 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">typing-extensions</remote-id> - <remote-id type="github">python/typing</remote-id> + <remote-id type="github">python/typing_extensions</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/typing-extensions/typing-extensions-4.3.0.ebuild b/dev-python/typing-extensions/typing-extensions-4.3.0.ebuild new file mode 100644 index 000000000000..bffecf85e95f --- /dev/null +++ b/dev-python/typing-extensions/typing-extensions-4.3.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/-/_} +DESCRIPTION="Backported and Experimental Type Hints for Python 3.7+" +HOMEPAGE=" + https://pypi.org/project/typing-extensions/ + https://github.com/python/typing_extensions/ +" +SRC_URI=" + https://github.com/python/typing_extensions/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + +python_test() { + cd "${S}"/src || die + "${EPYTHON}" test_typing_extensions.py -v || die "tests failed under ${EPYTHON}" +} |