mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-portage/carnage: drop man USE
Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
@@ -22,8 +22,6 @@ fi
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="man"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/lxml-6.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.1.2[${PYTHON_USEDEP}]
|
||||
@@ -31,29 +29,6 @@ RDEPEND="
|
||||
>=dev-python/tomlkit-0.13.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
man? (
|
||||
|| (
|
||||
app-text/lowdown
|
||||
virtual/pandoc
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
|
||||
if use man; then
|
||||
local docgen=lowdown
|
||||
|
||||
# prefer pandoc if it's installed
|
||||
has_version virtual/pandoc && docgen=pandoc
|
||||
|
||||
"${docgen}" docs/man.carnage.md -s -t man -o docs/carnage.1 \
|
||||
|| die "Failed to generate man page with ${docgen}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
@@ -61,7 +36,7 @@ src_install() {
|
||||
|
||||
doicon -s scalable assets/carnage.svg
|
||||
|
||||
use man && doman docs/carnage.1
|
||||
doman man/carnage.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Reference in New Issue
Block a user