summaryrefslogtreecommitdiff
path: root/virtual/python-pathlib/python-pathlib-1.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'virtual/python-pathlib/python-pathlib-1.0.ebuild')
-rw-r--r--virtual/python-pathlib/python-pathlib-1.0.ebuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/virtual/python-pathlib/python-pathlib-1.0.ebuild b/virtual/python-pathlib/python-pathlib-1.0.ebuild
new file mode 100644
index 000000000000..fdb7aa0099ae
--- /dev/null
+++ b/virtual/python-pathlib/python-pathlib-1.0.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+
+inherit python-r1
+
+DESCRIPTION="A virtual for Python pathlib module"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ $(python_gen_cond_dep 'dev-python/pathlib[${PYTHON_USEDEP}]' \
+ python2_7 pypy)"