summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-12-14 08:32:06 +0000
committerSam James <sam@gentoo.org>2023-12-14 08:32:15 +0000
commitf9119aaefd0cef14de07b1cfad22c191415047b5 (patch)
tree9a2a2b49dee24c95c2a5d01f21104abc45d974e2 /app-doc
parentdev-util/diffoscope: add 253 (diff)
downloadgentoo-f9119aaefd0cef14de07b1cfad22c191415047b5.tar.gz
gentoo-f9119aaefd0cef14de07b1cfad22c191415047b5.tar.bz2
gentoo-f9119aaefd0cef14de07b1cfad22c191415047b5.zip
app-doc/cppman: enable py3.12, wire up tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/cppman/cppman-0.5.6.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/app-doc/cppman/cppman-0.5.6.ebuild b/app-doc/cppman/cppman-0.5.6.ebuild
index 9e88d7bf5257..63a0409772a7 100644
--- a/app-doc/cppman/cppman-0.5.6.ebuild
+++ b/app-doc/cppman/cppman-0.5.6.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="sqlite,threads(+)"
DISTUTILS_SINGLE_IMPL=yes
DISTUTILS_USE_PEP517=setuptools
@@ -16,6 +16,8 @@ SRC_URI="https://github.com/aitjcize/cppman/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos"
+PROPERTIES="test_network"
+RESTRICT="test"
RDEPEND="
sys-apps/groff
@@ -32,6 +34,10 @@ src_prepare() {
distutils-r1_src_prepare
}
+python_test() {
+ ${EPYTHON} test/test.py || die
+}
+
src_install() {
distutils-r1_src_install
doman misc/cppman.1