summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-05-03 17:49:48 +0000
committerJustin Lecher <jlec@gentoo.org>2011-05-03 17:49:48 +0000
commit9aee2b64ffeb6efa89f19d8a0b4ab8892975d8b2 (patch)
treec76610116054cef0c8e55fa58f7958de88ecda00
parentVersion Bump, notified by euscan (diff)
downloadhistorical-9aee2b64ffeb6efa89f19d8a0b4ab8892975d8b2.tar.gz
historical-9aee2b64ffeb6efa89f19d8a0b4ab8892975d8b2.tar.bz2
historical-9aee2b64ffeb6efa89f19d8a0b4ab8892975d8b2.zip
Version Bump, notified by euscan
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
-rw-r--r--sci-chemistry/reduce/ChangeLog10
-rw-r--r--sci-chemistry/reduce/Manifest15
-rw-r--r--sci-chemistry/reduce/files/3.14.080821-CFLAGS.patch22
-rw-r--r--sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild17
-rw-r--r--sci-chemistry/reduce/reduce-3.14.080821.ebuild51
5 files changed, 97 insertions, 18 deletions
diff --git a/sci-chemistry/reduce/ChangeLog b/sci-chemistry/reduce/ChangeLog
index c05552f39e1a..9c803c0ffd7d 100644
--- a/sci-chemistry/reduce/ChangeLog
+++ b/sci-chemistry/reduce/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/reduce
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v 1.18 2010/09/20 06:57:54 jlec Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v 1.19 2011/05/03 17:49:48 jlec Exp $
+
+*reduce-3.14.080821 (03 May 2011)
+
+ 03 May 2011; Justin Lecher <jlec@gentoo.org> +files/3.14.080821-CFLAGS.patch,
+ reduce-3.13.080428-r1.ebuild, +reduce-3.14.080821.ebuild:
+ Version Bump, notified by euscan
20 Sep 2010; Justin Lecher <jlec@gentoo.org>
-files/2.21.030604-gcc4.patch,
diff --git a/sci-chemistry/reduce/Manifest b/sci-chemistry/reduce/Manifest
index 63172cf1d6bb..46e5d24b4356 100644
--- a/sci-chemistry/reduce/Manifest
+++ b/sci-chemistry/reduce/Manifest
@@ -3,14 +3,17 @@ Hash: SHA1
AUX 3.13.080428-CFLAGS.patch 706 RMD160 05ea528b9341b76f2f86abb22fcefc429e65abd3 SHA1 50f86500611aa5f8654a03097d9c146b63258257 SHA256 ce2b82b16421d58bf5de67703f5e9b718f73176891408867460c560ece42cf63
AUX 3.13.080428-LDFLAGS.patch 302 RMD160 c53618b825157b1ff6bd46ac1900922a153ec622 SHA1 41cfa868a5aeca7636ff73035cf330372fdb5406 SHA256 b5299b5761bac75bb2f60392c764fefbbf397afeb32b3b08aca19889398ea291
+AUX 3.14.080821-CFLAGS.patch 736 RMD160 39ba7ff73dac6ceebf170077479bf5f1d3c92be5 SHA1 b24c5ab2edcb8e35a62fb24c8adf25e27d6ba986 SHA256 18c5e5e6a20f82b0bcfbc3875742fd3de6ac5ae34c4e2aa194aac5515323fc24
DIST reduce.3.13.080428.src.tgz 4387407 RMD160 b68637246dd579021cf605278690dfcb0d0074d5 SHA1 0b8142ffc4374fd7d259216fc86eb2ca94c5ea84 SHA256 6290dad33e395c5a40fe3634db86fb6035ea88ce19c3f25b80fb6378507ac066
-EBUILD reduce-3.13.080428-r1.ebuild 1414 RMD160 9ce256279c7d03068f32df7fcf0ac4523277f324 SHA1 f0921ec94190e07bcd64805837be2736e753dc1f SHA256 cf8a4ce96f17c8600dc7269541f6c217beecd5e08d05110988e9108ca460ed17
-MISC ChangeLog 2949 RMD160 5aef737a01c1e39ab93e86fd1d84580960a05646 SHA1 f4aa73673aca8f8b347dbd11145efa45d564616a SHA256 74c6823f1b069d536c711c18fc0966e55451982afb8a3df415cbad589093a9dc
+DIST reduce.3.14.080821.src.tgz 5199731 RMD160 5ffb105e0cb9bc6b2c0d6dc995e9ffdf7c3695e7 SHA1 294be6bcf69c72df8645e8ba4194aa790af4b739 SHA256 0c32f3e9f818b976e0996f088639a194cde63f227eff32c35e14526ec05c930a
+EBUILD reduce-3.13.080428-r1.ebuild 1386 RMD160 f0f1aebbdc03142583ea5909eca6bda6eb31cbdc SHA1 2529e6b2ebed2bce9af230387cfe0592e4b4f29d SHA256 f2a5a58212648cd65aa979b9883a3347aaa92fbac9f51c925f982005f3b79200
+EBUILD reduce-3.14.080821.ebuild 1251 RMD160 f270fbc254d3cb03cf6b8af9197711c802b13eb9 SHA1 ad62f35ca8e9e773661342f37d688fa976baedf8 SHA256 ade28e69caa1c2ca79db410dcaac7cd64ba6e426943f64c8ff6ab00e5cd1f1b3
+MISC ChangeLog 3160 RMD160 f4e625aede749b1adf4f5a1fb67a8084de336fd3 SHA1 6feb3b8a4d0142d36128722b55abdba3efe2fa5f SHA256 b59ba1516fd68bfee9f9243cf51396c97ac779f0b115d250c62e1a52c57bf098
MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAkyXBh4ACgkQgAnW8HDreRZK4ACeKoIeMjrhovahwcb0WIYtBTJR
-g8gAoIGQwpxDEh29OIGJr30f/aVQDllo
-=AeJu
+iEYEARECAAYFAk3AQEEACgkQgAnW8HDreRbpEwCfXEmGQaS1VhTYerrea8FW+LtO
+3nQAoK5kaPVdzOtD4v4wwg1jOBrZuIdC
+=U83p
-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/reduce/files/3.14.080821-CFLAGS.patch b/sci-chemistry/reduce/files/3.14.080821-CFLAGS.patch
new file mode 100644
index 000000000000..8294c8ca385d
--- /dev/null
+++ b/sci-chemistry/reduce/files/3.14.080821-CFLAGS.patch
@@ -0,0 +1,22 @@
+diff --git a/reduce_src/Makefile b/reduce_src/Makefile
+index 598e367..067ace4 100644
+--- a/reduce_src/Makefile
++++ b/reduce_src/Makefile
+@@ -12,7 +12,7 @@ PROG_FLGS = -DAROMATICS_ACCEPT_HBONDS \
+ # -DDEBUGMOVABLENODE -DDEBUGDOTCOUNTS
+ # -DMINPREDEFINED -DMAXPREDEFINED\
+
+-CFLAGS = $(OPT) $(DEBUG) $(PROG_FLGS) $(DICT_LOC) $(DICT_LOCOLD)\
++CXXFLAGS = $(OPT) $(DEBUG) $(PROG_FLGS) $(DICT_LOC) $(DICT_LOCOLD)\
+ -I$(PDBHOME) -I$(TOOLHOME)
+ # -Wall
+
+@@ -26,7 +26,7 @@ OBJLIST = GraphToHoldScores.o reduce.o CTab.o ElementInfo.o StdResH.o ResBlk.o A
+ CXX = g++
+
+ .cpp.o:
+- $(CXX) -c $*.cpp $(CFLAGS)
++ $(CXX) -c $*.cpp $(CXXFLAGS)
+
+ OPT = -O3
+ DEBUG = $(CXXDEBUGFLAGS)
diff --git a/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild b/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild
index 0f8296764a91..4fc72d6b4d36 100644
--- a/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild
+++ b/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $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 $
+# $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 $
-EAPI="3"
+EAPI=3
inherit eutils toolchain-funcs
@@ -24,8 +24,9 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
src_prepare() {
- epatch "${FILESDIR}"/${PV}-LDFLAGS.patch
- epatch "${FILESDIR}"/${PV}-CFLAGS.patch
+ epatch \
+ "${FILESDIR}"/${PV}-LDFLAGS.patch \
+ "${FILESDIR}"/${PV}-CFLAGS.patch
}
src_compile() {
@@ -47,11 +48,7 @@ src_install() {
dodoc README.usingReduce.txt || die
}
-pkg_info() {
+pkg_postinst() {
elog "To use the PDBv3 dictionary instead of PDBv2, set the environment"
elog "variable REDUCE_HET_DICT to ${EPREFIX}/usr/share/reduce/reduce_wwPDB_het_dict.txt"
}
-
-pkg_postinst() {
- pkg_info
-}
diff --git a/sci-chemistry/reduce/reduce-3.14.080821.ebuild b/sci-chemistry/reduce/reduce-3.14.080821.ebuild
new file mode 100644
index 000000000000..e482ed37b845
--- /dev/null
+++ b/sci-chemistry/reduce/reduce-3.14.080821.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/reduce-3.14.080821.ebuild,v 1.1 2011/05/03 17:49:48 jlec Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+MY_P="${PN}.${PV}.src"
+
+DESCRIPTION="Adds hydrogens to a Protein Data Bank (PDB) molecule structure file"
+HOMEPAGE="http://kinemage.biochem.duke.edu/software/reduce.php"
+SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/reduce31/${MY_P}.tgz"
+
+LICENSE="richardson"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/3.13.080428-LDFLAGS.patch \
+ "${FILESDIR}"/${PV}-CFLAGS.patch
+}
+
+src_compile() {
+ DICT_DIR="/usr/share/reduce"
+ DICT_FOLD="reduce_het_dict.txt"
+ DICT_FNEW="reduce_wwPDB_het_dict.txt"
+
+ emake clean
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ OPT="${CXXFLAGS}" \
+ DICT_HOME="${EPREFIX}/${DICT_DIR}/${DICT_FNEW}" \
+ DICT_OLD="${EPREFIX}/${DICT_DIR}/${DICT_FOLD}"
+}
+
+src_install() {
+ dobin "${S}"/reduce_src/reduce
+ insinto ${DICT_DIR}
+ doins "${S}"/${DICT_FOLD} "${S}"/${DICT_FNEW}
+ dodoc README.usingReduce.txt
+}