virtual/python-pmw: Works with py3.7
authorAlexey Shvetsov <alexxy@gentoo.org>
Sat, 3 Aug 2019 20:34:18 +0000 (23:34 +0300)
committerAlexey Shvetsov <alexxy@gentoo.org>
Sat, 3 Aug 2019 20:34:18 +0000 (23:34 +0300)
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
virtual/python-pmw/python-pmw-1-r1.ebuild [new file with mode: 0644]

diff --git a/virtual/python-pmw/python-pmw-1-r1.ebuild b/virtual/python-pmw/python-pmw-1-r1.ebuild
new file mode 100644 (file)
index 0000000..cebeca6
--- /dev/null
@@ -0,0 +1,17 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit python-r1
+
+DESCRIPTION="A virtual for pmw, for Python 2 & 3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+       $(python_gen_cond_dep 'dev-python/pmw:py2[${PYTHON_USEDEP}]' python2_7)
+       $(python_gen_cond_dep 'dev-python/pmw:py3[${PYTHON_USEDEP}]' python3_{5,6,7})"