diff options
Diffstat (limited to 'dev-python/typing-extensions')
-rw-r--r-- | dev-python/typing-extensions/Manifest | 3 | ||||
-rw-r--r-- | dev-python/typing-extensions/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/typing-extensions/typing-extensions-3.7.4.ebuild | 29 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest new file mode 100644 index 000000000000..3557b44e99aa --- /dev/null +++ b/dev-python/typing-extensions/Manifest @@ -0,0 +1,3 @@ +DIST typing_extensions-3.7.4.tar.gz 36058 BLAKE2B f9e5efe9a7d51beb683bd4a88d7c1cab247b2c4cfd300131591bd04837dc15af277a8725c04566b9317be577f8f11e330f2d0169b52c3e9f92a8d3140e9e69d0 SHA512 82c15e6e67dde23456c3b01705729804dc21bd2088dee3aa63e53a5e597f474d34b1a37fb16bc5e3497f93d338c0115f49a070621523fb0fa3e994632785c6d9 +EBUILD typing-extensions-3.7.4.ebuild 804 BLAKE2B ff4253a32643dc8e7c05c3d7307a03dc3a6767f55c4c506834e64cba79eb174077e3ecdc48d73e0f3454dff1dee991383d3ec531e9f94101c253e272314b40fc SHA512 e1284d6f9c080ddb72e033953e4cf36effe1e3fb5d9ef68934ac19893f097b2801ff65cd189d53a6c5ded2f5ec2d82da66745116992d1a361ab4cdabd8a99430 +MISC metadata.xml 309 BLAKE2B 22c8c811a8b91dfcc0b4b8e2b6081e10cefda4e3a37733ac985c7412b71bd995dbf21b43ef6766a80e6decf3a5d9c6878623785eed9fcb817b63a7ca853502f7 SHA512 c483306bdc995969591e21452fd1cb20310e5e9e496b2b4a0ace1c1533023b6225dad6ea156ee12f0045e9bfb6a5426d9a16f05131395b960e529b3194b4331b diff --git a/dev-python/typing-extensions/metadata.xml b/dev-python/typing-extensions/metadata.xml new file mode 100644 index 000000000000..8fac39f099e5 --- /dev/null +++ b/dev-python/typing-extensions/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">typing</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/typing-extensions/typing-extensions-3.7.4.ebuild b/dev-python/typing-extensions/typing-extensions-3.7.4.ebuild new file mode 100644 index 000000000000..84e920351e6a --- /dev/null +++ b/dev-python/typing-extensions/typing-extensions-3.7.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6} ) + +inherit distutils-r1 + +MY_PN=${PN/-/_} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Type Hint extensions from Python 3.7 backported to 3.5/3.6" +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 ~s390 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +python_test() { + cd "${S}"/src_py3 || die + "${EPYTHON}" test_typing_extensions.py -v || die "tests failed under ${EPYTHON}" +} |