1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git"
9 PYTHON_COMPAT=( python{3_4,3_5} )
11 [[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools"
12 inherit eutils python-single-r1 ${GITECLASS}
15 DESCRIPTION="General purpose formula parser & interpreter"
16 HOMEPAGE="https://gitlab.com/ixion/ixion"
17 [[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/ixion/src/${P}.tar.xz"
20 SLOT="0/0.11" # based on SONAME of libixion.so
21 [[ ${PV} == 9999 ]] || \
22 KEYWORDS="~amd64 ~arm ~ppc ~x86"
23 IUSE="python static-libs"
26 dev-libs/boost:=[threads]
27 python? ( ${PYTHON_DEPS} )
30 >=dev-util/mdds-1.2.0:1=
33 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
36 use python && python-single-r1_pkg_setup
41 [[ ${PV} == 9999 ]] && eautoreconf
46 $(use_enable python) \
47 $(use_enable static-libs static)
53 prune_libtool_files --all