Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/configargparse/
Date: Fri, 28 Dec 2018 23:01:44
Message-Id: 1546038072.fae66b58c11fd40a8c906ebe752b9bda75fa0f3e.monsieurp@gentoo
1 commit: fae66b58c11fd40a8c906ebe752b9bda75fa0f3e
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Mon Dec 17 18:46:34 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 28 23:01:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fae66b58
7
8 dev-python/configargparse: bump to version 0.13.0.
9
10 Also added python3.7 support.
11
12 Package-Manager: Portage-2.3.52, Repoman-2.3.12
13 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
14 Closes: https://github.com/gentoo/gentoo/pull/10653
15 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
16
17 dev-python/configargparse/Manifest | 1 +
18 .../configargparse/configargparse-0.13.0.ebuild | 27 ++++++++++++++++++++++
19 2 files changed, 28 insertions(+)
20
21 diff --git a/dev-python/configargparse/Manifest b/dev-python/configargparse/Manifest
22 index 0c0448208a9..513d06bc2a9 100644
23 --- a/dev-python/configargparse/Manifest
24 +++ b/dev-python/configargparse/Manifest
25 @@ -1,2 +1,3 @@
26 DIST ConfigArgParse-0.11.0.tar.gz 40863 BLAKE2B f51e9e1a1973f7e477082f5dfffe8cb03b69ed26d85bc375851a01c2f6e5526f4b5954b71c85a274a58e34abbe07bd864956430d5a94961a38a4ad3340737286 SHA512 f97d37b5d1c0f5ebfdec4c55e9a8d20d0943a41d16b80fe1b2cfdd6acfa210e0cc7bae49340498c1b31dcc76704e8291892b97415137ec90cf49e24f261c62e9
27 DIST ConfigArgParse-0.12.0.tar.gz 41524 BLAKE2B 7bd8afc4be817c34dc6cfc6c5b862fdc53ce2ea37b019f165489596622f6ed7fed5fb6db8f84afbdd4d749a24b8aeb15378868db55668e7307c712db7fb09094 SHA512 d06f969088fb93479decffd984efed61070a663a652b06a3ac8198e64b5d681423f693ac6fdb58390eddc392ded9cf1e45056dad83256a84773c5f558f6788e8
28 +DIST ConfigArgParse-0.13.0.tar.gz 31775 BLAKE2B 252130b58a514f667655e9fa0bb73c00be410d9c817d3dc57083a9a828d9c25231667720ab7c99068b502bd5eb7c79fd7053c500862447b1213d912568a2e57d SHA512 232ae25e9daf3ebedb8757912a507576a154a3b09c297db7684776172c32aa7ad03362f60d26961499c17dcf0e3cc5763b40004a75ebde5643414bceb4f3eea5
29
30 diff --git a/dev-python/configargparse/configargparse-0.13.0.ebuild b/dev-python/configargparse/configargparse-0.13.0.ebuild
31 new file mode 100644
32 index 00000000000..330c7b97b51
33 --- /dev/null
34 +++ b/dev-python/configargparse/configargparse-0.13.0.ebuild
35 @@ -0,0 +1,27 @@
36 +# Copyright 1999-2018 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +MY_PN="ConfigArgParse"
42 +MY_P="${MY_PN}-${PV}"
43 +
44 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
45 +
46 +inherit distutils-r1
47 +
48 +DESCRIPTION="Drop-in replacement for argparse supporting config files and env variables"
49 +HOMEPAGE="https://github.com/zorro3/ConfigArgParse https://pypi.org/project/ConfigArgParse/"
50 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
51 +
52 +LICENSE="MIT"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
55 +
56 +S="${WORKDIR}/${MY_P}"
57 +
58 +RESTRICT="test"
59 +
60 +python_test() {
61 + "${PYTHON}" tests/test_configargparse.py || die
62 +}