From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/pathlib2/Manifest | 1 + dev-python/pathlib2/metadata.xml | 15 ++++++++++++++ dev-python/pathlib2/pathlib2-2.3.5.ebuild | 34 +++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 dev-python/pathlib2/Manifest create mode 100644 dev-python/pathlib2/metadata.xml create mode 100644 dev-python/pathlib2/pathlib2-2.3.5.ebuild (limited to 'dev-python/pathlib2') diff --git a/dev-python/pathlib2/Manifest b/dev-python/pathlib2/Manifest new file mode 100644 index 000000000000..941e0e976805 --- /dev/null +++ b/dev-python/pathlib2/Manifest @@ -0,0 +1 @@ +DIST pathlib2-2.3.5.tar.gz 34393 BLAKE2B 7e03214a53f1ebf7718d04f653e24ffa4b06070b0ae21583d98ea0ce956c5aced5ea63bf6062d8e8d979bef4c82137cd2d2d5d6121dc3dda0ae1f713c1868d36 SHA512 3f0f212bf5208d0965ac02a590bef6ac0ec5e3b702828c06c3c9d37119b3db422cc7873de614fdc37ebfb3f52239a6517008d9672a176ca15d03fe13baeeddc8 diff --git a/dev-python/pathlib2/metadata.xml b/dev-python/pathlib2/metadata.xml new file mode 100644 index 000000000000..bb4e2680a362 --- /dev/null +++ b/dev-python/pathlib2/metadata.xml @@ -0,0 +1,15 @@ + + + + + python@gentoo.org + Python + + + + pathlib2 + mcmtroffaes/pathlib2 + https://github.com/mcmtroffaes/pathlib2/issues + + gentoo-staging + diff --git a/dev-python/pathlib2/pathlib2-2.3.5.ebuild b/dev-python/pathlib2/pathlib2-2.3.5.ebuild new file mode 100644 index 000000000000..5e1c8a7d6d3a --- /dev/null +++ b/dev-python/pathlib2/pathlib2-2.3.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8,9}} ) + +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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep 'dev-python/scandir[${PYTHON_USEDEP}]' -2) + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) + ) +" + +python_test() { + "${EPYTHON}" tests/test_pathlib2.py -v || \ + die "tests failed with ${EPYTHON}" +} -- cgit v1.3.1