From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7E44B13888F for ; Sun, 25 Oct 2015 16:36:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF3E2E07F4; Sun, 25 Oct 2015 16:36:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 67129E07F4 for ; Sun, 25 Oct 2015 16:36:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 30D4F340766 for ; Sun, 25 Oct 2015 16:36:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D975118D6 for ; Sun, 25 Oct 2015 16:36:42 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1445790995.0976e9cfcde80f655c375a8499124a979df97332.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/relax/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-chemistry/relax/relax-4.0.0-r1.ebuild X-VCS-Directories: sci-chemistry/relax/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 0976e9cfcde80f655c375a8499124a979df97332 X-VCS-Branch: master Date: Sun, 25 Oct 2015 16:36:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1bd78718-b9fb-4dff-b660-19652b7393ea X-Archives-Hash: b503eeec51ccec610bfc990f50232da1 commit: 0976e9cfcde80f655c375a8499124a979df97332 Author: Pacho Ramos gentoo org> AuthorDate: Sun Oct 25 16:36:24 2015 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Oct 25 16:36:35 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0976e9cf sci-chemistry/relax: Support wxGTK:3.0 Package-Manager: portage-2.2.23 sci-chemistry/relax/relax-4.0.0-r1.ebuild | 72 +++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/sci-chemistry/relax/relax-4.0.0-r1.ebuild b/sci-chemistry/relax/relax-4.0.0-r1.ebuild new file mode 100644 index 0000000..b5950de --- /dev/null +++ b/sci-chemistry/relax/relax-4.0.0-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +WX_GTK_VER="3.0" + +inherit eutils multiprocessing 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="test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-python/Numdifftools[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + 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.3[${PYTHON_USEDEP}] + >=sci-libs/minfx-1.0.11[${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 + test? ( ${RDEPEND} ) + " + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + rm -rf minfx bmrblib extern/numdifftools || die + tc-export CC + need-wxwidgets unicode +} + +src_compile() { + escons +} + +src_test() { + VIRTUALX_COMMAND="${EPYTHON} ./${PN}.py -x --traceback" + virtualmake +} + +src_install() { + dodoc README docs/{CHANGES,COMMITTERS,JOBS,relax.pdf} + + python_moduleinto ${PN} + python_domodule * + + rm ${PN} README || die + + make_wrapper ${PN}-nmr "${EPYTHON} $(python_get_sitedir)/${PN}/${PN}.py $@" +}