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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Feb 23 22:40:09 2014 UTC (4 years, 5 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump

(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

1 # Copyright 1999-2013 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-2.1.0.ebuild,v 1.2 2013/09/17 07:33:45 mgorny Exp $
4
5 EAPI=5
6
7 DISTUTILS_SINGLE_IMPL=1
8 PYTHON_COMPAT=( python{2_6,2_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