mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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
This commit is contained in:
committed by
Patrice Clement
parent
ec0e293315
commit
e0282a7a71
8
virtual/python-typing/metadata.xml
Normal file
8
virtual/python-typing/metadata.xml
Normal file
@@ -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>
|
||||
17
virtual/python-typing/python-typing-0.ebuild
Normal file
17
virtual/python-typing/python-typing-0.ebuild
Normal file
@@ -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*')"
|
||||
Reference in New Issue
Block a user