1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
7 inherit python-single-r1
9 DESCRIPTION="General purpose formula parser & interpreter"
10 HOMEPAGE="https://gitlab.com/ixion/ixion"
12 if [[ ${PV} == 9999 ]]; then
13 EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git"
14 inherit git-r3 autotools
16 SRC_URI="https://kohei.us/files/ixion/src/${P}.tar.xz"
17 KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 x86"
21 SLOT="0/0.14" # based on SONAME of libixion.so
22 IUSE="debug python static-libs +threads"
24 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
29 python? ( ${PYTHON_DEPS} )
34 use python && python-single-r1_pkg_setup
39 [[ ${PV} == 9999 ]] && eautoreconf
45 $(use_enable python) \
46 $(use_enable static-libs static) \
52 find "${D}" -name '*.la' -type f -delete || die