diff options
Diffstat (limited to 'app-doc/cppman/cppman-0.5.3.ebuild')
-rw-r--r-- | app-doc/cppman/cppman-0.5.3.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-doc/cppman/cppman-0.5.3.ebuild b/app-doc/cppman/cppman-0.5.3.ebuild new file mode 100644 index 000000000000..0366039efb90 --- /dev/null +++ b/app-doc/cppman/cppman-0.5.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10} ) +PYTHON_REQ_USE="sqlite,threads(+)" +DISTUTILS_SINGLE_IMPL=true +DISTUTILS_USE_SETUPTOOLS=no +inherit distutils-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 ~x86 ~x64-macos" + +RDEPEND=" + sys-apps/groff + $(python_gen_cond_dep ' + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + ') +" + +src_prepare() { + default + + # Don't allow setup.py to install documentation directly + sed -i '\:share/doc/cppman:d' setup.py || die "sed failed" +} |