1 |
commit: e0282a7a71e2dc0d35f67f7381b672d8f379581b |
2 |
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Sep 15 16:21:51 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 29 09:20:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0282a7a |
7 |
|
8 |
virtual/python-typing: new virtual for the Python typing module. |
9 |
|
10 |
This module is shipped with >=dev-lang/python-3.5. |
11 |
dev-python/typing provides a backport for Pythons that don't have it. |
12 |
KEYWORDS are intersection of dev-python/typing and dev-lang/python. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/628378 |
15 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
16 |
|
17 |
virtual/python-typing/metadata.xml | 8 ++++++++ |
18 |
virtual/python-typing/python-typing-0.ebuild | 17 +++++++++++++++++ |
19 |
2 files changed, 25 insertions(+) |
20 |
|
21 |
diff --git a/virtual/python-typing/metadata.xml b/virtual/python-typing/metadata.xml |
22 |
new file mode 100644 |
23 |
index 00000000000..7f4f33c6dbc |
24 |
--- /dev/null |
25 |
+++ b/virtual/python-typing/metadata.xml |
26 |
@@ -0,0 +1,8 @@ |
27 |
+<?xml version="1.0" encoding="UTF-8"?> |
28 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
29 |
+<pkgmetadata> |
30 |
+ <maintainer type="project"> |
31 |
+ <email>python@g.o</email> |
32 |
+ <name>Python</name> |
33 |
+ </maintainer> |
34 |
+</pkgmetadata> |
35 |
|
36 |
diff --git a/virtual/python-typing/python-typing-0.ebuild b/virtual/python-typing/python-typing-0.ebuild |
37 |
new file mode 100644 |
38 |
index 00000000000..6249169a07c |
39 |
--- /dev/null |
40 |
+++ b/virtual/python-typing/python-typing-0.ebuild |
41 |
@@ -0,0 +1,17 @@ |
42 |
+# Copyright 1999-2017 Gentoo Foundation |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+ |
45 |
+EAPI=6 |
46 |
+ |
47 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) |
48 |
+ |
49 |
+inherit python-r1 |
50 |
+ |
51 |
+DESCRIPTION="A virtual for the Python typing module" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" |
54 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
55 |
+ |
56 |
+RDEPEND="${PYTHON_DEPS} |
57 |
+ $(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' \ |
58 |
+ 'python2*' python3_4 'pypy*')" |