summaryrefslogtreecommitdiff
path: root/dev-python/pathlib2/pathlib2-2.3.6.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-07-06 13:34:18 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-07-06 13:34:18 +0000
commite1421c7fbeb5296e87abb0d89c60a8d4c5107443 (patch)
treecb0afbaf2bc7295d28075a225db3696d403bb088 /dev-python/pathlib2/pathlib2-2.3.6.ebuild
parent2455570c296cc1beb388e78dc5b10070a64fda67 (diff)
downloadbaldeagleos-repo-e1421c7fbeb5296e87abb0d89c60a8d4c5107443.tar.gz
baldeagleos-repo-e1421c7fbeb5296e87abb0d89c60a8d4c5107443.tar.xz
baldeagleos-repo-e1421c7fbeb5296e87abb0d89c60a8d4c5107443.zip
Adding metadata
Diffstat (limited to 'dev-python/pathlib2/pathlib2-2.3.6.ebuild')
-rw-r--r--dev-python/pathlib2/pathlib2-2.3.6.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pathlib2/pathlib2-2.3.6.ebuild b/dev-python/pathlib2/pathlib2-2.3.6.ebuild
new file mode 100644
index 000000000000..19d51e42d2c1
--- /dev/null
+++ b/dev-python/pathlib2/pathlib2-2.3.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Fork of pathlib aiming to support the full stdlib Python API"
+HOMEPAGE="https://github.com/mcmtroffaes/pathlib2"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ ${RDEPEND}
+ )
+"
+
+python_test() {
+ "${EPYTHON}" tests/test_pathlib2.py -v ||
+ die "tests failed with ${EPYTHON}"
+}