virtual/python-enum34: Add new virtual
authorJustin Lecher <jlec@gentoo.org>
Wed, 27 Jan 2016 08:29:24 +0000 (09:29 +0100)
committerJustin Lecher <jlec@gentoo.org>
Wed, 27 Jan 2016 09:26:12 +0000 (10:26 +0100)
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
virtual/python-enum34/metadata.xml [new file with mode: 0644]
virtual/python-enum34/python-enum34-1.ebuild [new file with mode: 0644]

diff --git a/virtual/python-enum34/metadata.xml b/virtual/python-enum34/metadata.xml
new file mode 100644 (file)
index 0000000..7f4f33c
--- /dev/null
@@ -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-enum34/python-enum34-1.ebuild b/virtual/python-enum34/python-enum34-1.ebuild
new file mode 100644 (file)
index 0000000..d51d67b
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+
+inherit python-r1
+
+DESCRIPTION="A virtual for Python enum34 module"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+       $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' \
+       'python2*' python3_3 'pypy*')"