diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-02 13:18:44 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-02 13:25:34 +0200 |
commit | 8491d0edab0c2df960d9d39cfe23df3bb979b169 (patch) | |
tree | d15b428583ebde38c5a6532575df3d3da3f6dee5 /dev-python/ConfigArgParse | |
parent | dev-python/async-timeout: Clean MY_P up (diff) | |
download | gentoo-8491d0edab0c2df960d9d39cfe23df3bb979b169.tar.gz gentoo-8491d0edab0c2df960d9d39cfe23df3bb979b169.tar.bz2 gentoo-8491d0edab0c2df960d9d39cfe23df3bb979b169.zip |
Rename dev-python/{configargparse → ConfigArgParse}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ConfigArgParse')
-rw-r--r-- | dev-python/ConfigArgParse/ConfigArgParse-1.5.3.ebuild | 33 | ||||
-rw-r--r-- | dev-python/ConfigArgParse/Manifest | 1 | ||||
-rw-r--r-- | dev-python/ConfigArgParse/metadata.xml | 13 |
3 files changed, 47 insertions, 0 deletions
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..715bdebb734a --- /dev/null +++ b/dev-python/ConfigArgParse/ConfigArgParse-1.5.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +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 +} diff --git a/dev-python/ConfigArgParse/Manifest b/dev-python/ConfigArgParse/Manifest new file mode 100644 index 000000000000..6e371ece30a4 --- /dev/null +++ b/dev-python/ConfigArgParse/Manifest @@ -0,0 +1 @@ +DIST ConfigArgParse-1.5.3.gh.tar.gz 32732 BLAKE2B a9dec6b3ebbb7aed000651adf76ac76994b56d00236789a75f7da6ccc76e6b87e0dd292c260a768c0d402811b69e55d417b25032363429535cef4e09e0be5d00 SHA512 bdc0340bd92cfd5319743a4860af80fc2352f38b156031856c2b39b8c8ad59461281009030c4451dd464334a829b8143c765979cfc9b8ccbe9fbdcb0e08ac7b4 diff --git a/dev-python/ConfigArgParse/metadata.xml b/dev-python/ConfigArgParse/metadata.xml new file mode 100644 index 000000000000..f46051e99f5b --- /dev/null +++ b/dev-python/ConfigArgParse/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">ConfigArgParse</remote-id> + <remote-id type="github">bw2/ConfigArgParse</remote-id> + </upstream> +</pkgmetadata> |