summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-10-04 07:52:36 +0200
committerMichał Górny <mgorny@gentoo.org>2021-10-04 10:05:47 +0200
commit5755763c2b606d575c502b5887f8422f2d9a821c (patch)
tree8f80d248b8cbfe39c4d4371618105108902893ff /dev-python/configargparse
parentdev-python/multidict: Bump to 5.2.0 (diff)
downloadgentoo-5755763c2b606d575c502b5887f8422f2d9a821c.tar.gz
gentoo-5755763c2b606d575c502b5887f8422f2d9a821c.tar.bz2
gentoo-5755763c2b606d575c502b5887f8422f2d9a821c.zip
dev-python/configargparse: Bump to 1.5.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/configargparse')
-rw-r--r--dev-python/configargparse/Manifest1
-rw-r--r--dev-python/configargparse/configargparse-1.5.3.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/configargparse/Manifest b/dev-python/configargparse/Manifest
index c157e373babd..48985e5d9ca4 100644
--- a/dev-python/configargparse/Manifest
+++ b/dev-python/configargparse/Manifest
@@ -1 +1,2 @@
DIST ConfigArgParse-1.5.2.gh.tar.gz 32598 BLAKE2B 2fcf2b93f9e80686f658217dbc5871f1b920565870bb8194855088dd6f81422325d505fbe5bfa014def8188cc792660d35450a0daf0229c0dc59da37adab9fff SHA512 823d7b256b803d3b60a373a124ea5d255b67a3b948d6543bd9a33f63f4b0dd1a416138a7105c64b064c222a90b4cada3b4aa6aecb70054ae2f1978fa5791330f
+DIST ConfigArgParse-1.5.3.gh.tar.gz 32732 BLAKE2B a9dec6b3ebbb7aed000651adf76ac76994b56d00236789a75f7da6ccc76e6b87e0dd292c260a768c0d402811b69e55d417b25032363429535cef4e09e0be5d00 SHA512 bdc0340bd92cfd5319743a4860af80fc2352f38b156031856c2b39b8c8ad59461281009030c4451dd464334a829b8143c765979cfc9b8ccbe9fbdcb0e08ac7b4
diff --git a/dev-python/configargparse/configargparse-1.5.3.ebuild b/dev-python/configargparse/configargparse-1.5.3.ebuild
new file mode 100644
index 000000000000..9f2c72f0cf30
--- /dev/null
+++ b/dev-python/configargparse/configargparse-1.5.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+MY_PN="ConfigArgParse"
+MY_P="${MY_PN}-${PV}"
+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/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+BDEPEND="
+ test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests unittest
+
+src_test() {
+ local -x COLUMNS=80
+ distutils-r1_src_test
+}