app-i18n/libkkc-data: resuming work on it when it becomes feasible
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
40
app-i18n/libkkc-data/libkkc-data-0.2.7.ebuild.bak
Normal file
40
app-i18n/libkkc-data/libkkc-data-0.2.7.ebuild.bak
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
|
||||
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-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/marisa[python]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cp -f "${FILESDIR}/genfilter.py" "${S}/tools/genfilter.py"
|
||||
cp -f "${FILESDIR}/sortlm.py" "${S}/tools/sortlm.py"
|
||||
python_fix_shebang tools/genfilter.py
|
||||
python_fix_shebang tools/sortlm.py
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
Reference in New Issue
Block a user