summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2017-09-15 19:21:51 +0300
committerPatrice Clement <monsieurp@gentoo.org>2017-09-29 11:20:51 +0200
commite0282a7a71e2dc0d35f67f7381b672d8f379581b (patch)
treef5c8f07f2c7e43ee7b144e45ed5ef21be26198e4 /virtual/python-typing
parentmedia-libs/libsub: Add live version for upcoming dcpomatic. (diff)
downloadgentoo-e0282a7a71e2dc0d35f67f7381b672d8f379581b.tar.gz
gentoo-e0282a7a71e2dc0d35f67f7381b672d8f379581b.tar.bz2
gentoo-e0282a7a71e2dc0d35f67f7381b672d8f379581b.zip
virtual/python-typing: new virtual for the Python typing module.
This module is shipped with >=dev-lang/python-3.5. dev-python/typing provides a backport for Pythons that don't have it. KEYWORDS are intersection of dev-python/typing and dev-lang/python. Closes: https://bugs.gentoo.org/628378 Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'virtual/python-typing')
-rw-r--r--virtual/python-typing/metadata.xml8
-rw-r--r--virtual/python-typing/python-typing-0.ebuild17
2 files changed, 25 insertions, 0 deletions
diff --git a/virtual/python-typing/metadata.xml b/virtual/python-typing/metadata.xml
new file mode 100644
index 000000000000..7f4f33c6dbc9
--- /dev/null
+++ b/virtual/python-typing/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/virtual/python-typing/python-typing-0.ebuild b/virtual/python-typing/python-typing-0.ebuild
new file mode 100644
index 000000000000..6249169a07c9
--- /dev/null
+++ b/virtual/python-typing/python-typing-0.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
+
+inherit python-r1
+
+DESCRIPTION="A virtual for the Python typing module"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ $(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' \
+ 'python2*' python3_4 'pypy*')"