Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/nmrpipe/files/, sci-chemistry/nmrpipe/
Date: Sat, 10 Oct 2015 14:11:52
Message-Id: 1444483315.53ed6229b43ef02174b2a9da953c6d2bce0277be.jlec@gentoo
1 commit: 53ed6229b43ef02174b2a9da953c6d2bce0277be
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 10 13:21:55 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 13:21:55 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=53ed6229
7
8 sci-chemistry/nmrpipe: Version Bump
9
10 properly fix paths in scripts
11
12 Package-Manager: portage-2.2.23
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 ....patch => nmrpipe-8.6.2015.271.07.19-lib.patch} | 0
16 ...r1.ebuild => nmrpipe-8.6.2015.271.07.19.ebuild} | 29 +++++++++-------------
17 2 files changed, 12 insertions(+), 17 deletions(-)
18
19 diff --git a/sci-chemistry/nmrpipe/files/nmrpipe-8.1.2013.218.23.09-lib.patch b/sci-chemistry/nmrpipe/files/nmrpipe-8.6.2015.271.07.19-lib.patch
20 similarity index 100%
21 rename from sci-chemistry/nmrpipe/files/nmrpipe-8.1.2013.218.23.09-lib.patch
22 rename to sci-chemistry/nmrpipe/files/nmrpipe-8.6.2015.271.07.19-lib.patch
23
24 diff --git a/sci-chemistry/nmrpipe/nmrpipe-8.1.2013.218.23.09-r1.ebuild b/sci-chemistry/nmrpipe/nmrpipe-8.6.2015.271.07.19.ebuild
25 similarity index 88%
26 rename from sci-chemistry/nmrpipe/nmrpipe-8.1.2013.218.23.09-r1.ebuild
27 rename to sci-chemistry/nmrpipe/nmrpipe-8.6.2015.271.07.19.ebuild
28 index 31d1f24..61d6b49 100644
29 --- a/sci-chemistry/nmrpipe/nmrpipe-8.1.2013.218.23.09-r1.ebuild
30 +++ b/sci-chemistry/nmrpipe/nmrpipe-8.6.2015.271.07.19.ebuild
31 @@ -17,11 +17,11 @@ HOMEPAGE="http://spin.niddk.nih.gov/bax/software/NMRPipe/"
32 # binval.com
33 # install.com"
34 SRC_URI="
35 - http://spin.niddk.nih.gov/NMRPipe/install/download/install.com
36 - http://spin.niddk.nih.gov/NMRPipe/install/download/binval.com
37 - http://spin.niddk.nih.gov/NMRPipe/install/download/NMRPipeX.tZ
38 - http://spin.niddk.nih.gov/NMRPipe/install/download/talos.tZ
39 - http://spin.niddk.nih.gov/NMRPipe/install/download/dyn.tZ
40 + http://spin.niddk.nih.gov/NMRPipe/install/download/install.com -> install-${PV}.com
41 + http://spin.niddk.nih.gov/NMRPipe/install/download/binval.com -> binval-${PV}.com
42 + http://spin.niddk.nih.gov/NMRPipe/install/download/NMRPipeX.tZ -> NMRPipeX-${PV}.tZ
43 + http://spin.niddk.nih.gov/NMRPipe/install/download/talos.tZ -> talos-${PV}.tZ
44 + http://spin.niddk.nih.gov/NMRPipe/install/download/dyn.tZ -> dyn-${PV}.tZ
45 "
46
47 SLOT="0"
48 @@ -59,12 +59,7 @@ NMRBASE="/opt/${PN}"
49 ENMRBASE="${EPREFIX}/${NMRBASE}"
50
51 QA_PREBUILT="
52 - opt/nmrpipe/nmrbin.linux9/lib/.*
53 - opt/nmrpipe/nmrbin.linux9/.*
54 - opt/nmrpipe/talos/bin/.*
55 - opt/nmrpipe/talosplus/bin/.*
56 - opt/nmrpipe/promega/.*
57 - opt/nmrpipe/spartaplus/.*
58 + opt/.*
59 "
60
61 pkg_nofetch() {
62 @@ -83,13 +78,14 @@ pkg_nofetch() {
63 src_unpack() {
64 # The installation script will unpack the package. We just provide symlinks
65 # to the archive files, ...
66 - for i in NMRPipeX.tZ talos.tZ dyn.tZ; do
67 - ln -sf "${DISTDIR}"/${i} || die
68 + for i in NMRPipeX-${PV}.tZ talos-${PV}.tZ dyn-${PV}.tZ; do
69 + ln -sf "${DISTDIR}"/${i} ${i/-${PV}/} || die
70 done
71 # ... copy the installation scripts ...
72 - cp -L "${DISTDIR}"/{binval.com,install.com} .
73 + cp -L "${DISTDIR}"/install-${PV}.com install.com || die
74 + cp -L "${DISTDIR}"/binval-${PV}.com binval.com || die
75 # ... and make the installation scripts executable.
76 - chmod +x binval.com install.com
77 + chmod +x *.com || die
78 # Unset DISPLAY to avoid the interactive graphical test.
79 # This just unpacks the stuff
80 # env DISPLAY="" csh ./install.com +type linux9 +dest "${S}"/NMR || die
81 @@ -145,10 +141,9 @@ src_prepare() {
82 -e "s: /bin: ${EPREFIX}/bin:g" \
83 -e "s: /usr/bin: ${EPREFIX}/usr/bin:g" \
84 -e "s: /usr/local/bin: ${EPREFIX}/usr/bin:g" \
85 - -i $(find "${S}" \( -name *.tcl -o -name *.com -o -name *.ksh \) ) \
86 + -i $(find "${S}" \( -name "*.tcl" -o -name "*.com" -o -name "*.ksh" \)) \
87 {com/,nmrtxt/*.com,nmrtxt/nt/*.com,dynamo/tcl/,talos*/com/,dynamo/tcl/}* \
88 nmrbin.linux9/{nmrDraw,xNotify} || die
89 -
90 eend
91
92 if use prefix; then