diff options
author | Patrick Lauer <patrick@gentoo.org> | 2014-10-19 10:39:59 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2014-10-19 10:39:59 +0000 |
commit | fd031e75575188fab64955c08943852b785081ba (patch) | |
tree | 9608e1b8ad93bfd3d33d2ba7d2fe5e93f2d2c02a /dev-python/numba | |
parent | Bump (diff) | |
download | gentoo-2-fd031e75575188fab64955c08943852b785081ba.tar.gz gentoo-2-fd031e75575188fab64955c08943852b785081ba.tar.bz2 gentoo-2-fd031e75575188fab64955c08943852b785081ba.zip |
Bump
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/numba')
-rw-r--r-- | dev-python/numba/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/numba/numba-0.15.1.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-python/numba/ChangeLog b/dev-python/numba/ChangeLog index 6dd351380d61..e553c1a3d867 100644 --- a/dev-python/numba/ChangeLog +++ b/dev-python/numba/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/numba # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/numba/ChangeLog,v 1.9 2014/09/30 04:01:56 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/numba/ChangeLog,v 1.10 2014/10/19 10:39:59 patrick Exp $ + +*numba-0.15.1 (19 Oct 2014) + + 19 Oct 2014; Patrick Lauer <patrick@gentoo.org> +numba-0.15.1.ebuild: + Bump *numba-0.14.0 (30 Sep 2014) diff --git a/dev-python/numba/numba-0.15.1.ebuild b/dev-python/numba/numba-0.15.1.ebuild new file mode 100644 index 000000000000..5b622a2e6774 --- /dev/null +++ b/dev-python/numba/numba-0.15.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/numba/numba-0.15.1.ebuild,v 1.1 2014/10/19 10:39:59 patrick Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="NumPy aware dynamic Python compiler using LLVM" +HOMEPAGE="http://numba.pydata.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc examples" + +RDEPEND="dev-python/llvmpy[${PYTHON_USEDEP}] + >=dev-python/numpy-1.6[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +python_compile() { + if ! python_is_python3; then + local CFLAGS="${CFLAGS} -fno-strict-aliasing" + export CFLAGS + fi + distutils-r1_python_compile +} + +python_test() { + cd "${BUILD_DIR}"/lib* || die + ${PYTHON} -c "import numba; numba.test()" || die +} + +python_install_all() { + # doc needs obsolete sphnxjp package + use doc && dodoc docs/Numba.pdf + use examples && local EXAMPLES=( examples/. ) + + distutils-r1_python_install_all +} |