summaryrefslogtreecommitdiff
path: root/dev-python/argparse-manpage/argparse-manpage-4.1.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-04-16 05:33:38 +0200
committerMichał Górny <mgorny@gentoo.org>2023-04-16 05:42:11 +0200
commit931b8a4598a19a105a89a6e1a0825f8984a56333 (patch)
tree38d35d77fc0574ba6ae65c1b14012e84f6146e14 /dev-python/argparse-manpage/argparse-manpage-4.1.ebuild
parentddfb5c710d24f6ef3d74f12f0fd90a0ffb9639e4 (diff)
downloadgentoo-931b8a4598a19a105a89a6e1a0825f8984a56333.tar.gz
gentoo-931b8a4598a19a105a89a6e1a0825f8984a56333.tar.bz2
gentoo-931b8a4598a19a105a89a6e1a0825f8984a56333.zip
dev-python/argparse-manpage: Bump to 4.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/argparse-manpage/argparse-manpage-4.1.ebuild')
-rw-r--r--dev-python/argparse-manpage/argparse-manpage-4.1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/argparse-manpage/argparse-manpage-4.1.ebuild b/dev-python/argparse-manpage/argparse-manpage-4.1.ebuild
new file mode 100644
index 000000000000..87014c4bf8af
--- /dev/null
+++ b/dev-python/argparse-manpage/argparse-manpage-4.1.ebuild
@@ -0,0 +1,36 @@
+# 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_{9..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"
+
+BDEPEND="
+ test? (
+ dev-python/pip[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x COLUMNS=80
+ epytest
+}