From 3d580a2b8ac0bc19a13a8a219ca41f03035ca1dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 30 Dec 2019 11:40:09 +0100 Subject: [PATCH] dev-python/configargparse: Bump to 1.0 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/configargparse-1.0.ebuild | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 dev-python/configargparse/configargparse-1.0.ebuild diff --git a/dev-python/configargparse/Manifest b/dev-python/configargparse/Manifest index f574f3752375..eb1a07896e8d 100644 --- a/dev-python/configargparse/Manifest +++ b/dev-python/configargparse/Manifest @@ -3,3 +3,4 @@ DIST ConfigArgParse-0.12.0.tar.gz 41524 BLAKE2B 7bd8afc4be817c34dc6cfc6c5b862fdc 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 DIST ConfigArgParse-0.15.2.gh.tar.gz 26047 BLAKE2B 1a817a76e237e698f13ebd69394e918b79981f4f983653c3777dfe77c009e01f1b646e0dea88a2e2ec574f48626e8e75ae7570ddfd6adc350e25ffd9a4b2d3cb SHA512 c8403751506b3ce096d707067659492422ecef8e684107935ab26f2e518c7c2c4baca8882cac55dd1961a86e5ad95b73389bc1a681cd2a67b5000bd6d626d2d9 +DIST ConfigArgParse-1.0.gh.tar.gz 26460 BLAKE2B 0dc83125116139e9447da8a9c660ac67db8b83a3b09c1e3ff148e09053ca10d2ef01447fd055d11804ad3903134043672ce7f458d990ff69c0ae07024539a3c4 SHA512 8e2af22dfa08bcf4665289285cc8f94aca00b650cd9521e9c02d4d83b546f4d79f2fd2cae2818ad0f2d38a16907e145ca7165071b78c557fe0be1797609e1cae diff --git a/dev-python/configargparse/configargparse-1.0.ebuild b/dev-python/configargparse/configargparse-1.0.ebuild new file mode 100644 index 000000000000..0124d46ae566 --- /dev/null +++ b/dev-python/configargparse/configargparse-1.0.ebuild @@ -0,0 +1,30 @@ +# 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/bw2/ConfigArgParse https://pypi.org/project/ConfigArgParse/" +SRC_URI="https://github.com/bw2/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