dev-python/configargparse: Bump to 1.2.2
authorMichał Górny <mgorny@gentoo.org>
Thu, 23 Apr 2020 05:22:10 +0000 (07:22 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 23 Apr 2020 05:41:34 +0000 (07:41 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/configargparse/Manifest
dev-python/configargparse/configargparse-1.2.2.ebuild [new file with mode: 0644]

index 2acb6e3064476bc27581b10b6ffc5b87d5fe5c4f..605de975c2bfa864cc12144838f3964f0a364aa9 100644 (file)
@@ -1,4 +1,5 @@
 DIST ConfigArgParse-1.0.gh.tar.gz 26460 BLAKE2B 0dc83125116139e9447da8a9c660ac67db8b83a3b09c1e3ff148e09053ca10d2ef01447fd055d11804ad3903134043672ce7f458d990ff69c0ae07024539a3c4 SHA512 8e2af22dfa08bcf4665289285cc8f94aca00b650cd9521e9c02d4d83b546f4d79f2fd2cae2818ad0f2d38a16907e145ca7165071b78c557fe0be1797609e1cae
 DIST ConfigArgParse-1.1.gh.tar.gz 27134 BLAKE2B 41e76be8932436414b4a159fe7a653594b8a1e5c3d981b2793912893924db18020489a76abbbdd71076650568e4b67b1f56e4d9161c25c5723877cc8781fbb11 SHA512 a4d02d669151087fca799bad4ed2381b7487cd749055f474f17a8b0aa4a6a643d161416510b0ee80427d59c34ce4d17710730f2d23d9b74e853dadb4d8e78260
 DIST ConfigArgParse-1.2.1.gh.tar.gz 27797 BLAKE2B e6e8468e15090a2915a3c2a10446c2797553eeee48f61d29218ad4935f24e92aeb4319609450d40fa1e87f9b02e9a8517fa876acf4b20ee4bc35b38daeadf99d SHA512 38fd6be13d0582e453a5d5dee1bf4a295bfe2be10b12535a8a0a597b3b726feee4fe4b27f354441c5fb53bf6b6bc11eca978d9f07c5bced6d2246996711af13f
+DIST ConfigArgParse-1.2.2.gh.tar.gz 27854 BLAKE2B 7432d7ab86c8bd0115226a6bad31d797130130887ebb84386434ece41554cdaf503a408ba264a83ba4fcd4f9755e36542e2f481bfa41b82dde16661f913febd1 SHA512 0b7f7264634cf38400f02329ad9d5a557958179d10bd4d92a79f1ed80539dd2f3a7616a6dacd2a442498787c7f12c13a176330b2e3c26a936866d4084eb03c90
 DIST ConfigArgParse-1.2.gh.tar.gz 27780 BLAKE2B aa8e26b871c48b43a5b3527a59c463a4ce982f945f29255aa15d19ffc7e5373efef401d9ecaffdf9059865484e9ab9bd07cc9f36c685675d7d9105b03b1ae1a0 SHA512 50a125e2c03f5ec0ccd843a44109bd065c39cb3a5b72cf0ca0ab361cc1a97de56f2eef0bf04aac2cda4b302ae67cd422bf04c8e09b1bbedca3ae19a28a5f2eb9
diff --git a/dev-python/configargparse/configargparse-1.2.2.ebuild b/dev-python/configargparse/configargparse-1.2.2.ebuild
new file mode 100644 (file)
index 0000000..be7d7f5
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 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_{6,7,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
+}