public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/typing-extensions/
Date: Sun, 14 Jul 2019 12:27:46 +0000 (UTC)	[thread overview]
Message-ID: <1563107190.4a1c47cb73b4f17600c3dc67b0d2c20a88770a52.mgorny@gentoo> (raw)

commit:     4a1c47cb73b4f17600c3dc67b0d2c20a88770a52
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 14 10:38:55 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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 @@
+<?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 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}"
+}


             reply	other threads:[~2019-07-14 12:27 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-14 12:27 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-07-31 14:32 [gentoo-commits] repo/gentoo:master commit in: dev-python/typing-extensions/ Mikle Kolyada
2019-07-31 14:32 Mikle Kolyada
2019-10-27 12:37 Mike Auty
2019-11-30  0:44 Patrick McLean
2020-03-29 10:13 Michał Górny
2020-07-27  5:41 Michał Górny
2020-08-26 20:35 Patrick McLean
2020-09-08 19:11 Michał Górny
2020-09-18 15:53 Michał Górny
2020-09-20 17:39 Sam James
2020-09-20 21:52 Thomas Deutschmann
2020-09-21  9:23 Sam James
2020-09-23 10:24 Agostino Sarubbo
2020-09-23 10:29 Agostino Sarubbo
2020-09-23 10:32 Agostino Sarubbo
2020-09-24  6:46 Agostino Sarubbo
2020-09-26 21:34 Sergei Trofimovich
2020-10-21 22:51 Michał Górny
2020-11-28  8:07 Sam James
2020-12-11 12:58 Michał Górny
2021-05-01 21:06 Michał Górny
2021-05-06 18:45 Michał Górny
2021-06-05 20:55 Michał Górny
2021-08-30 21:41 Michał Górny
2021-09-25 13:09 James Le Cuirot
2021-10-31 17:55 Sam James
2021-10-31 20:31 Michał Górny
2021-11-15 10:47 Michał Górny
2021-12-15 17:26 Arthur Zamarin
2021-12-15 18:17 Michał Górny
2021-12-26 23:13 Sam James
2021-12-26 23:44 Sam James
2021-12-27  2:58 Sam James
2021-12-27  5:05 Michał Górny
2022-01-27 10:02 Michał Górny
2022-02-13  9:29 Michał Górny
2022-02-14  8:32 Michał Górny
2022-02-27 18:52 Michał Górny
2022-04-18  8:19 Michał Górny
2022-05-11 10:04 Michał Górny
2022-05-31  7:07 Jakov Smolić
2022-05-31  7:22 Michał Górny
2022-07-02  4:55 Michał Górny
2022-08-02 18:32 Arthur Zamarin
2022-08-02 19:05 Michał Górny
2023-02-15  7:16 Michał Górny
2023-02-16 17:22 Arthur Zamarin
2023-02-16 20:28 Michał Górny
2023-03-17 15:52 Arthur Zamarin
2023-03-17 15:58 Michał Górny
2023-05-03  7:54 Fabian Groffen
2023-05-23  5:07 Michał Górny
2023-05-23 15:42 Michał Górny
2023-05-24  5:32 Michał Górny
2023-06-02  8:28 Michał Górny
2023-06-27  6:43 Sam James
2023-06-27 12:03 Michał Górny
2023-06-29  5:12 Michał Górny
2023-07-03  4:15 Michał Górny
2023-08-02 16:37 Sam James
2023-08-02 18:52 Michał Górny
2023-09-18 14:00 Michał Górny
2023-10-23 18:50 Sam James
2023-10-24  5:58 Michał Górny
2023-12-10  6:45 Michał Górny
2023-12-30 14:25 Arthur Zamarin
2023-12-30 14:32 Michał Górny
2024-02-26  4:35 Michał Górny
2024-03-13 13:50 Arthur Zamarin
2024-03-13 15:02 Michał Górny
2024-04-05 18:52 Michał Górny
2024-04-20  9:45 Michał Górny
2024-04-20  9:48 Michał Górny
2024-05-12 12:25 Michał Górny
2024-05-17  6:25 Michał Górny
2024-05-24  4:03 Michał Górny
2024-06-02  2:35 Michał Górny
2024-06-08  5:06 Michał Górny
2024-06-22 13:48 Arthur Zamarin
2024-06-22 15:01 Michał Górny
2024-10-14 12:42 Michał Górny
2025-02-15  7:12 Michał Górny
2025-03-19  7:32 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1563107190.4a1c47cb73b4f17600c3dc67b0d2c20a88770a52.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox