From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E9C07138334 for ; Sun, 14 Jul 2019 12:27:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7590FE08AE; Sun, 14 Jul 2019 12:27:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 450BAE08AE for ; Sun, 14 Jul 2019 12:27:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B52C347A84 for ; Sun, 14 Jul 2019 12:27:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4218739 for ; Sun, 14 Jul 2019 12:27:46 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1563107190.4a1c47cb73b4f17600c3dc67b0d2c20a88770a52.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/typing-extensions/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/typing-extensions/Manifest dev-python/typing-extensions/metadata.xml dev-python/typing-extensions/typing-extensions-3.7.4.ebuild X-VCS-Directories: dev-python/typing-extensions/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4a1c47cb73b4f17600c3dc67b0d2c20a88770a52 X-VCS-Branch: master Date: Sun, 14 Jul 2019 12:27:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0a9a8787-5925-416a-9c8b-8d043206f908 X-Archives-Hash: 8ca20d6676cd4a1e26b113320d586b76 commit: 4a1c47cb73b4f17600c3dc67b0d2c20a88770a52 Author: Michał Górny gentoo org> AuthorDate: Sun Jul 14 10:38:55 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 14 12:26:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1c47cb dev-python/typing-extensions: New package, needed for aiohttp bump This package provides backports of 'typing' module changes from Python 3.7. The complete 'typing' module for Python 2.7 is provided via dev-python/typing. Signed-off-by: Michał Górny gentoo.org> dev-python/typing-extensions/Manifest | 1 + dev-python/typing-extensions/metadata.xml | 11 ++++++++ .../typing-extensions-3.7.4.ebuild | 29 ++++++++++++++++++++++ 3 files changed, 41 insertions(+) diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest new file mode 100644 index 00000000000..02981da7a5c --- /dev/null +++ b/dev-python/typing-extensions/Manifest @@ -0,0 +1 @@ +DIST typing_extensions-3.7.4.tar.gz 36058 BLAKE2B f9e5efe9a7d51beb683bd4a88d7c1cab247b2c4cfd300131591bd04837dc15af277a8725c04566b9317be577f8f11e330f2d0169b52c3e9f92a8d3140e9e69d0 SHA512 82c15e6e67dde23456c3b01705729804dc21bd2088dee3aa63e53a5e597f474d34b1a37fb16bc5e3497f93d338c0115f49a070621523fb0fa3e994632785c6d9 diff --git a/dev-python/typing-extensions/metadata.xml b/dev-python/typing-extensions/metadata.xml new file mode 100644 index 00000000000..8fac39f099e --- /dev/null +++ b/dev-python/typing-extensions/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + Python + + + typing + + 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 00000000000..84e920351e6 --- /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}" +}