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/reduce: ChangeLog reduce-3.13.080428-r1.ebuild reduce-3.14.080821.ebuild
Date: Tue, 03 May 2011 17:49:58
Message-Id: 20110503174948.400E420054@flycatcher.gentoo.org
1 jlec 11/05/03 17:49:48
2
3 Modified: ChangeLog reduce-3.13.080428-r1.ebuild
4 Added: reduce-3.14.080821.ebuild
5 Log:
6 Version Bump, notified by euscan
7
8 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.19 sci-chemistry/reduce/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/reduce/ChangeLog?rev=1.19&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/reduce/ChangeLog?rev=1.19&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/reduce/ChangeLog?r1=1.18&r2=1.19
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v
20 retrieving revision 1.18
21 retrieving revision 1.19
22 diff -u -r1.18 -r1.19
23 --- ChangeLog 20 Sep 2010 06:57:54 -0000 1.18
24 +++ ChangeLog 3 May 2011 17:49:48 -0000 1.19
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-chemistry/reduce
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v 1.18 2010/09/20 06:57:54 jlec Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v 1.19 2011/05/03 17:49:48 jlec Exp $
31 +
32 +*reduce-3.14.080821 (03 May 2011)
33 +
34 + 03 May 2011; Justin Lecher <jlec@g.o> +files/3.14.080821-CFLAGS.patch,
35 + reduce-3.13.080428-r1.ebuild, +reduce-3.14.080821.ebuild:
36 + Version Bump, notified by euscan
37
38 20 Sep 2010; Justin Lecher <jlec@g.o>
39 -files/2.21.030604-gcc4.patch,
40
41
42
43 1.7 sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild?rev=1.7&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild?rev=1.7&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild?r1=1.6&r2=1.7
48
49 Index: reduce-3.13.080428-r1.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild,v
52 retrieving revision 1.6
53 retrieving revision 1.7
54 diff -u -r1.6 -r1.7
55 --- reduce-3.13.080428-r1.ebuild 20 Sep 2010 06:57:54 -0000 1.6
56 +++ reduce-3.13.080428-r1.ebuild 3 May 2011 17:49:48 -0000 1.7
57 @@ -1,8 +1,8 @@
58 -# Copyright 1999-2010 Gentoo Foundation
59 +# Copyright 1999-2011 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild,v 1.6 2010/09/20 06:57:54 jlec Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild,v 1.7 2011/05/03 17:49:48 jlec Exp $
63
64 -EAPI="3"
65 +EAPI=3
66
67 inherit eutils toolchain-funcs
68
69 @@ -24,8 +24,9 @@
70 S="${WORKDIR}/${MY_P}"
71
72 src_prepare() {
73 - epatch "${FILESDIR}"/${PV}-LDFLAGS.patch
74 - epatch "${FILESDIR}"/${PV}-CFLAGS.patch
75 + epatch \
76 + "${FILESDIR}"/${PV}-LDFLAGS.patch \
77 + "${FILESDIR}"/${PV}-CFLAGS.patch
78 }
79
80 src_compile() {
81 @@ -47,11 +48,7 @@
82 dodoc README.usingReduce.txt || die
83 }
84
85 -pkg_info() {
86 +pkg_postinst() {
87 elog "To use the PDBv3 dictionary instead of PDBv2, set the environment"
88 elog "variable REDUCE_HET_DICT to ${EPREFIX}/usr/share/reduce/reduce_wwPDB_het_dict.txt"
89 }
90 -
91 -pkg_postinst() {
92 - pkg_info
93 -}
94
95
96
97 1.1 sci-chemistry/reduce/reduce-3.14.080821.ebuild
98
99 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/reduce/reduce-3.14.080821.ebuild?rev=1.1&view=markup
100 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/reduce/reduce-3.14.080821.ebuild?rev=1.1&content-type=text/plain
101
102 Index: reduce-3.14.080821.ebuild
103 ===================================================================
104 # Copyright 1999-2011 Gentoo Foundation
105 # Distributed under the terms of the GNU General Public License v2
106 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/reduce-3.14.080821.ebuild,v 1.1 2011/05/03 17:49:48 jlec Exp $
107
108 EAPI=4
109
110 inherit eutils toolchain-funcs
111
112 MY_P="${PN}.${PV}.src"
113
114 DESCRIPTION="Adds hydrogens to a Protein Data Bank (PDB) molecule structure file"
115 HOMEPAGE="http://kinemage.biochem.duke.edu/software/reduce.php"
116 SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/reduce31/${MY_P}.tgz"
117
118 LICENSE="richardson"
119 SLOT="0"
120 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
121 IUSE=""
122
123 RDEPEND=""
124 DEPEND="${RDEPEND}
125 app-arch/unzip"
126
127 S="${WORKDIR}/${MY_P}"
128
129 src_prepare() {
130 epatch \
131 "${FILESDIR}"/3.13.080428-LDFLAGS.patch \
132 "${FILESDIR}"/${PV}-CFLAGS.patch
133 }
134
135 src_compile() {
136 DICT_DIR="/usr/share/reduce"
137 DICT_FOLD="reduce_het_dict.txt"
138 DICT_FNEW="reduce_wwPDB_het_dict.txt"
139
140 emake clean
141 emake \
142 CC="$(tc-getCC)" \
143 CXX="$(tc-getCXX)" \
144 OPT="${CXXFLAGS}" \
145 DICT_HOME="${EPREFIX}/${DICT_DIR}/${DICT_FNEW}" \
146 DICT_OLD="${EPREFIX}/${DICT_DIR}/${DICT_FOLD}"
147 }
148
149 src_install() {
150 dobin "${S}"/reduce_src/reduce
151 insinto ${DICT_DIR}
152 doins "${S}"/${DICT_FOLD} "${S}"/${DICT_FNEW}
153 dodoc README.usingReduce.txt
154 }