From 5e45d7a4ff7b3a4ef6719fc647bbcb6c400d5721 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 21 Nov 2019 14:36:05 +0100 Subject: [PATCH] dev-python/configargparse: Bump to 0.15.1, fix tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/configargparse/Manifest | 1 + .../configargparse-0.15.1.ebuild | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 dev-python/configargparse/configargparse-0.15.1.ebuild diff --git a/dev-python/configargparse/Manifest b/dev-python/configargparse/Manifest index 513d06bc2a9e..81cb770d6378 100644 --- a/dev-python/configargparse/Manifest +++ b/dev-python/configargparse/Manifest @@ -1,3 +1,4 @@ DIST ConfigArgParse-0.11.0.tar.gz 40863 BLAKE2B f51e9e1a1973f7e477082f5dfffe8cb03b69ed26d85bc375851a01c2f6e5526f4b5954b71c85a274a58e34abbe07bd864956430d5a94961a38a4ad3340737286 SHA512 f97d37b5d1c0f5ebfdec4c55e9a8d20d0943a41d16b80fe1b2cfdd6acfa210e0cc7bae49340498c1b31dcc76704e8291892b97415137ec90cf49e24f261c62e9 DIST ConfigArgParse-0.12.0.tar.gz 41524 BLAKE2B 7bd8afc4be817c34dc6cfc6c5b862fdc53ce2ea37b019f165489596622f6ed7fed5fb6db8f84afbdd4d749a24b8aeb15378868db55668e7307c712db7fb09094 SHA512 d06f969088fb93479decffd984efed61070a663a652b06a3ac8198e64b5d681423f693ac6fdb58390eddc392ded9cf1e45056dad83256a84773c5f558f6788e8 DIST ConfigArgParse-0.13.0.tar.gz 31775 BLAKE2B 252130b58a514f667655e9fa0bb73c00be410d9c817d3dc57083a9a828d9c25231667720ab7c99068b502bd5eb7c79fd7053c500862447b1213d912568a2e57d SHA512 232ae25e9daf3ebedb8757912a507576a154a3b09c297db7684776172c32aa7ad03362f60d26961499c17dcf0e3cc5763b40004a75ebde5643414bceb4f3eea5 +DIST ConfigArgParse-0.15.1.gh.tar.gz 25760 BLAKE2B f5b8bf4d04bcbdf9f1dbd36fda91e6d0b2cc0034a79c5e2408755d3e7d661ee3518d5c1603fafa866450aafeddfdb0431bdc459d5fe3f401569ad11e87fab0bf SHA512 53d90238ac233249f305585fd8e7abcca0e45a16c53e9353d13ce6f08bbd58dbe7ea26a0627c96e686ed96c001f0b6d28bdcd4b2921c9e54811c6981bd4b7560 diff --git a/dev-python/configargparse/configargparse-0.15.1.ebuild b/dev-python/configargparse/configargparse-0.15.1.ebuild new file mode 100644 index 000000000000..cffd852dc51a --- /dev/null +++ b/dev-python/configargparse/configargparse-0.15.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="ConfigArgParse" +MY_P="${MY_PN}-${PV}" + +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7,3_8} ) + +inherit distutils-r1 + +DESCRIPTION="Drop-in replacement for argparse supporting config files and env variables" +HOMEPAGE="https://github.com/zorro3/ConfigArgParse https://pypi.org/project/ConfigArgParse/" +#SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +SRC_URI="https://github.com/zorro3/ConfigArgParse/archive/${PV}.tar.gz -> ${MY_P}.gh.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )" + +python_test() { + local -x COLUMNS=80 + esetup.py test +} -- 2.26.2