summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-18 04:59:25 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-18 05:14:48 +0200
commitc06060e8c5c24f184d88737c56defca8a5ee5792 (patch)
tree7f43aee6e1f6bd3657ca1b9163ea60987745831b /dev-python/argparse-manpage
parentdev-python/awxkit: Bump to 22.3.0 (diff)
downloadgentoo-c06060e8c5c24f184d88737c56defca8a5ee5792.tar.gz
gentoo-c06060e8c5c24f184d88737c56defca8a5ee5792.tar.bz2
gentoo-c06060e8c5c24f184d88737c56defca8a5ee5792.zip
dev-python/argparse-manpage: Bump to 4.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/argparse-manpage')
-rw-r--r--dev-python/argparse-manpage/Manifest1
-rw-r--r--dev-python/argparse-manpage/argparse-manpage-4.3.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/argparse-manpage/Manifest b/dev-python/argparse-manpage/Manifest
index b286723b5102..23c71f0f4855 100644
--- a/dev-python/argparse-manpage/Manifest
+++ b/dev-python/argparse-manpage/Manifest
@@ -1,2 +1,3 @@
DIST argparse-manpage-4.1.gh.tar.gz 52576 BLAKE2B ee1a44d5cdbdd992796ffd1603988a96322d8ed3063a9e9f025c413ce9820bcc8b3ea77ee8bc2f878cf689c873806c7fbf740d1899d1b72b6e5faa8475d5c8b8 SHA512 e0bbdf49eec13572201bc38e51b5ff9d95356b04980ac8d0afcad9af33a9eae35e9c0c16543ba3b91f4ea5d8e6ea62940acab4342f79601582c8c3adaf8e3f95
+DIST argparse-manpage-4.3.gh.tar.gz 54479 BLAKE2B de6b6a5c449eebbd4aae207cfeadc6b16baf33e4ed0b6cc886921ee2e2dcdb48ae25f160dd6679da26fc6566fa483a864bc6dd4a0af800b853452405007f58c0 SHA512 9541ddcbddbd12c2fd0d72cc229d453d5d1d25eb915123c26b9040c6a97db6a72bb4002ada5a86620e9caff7c9bc588f1ee7d0c8241b6369cfb28b0271afdbc3
DIST argparse-manpage-4.gh.tar.gz 50506 BLAKE2B b291e4e77a076e87659bea611baf96d9a258deb8d9fe5e8d1a9278d4daa80d108d6bc7280aa351f1f7b5fa725a5a6508dd3d74bfc1dd226d24653645066173f2 SHA512 51b3cd10569b0bbd28587172cbb2818375c904c89c51a075e2f641c4d158a7a047ff939977c3ee0f164ace18ebccc0037f8c0e74e23b41fbcd990cacedcbee6a
diff --git a/dev-python/argparse-manpage/argparse-manpage-4.3.ebuild b/dev-python/argparse-manpage/argparse-manpage-4.3.ebuild
new file mode 100644
index 000000000000..b11255bac332
--- /dev/null
+++ b/dev-python/argparse-manpage/argparse-manpage-4.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Automatically build man-pages for your Python project"
+HOMEPAGE="
+ https://github.com/praiskup/argparse-manpage/
+ https://pypi.org/project/argparse-manpage/
+"
+SRC_URI="
+ https://github.com/praiskup/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~sparc ~x86"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/tomli[${PYTHON_USEDEP}]
+ ' 3.{9..10})
+"
+BDEPEND="
+ test? (
+ dev-python/pip[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x COLUMNS=80
+ epytest
+}