1 # Copyright 1999-2015 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=( python2_7 )
11 [[ ${PV} == 9999 ]] && GITECLASS="git-r3"
12 inherit autotools 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"
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-0.12.0:=
33 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
36 use python && python-single-r1_pkg_setup
40 epatch "${FILESDIR}/${PN}-0.9.1-typo.patch"
41 epatch "${FILESDIR}/${PN}-0.9.1-python-optional.patch"
47 $(use_enable python) \
48 $(use_enable static-libs static)
54 prune_libtool_files --all