app-doc/cppman: Bump to 0.5.9

Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42193
Closes: https://github.com/gentoo/gentoo/pull/42193
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Esteve Varela Colominas
2025-05-21 21:19:44 +02:00
committed by Sam James
parent 60772a64e4
commit 7796bdaedf
2 changed files with 49 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST cppman-0.5.6.tar.gz 3820427 BLAKE2B ca4c3bc05e3f8b7de432147dcff861ab4b1d3b3de2729da2dc4cb8513f96b3b92e9a7ebbbf0ad577d7372ebc7d152290431d4d95127c63a1a9122c2dd5f12aae SHA512 bf4c0aa01d0a7158818f5769c66c420fb982fb3c0daaf83e4089f122e59ac5d9d2637b9ff079ea3ee7259bbb92b72992bcb2b1a593fc1bb7223288077fb523b6
DIST cppman-0.5.9.tar.gz 4657401 BLAKE2B 9d9bdbe81808ad26b242670c61d04cb6e5ce85f644ca5c0bba1e348fd36615a3252e705810abf3deb5d5f74db9b55682850a7ca83775ed30c1cc0c74b8dd038d SHA512 5a660be80c99fee0a68fe0a114548fde6998c18aaacca7a3030b28b8b44bdfd8071c72f0c5bbd8bdce86932f5a57b186373de89796182e39dd1149cf4019c3a1

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE="sqlite,threads(+)"
DISTUTILS_SINGLE_IMPL=yes
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 shell-completion bash-completion-r1
DESCRIPTION="C++ man pages for Linux, with source from cplusplus.com and cppreference.com"
HOMEPAGE="https://github.com/aitjcize/cppman"
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
$(python_gen_cond_dep '
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/html5lib[${PYTHON_USEDEP}]
')
"
src_prepare() {
# Install data manually, nearly all of it is misplaced
sed -i '/data_files = _data_files,/d' setup.py || die
distutils-r1_src_prepare
}
python_test() {
${EPYTHON} test/test.py || die
}
src_install() {
distutils-r1_src_install
doman misc/cppman.1
newbashcomp misc/completions/cppman.bash cppman
dozshcomp misc/completions/zsh/_cppman
dofishcomp misc/completions/fish/cppman.fish
}