dev-lang/lci: add 0.11.2_p20191019

* Install html docs with USE="doc"
* Rename and correct doxygen (b)depend
* Fix tests

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-01-18 14:52:58 +02:00
parent 930ac3dbce
commit 18702f7401
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 46 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST lci-0.11.2.tar.gz 312257 BLAKE2B 91b8f11fb7ad68f3774f3cda324f4ae120552cb735a96db517331efc0a8bc61e9d24b4316dc074129913c09a4ed162d337a8ea9a0e9b6366ce6692abc4107b5a SHA512 37e94cb6c51c0a41e6cc8953c5314b0f25a898f853053f748ad09af82f9c1948054866f7f2cee8e9f9c517a05bd7b367ea44f73aa74f63719ea25d9e0f507a73
DIST lci-0.11.2_p20191019.tar.gz 313826 BLAKE2B 9634a02d85e4731394a7c089b31b11e6c7886f118305162162601460b1000440df06465ea3973b1128c0629cb335a41c887c5b802cff3ede7ee01bbbacad5859 SHA512 533e675cf79b5d497ffd89a9eceb507603c2d8f48c0041e4dd0974f7f32a25691f99d7ae7a298fc37069ad2e48d3926d3ded086e99de9309ef971f1de58aca3c

View File

@ -0,0 +1,45 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit cmake python-any-r1
DESCRIPTION="LOLCODE interpreter written in C"
HOMEPAGE="http://www.lolcode.org/"
COMMIT="58ed46a5b20a628f9da07088466acc45cda291cc"
SRC_URI="https://github.com/justinmeza/lci/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/lci-${COMMIT}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc test"
RESTRICT="!test? ( test )"
DEPEND="test? ( ${PYTHON_DEPS} )"
BDEPEND="
doc? (
app-text/doxygen
)
"
pkg_setup() {
use test && python-any-r1_pkg_setup
}
src_compile() {
cmake_src_compile
if use doc; then
HTML_DOCS="${BUILD_DIR}/html"
cmake_src_compile docs
fi
}
src_install() {
cmake_src_install
einstalldocs
}