diff options
author | neeshy <neeshy@tfwno.gf> | 2020-03-28 16:06:52 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-04-05 10:17:54 +0300 |
commit | 7f629a139b3531f94e5099d9fbc8014010d01dae (patch) | |
tree | 57151a3fd561184f0616e63ef82ac9dae457865a /app-doc/cppman/cppman-0.4.8-r2.ebuild | |
parent | app-doc/cppman: bump version to 0.4.9 (diff) | |
download | gentoo-7f629a139b3531f94e5099d9fbc8014010d01dae.tar.gz gentoo-7f629a139b3531f94e5099d9fbc8014010d01dae.tar.bz2 gentoo-7f629a139b3531f94e5099d9fbc8014010d01dae.zip |
app-doc/cppman: cleanup, fix DOCS location
Signed-off-by: Nima Sadeghi <neeshy@tfwno.gf>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-doc/cppman/cppman-0.4.8-r2.ebuild')
-rw-r--r-- | app-doc/cppman/cppman-0.4.8-r2.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-doc/cppman/cppman-0.4.8-r2.ebuild b/app-doc/cppman/cppman-0.4.8-r2.ebuild new file mode 100644 index 000000000000..47193572aa46 --- /dev/null +++ b/app-doc/cppman/cppman-0.4.8-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +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" +IUSE="bash-completion zsh-completion" + +RDEPEND=" + sys-apps/groff + $(python_gen_cond_dep ' + dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}] + dev-python/html5lib[${PYTHON_MULTI_USEDEP}] + ') +" + +DOCS=( README.rst AUTHORS COPYING ChangeLog ) + +src_prepare() { + sed -i '\:share/doc/cppman:d' setup.py + use bash-completion || sed -i '\:share/bash-completion/completions:d' setup.py + use zsh-completion || sed -i '\:share/zsh-completion/completions:d' setup.py + + default +} |