diff options
author | Esteve Varela Colominas <esteve.varela@gmail.com> | 2023-04-25 21:07:36 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-25 22:27:34 +0100 |
commit | 8a07c945dd54ee47c1b0cc1cadfbb648731c0573 (patch) | |
tree | 76eef46d785ab6689fd8519a12662f26f5a18009 /app-doc | |
parent | media-gfx/yafaray: fix build with gcc-13 (diff) | |
download | gentoo-8a07c945dd54ee47c1b0cc1cadfbb648731c0573.tar.gz gentoo-8a07c945dd54ee47c1b0cc1cadfbb648731c0573.tar.bz2 gentoo-8a07c945dd54ee47c1b0cc1cadfbb648731c0573.zip |
app-doc/cppman: Bump to 0.5.6
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30754
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/cppman/Manifest | 1 | ||||
-rw-r--r-- | app-doc/cppman/cppman-0.5.6.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/app-doc/cppman/Manifest b/app-doc/cppman/Manifest index 759f0c7f8ce6..8c8a1421b755 100644 --- a/app-doc/cppman/Manifest +++ b/app-doc/cppman/Manifest @@ -1 +1,2 @@ DIST cppman-0.5.4.tar.gz 3560915 BLAKE2B 37dae8d4f4884582fd4556bfb8778b62e332286b9438a4507dd1a401f40014964a2409a57f1b8d234bb6143555719a6b81ccdf939fcf95a46ddb0fdfd475ac32 SHA512 e401813772c393aaf0e403ee253510ad4aac9cd9733c015e195bb66dad70cb2db0ea3e3c9749d87aed04b49aee04639fa3f822dc8e69a5a8812c3992b3e5c86d +DIST cppman-0.5.6.tar.gz 3820427 BLAKE2B ca4c3bc05e3f8b7de432147dcff861ab4b1d3b3de2729da2dc4cb8513f96b3b92e9a7ebbbf0ad577d7372ebc7d152290431d4d95127c63a1a9122c2dd5f12aae SHA512 bf4c0aa01d0a7158818f5769c66c420fb982fb3c0daaf83e4089f122e59ac5d9d2637b9ff079ea3ee7259bbb92b72992bcb2b1a593fc1bb7223288077fb523b6 diff --git a/app-doc/cppman/cppman-0.5.6.ebuild b/app-doc/cppman/cppman-0.5.6.ebuild new file mode 100644 index 000000000000..9e88d7bf5257 --- /dev/null +++ b/app-doc/cppman/cppman-0.5.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="sqlite,threads(+)" +DISTUTILS_SINGLE_IMPL=yes +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 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" + +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 +} + +src_install() { + distutils-r1_src_install + doman misc/cppman.1 + + newbashcomp misc/completions/cppman.bash cppman + + insinto /usr/share/zsh/site-functions + doins misc/completions/zsh/_cppman + + insinto /usr/share/fish/vendor_completions.d + doins misc/completions/fish/cppman.fish +} |