summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-12-11 07:58:17 +0000
committerJustin Lecher <jlec@gentoo.org>2013-12-11 07:58:17 +0000
commit7ad445b24fb438b70df342bfc22015823d8dcc3c (patch)
treead79c90f0db91378f060bfaa0b4aeea1beff36aa /sci-chemistry/relax
parentx86 stable wrt bug #488830 (diff)
downloadgentoo-2-7ad445b24fb438b70df342bfc22015823d8dcc3c.tar.gz
gentoo-2-7ad445b24fb438b70df342bfc22015823d8dcc3c.tar.bz2
gentoo-2-7ad445b24fb438b70df342bfc22015823d8dcc3c.zip
sci-chemistry/relax: Version Bump
(Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-chemistry/relax')
-rw-r--r--sci-chemistry/relax/ChangeLog7
-rw-r--r--sci-chemistry/relax/relax-3.1.1.ebuild71
2 files changed, 77 insertions, 1 deletions
diff --git a/sci-chemistry/relax/ChangeLog b/sci-chemistry/relax/ChangeLog
index 61f92e695fbd..1b943c4fed96 100644
--- a/sci-chemistry/relax/ChangeLog
+++ b/sci-chemistry/relax/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/relax
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/ChangeLog,v 1.13 2013/11/29 10:58:24 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/ChangeLog,v 1.14 2013/12/11 07:58:17 jlec Exp $
+
+*relax-3.1.1 (11 Dec 2013)
+
+ 11 Dec 2013; Justin Lecher <jlec@gentoo.org> +relax-3.1.1.ebuild:
+ Version Bump
*relax-9999 (29 Nov 2013)
*relax-3.1.0-r2 (29 Nov 2013)
diff --git a/sci-chemistry/relax/relax-3.1.1.ebuild b/sci-chemistry/relax/relax-3.1.1.ebuild
new file mode 100644
index 000000000000..4ed84854ce37
--- /dev/null
+++ b/sci-chemistry/relax/relax-3.1.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/relax-3.1.1.ebuild,v 1.1 2013/12/11 07:58:17 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+WX_GTK_VER="2.9"
+
+inherit eutils python-single-r1 scons-utils toolchain-funcs wxwidgets virtualx
+
+DESCRIPTION="Molecular dynamics by NMR data analysis"
+HOMEPAGE="http://www.nmr-relax.com/"
+SRC_URI="http://download.gna.org/relax/${P}.src.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/wxpython:${WX_GTK_VER}[${PYTHON_USEDEP}]
+ sci-chemistry/molmol
+ sci-chemistry/pymol[${PYTHON_USEDEP}]
+ sci-chemistry/vmd
+ >=sci-libs/bmrblib-1.0.1_pre198[${PYTHON_USEDEP}]
+ >=sci-libs/minfx-1.0.4_pre98[${PYTHON_USEDEP}]
+ sci-libs/scipy[${PYTHON_USEDEP}]
+ sci-visualization/grace
+ sci-visualization/opendx
+ x11-libs/wxGTK:${WX_GTK_VER}[X]"
+DEPEND="${RDEPEND}
+ media-gfx/pngcrush"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ local png
+ rm -rf minfx bmrblib || die
+ epatch \
+ "${FILESDIR}"/${PN}-3.0.1-gentoo.patch
+# "${FILESDIR}"/${P}-sample-script{,-backport}.patch
+ tc-export CC
+}
+
+src_compile() {
+ escons
+}
+
+src_test() {
+ VIRTUALX_COMMAND="${EPYTHON}"
+ virtualmake ./${PN}.py -x || die
+}
+
+src_install() {
+ dodoc README docs/{CHANGES,COMMITTERS,JOBS,relax.pdf,prompt_screenshot.txt}
+
+ python_moduleinto ${PN}
+ python_domodule *
+
+ rm ${PN} README || die
+
+ make_wrapper ${PN}-nmr "${EPYTHON} $(python_get_sitedir)/${PN}/${PN}.py $@"
+}