Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/relax: ChangeLog relax-3.1.0-r1.ebuild relax-3.1.0.ebuild
Date: Fri, 29 Nov 2013 09:15:07
Message-Id: 20131129091458.3197C2004B@flycatcher.gentoo.org
1 jlec 13/11/29 09:14:58
2
3 Modified: ChangeLog
4 Added: relax-3.1.0-r1.ebuild
5 Removed: relax-3.1.0.ebuild
6 Log:
7 sci-chemistry/relax: Fix icons
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key B9D4F231BD1558AB!)
10
11 Revision Changes Path
12 1.12 sci-chemistry/relax/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/relax/ChangeLog?rev=1.12&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/relax/ChangeLog?rev=1.12&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/relax/ChangeLog?r1=1.11&r2=1.12
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/relax/ChangeLog,v
21 retrieving revision 1.11
22 retrieving revision 1.12
23 diff -u -r1.11 -r1.12
24 --- ChangeLog 29 Nov 2013 08:38:42 -0000 1.11
25 +++ ChangeLog 29 Nov 2013 09:14:58 -0000 1.12
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-chemistry/relax
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/ChangeLog,v 1.11 2013/11/29 08:38:42 jlec Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/ChangeLog,v 1.12 2013/11/29 09:14:58 jlec Exp $
31 +
32 +*relax-3.1.0-r1 (29 Nov 2013)
33 +
34 + 29 Nov 2013; Justin Lecher <jlec@g.o> -relax-3.1.0.ebuild,
35 + +relax-3.1.0-r1.ebuild:
36 + Fix icons
37
38 *relax-3.1.0 (29 Nov 2013)
39
40
41
42
43 1.1 sci-chemistry/relax/relax-3.1.0-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/relax/relax-3.1.0-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/relax/relax-3.1.0-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: relax-3.1.0-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/relax-3.1.0-r1.ebuild,v 1.1 2013/11/29 09:14:58 jlec Exp $
53
54 EAPI=5
55
56 PYTHON_COMPAT=( python2_7 )
57
58 WX_GTK_VER="2.9"
59
60 inherit eutils multiprocessing python-single-r1 scons-utils toolchain-funcs wxwidgets virtualx
61
62 DESCRIPTION="Molecular dynamics by NMR data analysis"
63 HOMEPAGE="http://www.nmr-relax.com/"
64 SRC_URI="http://download.gna.org/relax/${P}.src.tar.bz2"
65
66 SLOT="0"
67 LICENSE="GPL-2"
68 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
69 IUSE=""
70
71 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
72
73 RDEPEND="
74 ${PYTHON_DEPS}
75 dev-python/numpy[${PYTHON_USEDEP}]
76 dev-python/wxpython:${WX_GTK_VER}[${PYTHON_USEDEP}]
77 sci-chemistry/molmol
78 sci-chemistry/pymol[${PYTHON_USEDEP}]
79 sci-chemistry/vmd
80 >=sci-libs/bmrblib-1.0.1_pre198[${PYTHON_USEDEP}]
81 >=sci-libs/minfx-1.0.4_pre98[${PYTHON_USEDEP}]
82 sci-libs/scipy[${PYTHON_USEDEP}]
83 sci-visualization/grace
84 sci-visualization/opendx
85 x11-libs/wxGTK:${WX_GTK_VER}[X]"
86 DEPEND="${RDEPEND}
87 media-gfx/pngcrush"
88
89 pkg_setup() {
90 python-single-r1_pkg_setup
91 }
92
93 fix_png() {
94 pngcrush -q -fix -force ${1} ${1}-fixed &>/dev/null || die
95 mv ${1}-fixed ${1} || die
96 echo -e ".\c"
97 }
98 src_prepare() {
99 local png
100 rm -rf minfx bmrblib || die
101 epatch \
102 "${FILESDIR}"/${PN}-3.0.1-gentoo.patch \
103 "${FILESDIR}"/${P}-sample-script.patch
104 tc-export CC
105
106 ebegin "Fixing png files"
107 multijob_init
108 for png in $(find -type f -name "*.png"); do
109 multijob_child_init fix_png ${png}
110 done
111 multijob_finish
112 eend
113 }
114
115 src_compile() {
116 escons
117 }
118
119 src_test() {
120 VIRTUALX_COMMAND="${EPYTHON}"
121 virtualmake ./${PN}.py -x || die
122 }
123
124 src_install() {
125 dodoc README docs/{CHANGES,COMMITTERS,JOBS,relax.pdf,prompt_screenshot.txt}
126
127 python_moduleinto ${PN}
128 python_domodule *
129
130 rm ${PN} README || die
131
132 make_wrapper ${PN}-nmr "${EPYTHON} $(python_get_sitedir)/${PN}/${PN}.py $@"
133 }