diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 14:12:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 14:12:52 +0000 |
commit | ebadb1bcdd3c4fdd2e1a569a04d2cd8c5049b64d (patch) | |
tree | 261a9ff495381f4023c98dfb4ecd5cb195b5f346 /app-doc/cppman/cppman-0.5.4-r1.ebuild | |
parent | 2666e9c75caf914c25a25329523c982df8512930 (diff) |
gentoo auto-resync : 28:12:2022 - 14:12:52
Diffstat (limited to 'app-doc/cppman/cppman-0.5.4-r1.ebuild')
-rw-r--r-- | app-doc/cppman/cppman-0.5.4-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-doc/cppman/cppman-0.5.4-r1.ebuild b/app-doc/cppman/cppman-0.5.4-r1.ebuild new file mode 100644 index 000000000000..5bb20190b399 --- /dev/null +++ b/app-doc/cppman/cppman-0.5.4-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..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 ~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 +} |