/[gentoo-x86]/dev-python/root_numpy/root_numpy-3.3.0.ebuild
Gentoo

Contents of /dev-python/root_numpy/root_numpy-3.3.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Apr 8 08:05:15 2015 UTC (3 years, 3 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/root_numpy/root_numpy-3.3.0.ebuild,v 1.1 2014/05/06 15:59:22 bicatali Exp $
4
5 EAPI=5
6
7 DISTUTILS_SINGLE_IMPL=1
8 PYTHON_COMPAT=( python2_7 )
9
10 inherit distutils-r1
11
12 DESCRIPTION="Interface between ROOT and numpy"
13 HOMEPAGE="https://github.com/rootpy/root_numpy"
14 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
15
16 LICENSE="MIT"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
19 IUSE="examples test"
20
21 RDEPEND="
22 dev-python/numpy[${PYTHON_USEDEP}]
23 sci-physics/root[python,${PYTHON_USEDEP}]"
24
25 DEPEND="${RDEPEND}
26 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
27
28 python_test() {
29 cd "${BUILD_DIR}" || die
30 nosetests -v || die "Testing failed with ${EPYTHON}"
31 }
32
33 python_install_all() {
34 use examples && local EXAMPLES=( tutorial/. )
35 distutils-r1_python_install_all
36 }

  ViewVC Help
Powered by ViewVC 1.1.20