summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/configargparse')
-rw-r--r--dev-python/configargparse/Manifest1
-rw-r--r--dev-python/configargparse/configargparse-0.15.2.ebuild30
-rw-r--r--dev-python/configargparse/metadata.xml2
3 files changed, 32 insertions, 1 deletions
diff --git a/dev-python/configargparse/Manifest b/dev-python/configargparse/Manifest
index 81cb770d6378..f574f3752375 100644
--- a/dev-python/configargparse/Manifest
+++ b/dev-python/configargparse/Manifest
@@ -2,3 +2,4 @@ DIST ConfigArgParse-0.11.0.tar.gz 40863 BLAKE2B f51e9e1a1973f7e477082f5dfffe8cb0
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
+DIST ConfigArgParse-0.15.2.gh.tar.gz 26047 BLAKE2B 1a817a76e237e698f13ebd69394e918b79981f4f983653c3777dfe77c009e01f1b646e0dea88a2e2ec574f48626e8e75ae7570ddfd6adc350e25ffd9a4b2d3cb SHA512 c8403751506b3ce096d707067659492422ecef8e684107935ab26f2e518c7c2c4baca8882cac55dd1961a86e5ad95b73389bc1a681cd2a67b5000bd6d626d2d9
diff --git a/dev-python/configargparse/configargparse-0.15.2.ebuild b/dev-python/configargparse/configargparse-0.15.2.ebuild
new file mode 100644
index 000000000000..0124d46ae566
--- /dev/null
+++ b/dev-python/configargparse/configargparse-0.15.2.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
+}
diff --git a/dev-python/configargparse/metadata.xml b/dev-python/configargparse/metadata.xml
index de30b3cdd04d..93d50c37b9fc 100644
--- a/dev-python/configargparse/metadata.xml
+++ b/dev-python/configargparse/metadata.xml
@@ -7,6 +7,6 @@
</maintainer>
<upstream>
<remote-id type="pypi">ConfigArgParse</remote-id>
- <remote-id type="github">zorro3/ConfigArgParse</remote-id>
+ <remote-id type="github">bw2/ConfigArgParse</remote-id>
</upstream>
</pkgmetadata>