diff options
author | Sam James <sam@gentoo.org> | 2023-12-14 08:32:06 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-14 08:32:15 +0000 |
commit | f9119aaefd0cef14de07b1cfad22c191415047b5 (patch) | |
tree | 9a2a2b49dee24c95c2a5d01f21104abc45d974e2 /app-doc/cppman | |
parent | dev-util/diffoscope: add 253 (diff) | |
download | gentoo-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/cppman')
-rw-r--r-- | app-doc/cppman/cppman-0.5.6.ebuild | 8 |
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 |