sci-misc/hfst - 3.17.1 (flammie)

Search

Install

Install this version:

emerge -a =sci-misc/hfst-3.17.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-misc/hfst-3.17.1

Or alternatively:

emerge --autounmask-write -a =sci-misc/hfst-3.17.1

Package Information

Description:
Helsinki Finite-State Technology libraries and tools
Homepage:
http://hfst.sf.net/
License:
GPL-2 GPL-3 Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
3.17.1 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11,12,13} )
inherit distutils-r1  autotools

DESCRIPTION="Helsinki Finite-State Technology libraries and tools"
HOMEPAGE="http://hfst.sf.net/"
SRC_URI="https://github.com/hfst/hfst/releases/download/v${PV}/${P}.tar.bz2"
LICENSE="GPL-2 GPL-3 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="minimal python"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

COMMON_DEPEND="python? ( ${PYTHON_DEPS} )
sci-misc/openfst
dev-libs/foma
"
DEPEND=">=sys-devel/flex-2.5.35
>=sys-devel/bison-2.4
${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"

src_prepare() {
	eapply_user
	eautoreconf
}

src_configure() {
	econf $(use_enable !minimal all-tools )
}

src_compile() {
	default_src_compile
	if use python ; then
		cd "${S}/python"
		python_foreach_impl esetup.py build_ext --inplace --local-hfst
		distutils-r1_src_compile
	fi
}

src_install() {
	default_src_install
	if use python ; then
		cd "${S}/python"
		distutils-r1_src_install
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-misc/hfst | euse -E <flag> -p sci-misc/hfst | euse -D <flag> -p sci-misc/hfst

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

>=sys-devel/flex-2.5.35
>=sys-devel/bison-2.4
python? (  )
sci-misc/openfst
dev-libs/foma

RDEPEND

python? (  )
sci-misc/openfst
dev-libs/foma

Manifest for 3.17.1

Type File Size Source URLs
DIST hfst-3.17.1.tar.bz2 1457345 bytes https://github.com/hfst/hfst/releases/download/v3.17.1/hfst-3.17.1.tar.bz2