diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-03-16 07:28:39 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-03-16 08:06:21 +0100 |
commit | 39efe682d74ef42a64a0ee6e1fa506b51bb21aeb (patch) | |
tree | fbf07a2eea4e37115fb5ef22fe8e5ae999aa5571 /dev-python/configargparse | |
parent | dev-cpp/eigen: Drop alpha keywords, bug 575366 (diff) | |
download | gentoo-39efe682d74ef42a64a0ee6e1fa506b51bb21aeb.tar.gz gentoo-39efe682d74ef42a64a0ee6e1fa506b51bb21aeb.tar.bz2 gentoo-39efe682d74ef42a64a0ee6e1fa506b51bb21aeb.zip |
dev-python/configargparse: Bump to 1.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/configargparse')
-rw-r--r-- | dev-python/configargparse/Manifest | 1 | ||||
-rw-r--r-- | dev-python/configargparse/configargparse-1.1.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/configargparse/Manifest b/dev-python/configargparse/Manifest index 40ac0a1b1fdd..7d9c6aa72de0 100644 --- a/dev-python/configargparse/Manifest +++ b/dev-python/configargparse/Manifest @@ -1,2 +1,3 @@ DIST ConfigArgParse-0.13.0.tar.gz 31775 BLAKE2B 252130b58a514f667655e9fa0bb73c00be410d9c817d3dc57083a9a828d9c25231667720ab7c99068b502bd5eb7c79fd7053c500862447b1213d912568a2e57d SHA512 232ae25e9daf3ebedb8757912a507576a154a3b09c297db7684776172c32aa7ad03362f60d26961499c17dcf0e3cc5763b40004a75ebde5643414bceb4f3eea5 DIST ConfigArgParse-1.0.gh.tar.gz 26460 BLAKE2B 0dc83125116139e9447da8a9c660ac67db8b83a3b09c1e3ff148e09053ca10d2ef01447fd055d11804ad3903134043672ce7f458d990ff69c0ae07024539a3c4 SHA512 8e2af22dfa08bcf4665289285cc8f94aca00b650cd9521e9c02d4d83b546f4d79f2fd2cae2818ad0f2d38a16907e145ca7165071b78c557fe0be1797609e1cae +DIST ConfigArgParse-1.1.gh.tar.gz 27134 BLAKE2B 41e76be8932436414b4a159fe7a653594b8a1e5c3d981b2793912893924db18020489a76abbbdd71076650568e4b67b1f56e4d9161c25c5723877cc8781fbb11 SHA512 a4d02d669151087fca799bad4ed2381b7487cd749055f474f17a8b0aa4a6a643d161416510b0ee80427d59c34ce4d17710730f2d23d9b74e853dadb4d8e78260 diff --git a/dev-python/configargparse/configargparse-1.1.ebuild b/dev-python/configargparse/configargparse-1.1.ebuild new file mode 100644 index 000000000000..be7d7f5bac5a --- /dev/null +++ b/dev-python/configargparse/configargparse-1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 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=( python3_{6,7,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 +} |