blob: 5bf2de2d9f06cbf805e42f3b5af69b3ebf705ed6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
SUPPORT_PYTHON_ABIS="1"
inherit eutils scons-utils distutils git-2
DESCRIPTION="package with useful scripts for X-ray diffraction physicists"
HOMEPAGE="http://sourceforge.net/projects/xrayutilities"
EGIT_REPO_URI="git://git.code.sf.net/p/xrayutilities/code"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="dev-python/numpy
sci-libs/scipy
dev-python/pytables"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/remove_python_package_install_from_scons.patch
}
src_compile() {
escons
}
src_install() {
# install c-library using patched SConstruct
escons DESTDIR="${D}" install
# install python package to system python folder
distutils_src_install
}
|