1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git"
8 PYTHON_COMPAT=( python{3_4,3_5,3_6} )
10 [[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools"
11 inherit eutils python-single-r1 ${GITECLASS}
14 DESCRIPTION="General purpose formula parser & interpreter"
15 HOMEPAGE="https://gitlab.com/ixion/ixion"
16 [[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/ixion/src/${P}.tar.xz"
19 SLOT="0/0.12" # based on SONAME of libixion.so
20 [[ ${PV} == 9999 ]] || \
21 KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
22 IUSE="debug python static-libs +threads"
26 python? ( ${PYTHON_DEPS} )
29 >=dev-util/mdds-1.2.0:1=
32 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
35 use python && python-single-r1_pkg_setup
40 [[ ${PV} == 9999 ]] && eautoreconf
46 $(use_enable python) \
47 $(use_enable static-libs static) \
54 prune_libtool_files --all