Add app-i18n/libkkc-data
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
32
app-i18n/libkkc-data/libkkc-data-0.2.7.ebuild
Normal file
32
app-i18n/libkkc-data/libkkc-data-0.2.7.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
|
||||
PYTHON_COMPAT=( python3_{11.13} )
|
||||
inherit autotools python-single-r1
|
||||
|
||||
LIBKKC_PV="0.3.5"
|
||||
|
||||
DESCRIPTION="Language model data for app-i18n/libkkc"
|
||||
HOMEPAGE="https://github.com/ueno/libkkc"
|
||||
SRC_URI="https://github.com/ueno/libkkc/releases/download/v${LIBKKC_PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="dev-libs/marisa"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang tools/genfilter.py
|
||||
python_fix_shebang tools/sortlm.py
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf
|
||||
}
|
||||
Reference in New Issue
Block a user