You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
848 B
36 lines
848 B
# 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"
|
|
|
|
RDEPEND="
|
|
sys-apps/groff
|
|
$(python_gen_cond_dep '
|
|
dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
|
|
dev-python/html5lib[${PYTHON_MULTI_USEDEP}]
|
|
')
|
|
"
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
# Don't allow setup.py to install documentation directly
|
|
sed -i '\:share/doc/cppman:d' setup.py || die "sed failed"
|
|
}
|