From 0fd963399b93b0340015ed5fa0b11bf2fd92f42e Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 15 Feb 2021 09:15:11 +0100 Subject: dev-python/configargparse: Bump to 1.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/configargparse/Manifest | 1 + .../configargparse/configargparse-1.3.ebuild | 30 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 dev-python/configargparse/configargparse-1.3.ebuild (limited to 'dev-python/configargparse') diff --git a/dev-python/configargparse/Manifest b/dev-python/configargparse/Manifest index 8f8bcacf7c14..ce89b4d890c1 100644 --- a/dev-python/configargparse/Manifest +++ b/dev-python/configargparse/Manifest @@ -1 +1,2 @@ DIST ConfigArgParse-1.2.3.gh.tar.gz 27858 BLAKE2B f8dbb1dfc9312107abcd0c715b93736cdb86a7742270932d13b768ac7a13f805902f026d5cb34e196a8c5c659af65c13698c2cc301b522b99bb0c019b2c0e68d SHA512 bfa8f9ca8ab5c6d4cdf2a7e7c577c99fafdf7f743c81057bebbb6045c45de2cdbf5d738f7765e5dcac5a45baa92e2a8bc7ad3879776b9cf4862e3da94e78c4cc +DIST ConfigArgParse-1.3.gh.tar.gz 28274 BLAKE2B 0ea46747425d978da0de35e7ac29c91ee637f1c793265eeecf702ec504b1d1083d31bdaa48134de2916733f845cd68690af2ff0765b3a5bdc98365d03aad4492 SHA512 7f7048babacaada3495ece42d6bd484b07d648c2b2c1a8e700379aae6c65d96c37bf15a20f90281e2c0d83948e22986689c4b02e0388d9bf01e77d9d1561b0c5 diff --git a/dev-python/configargparse/configargparse-1.3.ebuild b/dev-python/configargparse/configargparse-1.3.ebuild new file mode 100644 index 000000000000..1c8ac6ffd0a9 --- /dev/null +++ b/dev-python/configargparse/configargparse-1.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 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_{7..9} ) + +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" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_test() { + local -x COLUMNS=80 + esetup.py test +} -- cgit v1.2.3-65-gdbad