1 |
commit: 0976e9cfcde80f655c375a8499124a979df97332 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 25 16:36:24 2015 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 25 16:36:35 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0976e9cf |
7 |
|
8 |
sci-chemistry/relax: Support wxGTK:3.0 |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
|
12 |
sci-chemistry/relax/relax-4.0.0-r1.ebuild | 72 +++++++++++++++++++++++++++++++ |
13 |
1 file changed, 72 insertions(+) |
14 |
|
15 |
diff --git a/sci-chemistry/relax/relax-4.0.0-r1.ebuild b/sci-chemistry/relax/relax-4.0.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..b5950de |
18 |
--- /dev/null |
19 |
+++ b/sci-chemistry/relax/relax-4.0.0-r1.ebuild |
20 |
@@ -0,0 +1,72 @@ |
21 |
+# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python2_7 ) |
28 |
+ |
29 |
+WX_GTK_VER="3.0" |
30 |
+ |
31 |
+inherit eutils multiprocessing python-single-r1 scons-utils toolchain-funcs wxwidgets virtualx |
32 |
+ |
33 |
+DESCRIPTION="Molecular dynamics by NMR data analysis" |
34 |
+HOMEPAGE="http://www.nmr-relax.com/" |
35 |
+SRC_URI="http://download.gna.org/relax/${P}.src.tar.bz2" |
36 |
+ |
37 |
+SLOT="0" |
38 |
+LICENSE="GPL-2" |
39 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
40 |
+IUSE="test" |
41 |
+ |
42 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ ${PYTHON_DEPS} |
46 |
+ dev-python/Numdifftools[${PYTHON_USEDEP}] |
47 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
48 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
49 |
+ dev-python/wxpython:${WX_GTK_VER}[${PYTHON_USEDEP}] |
50 |
+ sci-chemistry/molmol |
51 |
+ sci-chemistry/pymol[${PYTHON_USEDEP}] |
52 |
+ sci-chemistry/vmd |
53 |
+ >=sci-libs/bmrblib-1.0.3[${PYTHON_USEDEP}] |
54 |
+ >=sci-libs/minfx-1.0.11[${PYTHON_USEDEP}] |
55 |
+ sci-libs/scipy[${PYTHON_USEDEP}] |
56 |
+ sci-visualization/grace |
57 |
+ sci-visualization/opendx |
58 |
+ x11-libs/wxGTK:${WX_GTK_VER}[X]" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ media-gfx/pngcrush |
61 |
+ test? ( ${RDEPEND} ) |
62 |
+ " |
63 |
+ |
64 |
+pkg_setup() { |
65 |
+ python-single-r1_pkg_setup |
66 |
+} |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ rm -rf minfx bmrblib extern/numdifftools || die |
70 |
+ tc-export CC |
71 |
+ need-wxwidgets unicode |
72 |
+} |
73 |
+ |
74 |
+src_compile() { |
75 |
+ escons |
76 |
+} |
77 |
+ |
78 |
+src_test() { |
79 |
+ VIRTUALX_COMMAND="${EPYTHON} ./${PN}.py -x --traceback" |
80 |
+ virtualmake |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ dodoc README docs/{CHANGES,COMMITTERS,JOBS,relax.pdf} |
85 |
+ |
86 |
+ python_moduleinto ${PN} |
87 |
+ python_domodule * |
88 |
+ |
89 |
+ rm ${PN} README || die |
90 |
+ |
91 |
+ make_wrapper ${PN}-nmr "${EPYTHON} $(python_get_sitedir)/${PN}/${PN}.py $@" |
92 |
+} |