Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/configargparse/
Date: Mon, 30 Dec 2019 10:45:37
Message-Id: 1577702729.3d580a2b8ac0bc19a13a8a219ca41f03035ca1dc.mgorny@gentoo
1 commit: 3d580a2b8ac0bc19a13a8a219ca41f03035ca1dc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 30 10:40:09 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 30 10:45:29 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d580a2b
7
8 dev-python/configargparse: Bump to 1.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/configargparse/Manifest | 1 +
13 .../configargparse/configargparse-1.0.ebuild | 30 ++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-python/configargparse/Manifest b/dev-python/configargparse/Manifest
17 index f574f375237..eb1a07896e8 100644
18 --- a/dev-python/configargparse/Manifest
19 +++ b/dev-python/configargparse/Manifest
20 @@ -3,3 +3,4 @@ DIST ConfigArgParse-0.12.0.tar.gz 41524 BLAKE2B 7bd8afc4be817c34dc6cfc6c5b862fdc
21 DIST ConfigArgParse-0.13.0.tar.gz 31775 BLAKE2B 252130b58a514f667655e9fa0bb73c00be410d9c817d3dc57083a9a828d9c25231667720ab7c99068b502bd5eb7c79fd7053c500862447b1213d912568a2e57d SHA512 232ae25e9daf3ebedb8757912a507576a154a3b09c297db7684776172c32aa7ad03362f60d26961499c17dcf0e3cc5763b40004a75ebde5643414bceb4f3eea5
22 DIST ConfigArgParse-0.15.1.gh.tar.gz 25760 BLAKE2B f5b8bf4d04bcbdf9f1dbd36fda91e6d0b2cc0034a79c5e2408755d3e7d661ee3518d5c1603fafa866450aafeddfdb0431bdc459d5fe3f401569ad11e87fab0bf SHA512 53d90238ac233249f305585fd8e7abcca0e45a16c53e9353d13ce6f08bbd58dbe7ea26a0627c96e686ed96c001f0b6d28bdcd4b2921c9e54811c6981bd4b7560
23 DIST ConfigArgParse-0.15.2.gh.tar.gz 26047 BLAKE2B 1a817a76e237e698f13ebd69394e918b79981f4f983653c3777dfe77c009e01f1b646e0dea88a2e2ec574f48626e8e75ae7570ddfd6adc350e25ffd9a4b2d3cb SHA512 c8403751506b3ce096d707067659492422ecef8e684107935ab26f2e518c7c2c4baca8882cac55dd1961a86e5ad95b73389bc1a681cd2a67b5000bd6d626d2d9
24 +DIST ConfigArgParse-1.0.gh.tar.gz 26460 BLAKE2B 0dc83125116139e9447da8a9c660ac67db8b83a3b09c1e3ff148e09053ca10d2ef01447fd055d11804ad3903134043672ce7f458d990ff69c0ae07024539a3c4 SHA512 8e2af22dfa08bcf4665289285cc8f94aca00b650cd9521e9c02d4d83b546f4d79f2fd2cae2818ad0f2d38a16907e145ca7165071b78c557fe0be1797609e1cae
25
26 diff --git a/dev-python/configargparse/configargparse-1.0.ebuild b/dev-python/configargparse/configargparse-1.0.ebuild
27 new file mode 100644
28 index 00000000000..0124d46ae56
29 --- /dev/null
30 +++ b/dev-python/configargparse/configargparse-1.0.ebuild
31 @@ -0,0 +1,30 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +MY_PN="ConfigArgParse"
38 +MY_P="${MY_PN}-${PV}"
39 +
40 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7,3_8} )
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="Drop-in replacement for argparse supporting config files and env variables"
45 +HOMEPAGE="https://github.com/bw2/ConfigArgParse https://pypi.org/project/ConfigArgParse/"
46 +SRC_URI="https://github.com/bw2/ConfigArgParse/archive/${PV}.tar.gz -> ${MY_P}.gh.tar.gz"
47 +S="${WORKDIR}/${MY_P}"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
52 +IUSE="test"
53 +RESTRICT="!test? ( test )"
54 +
55 +BDEPEND="
56 + test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
57 +
58 +python_test() {
59 + local -x COLUMNS=80
60 + esetup.py test
61 +}