summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-02-26 11:30:08 +0000
committerJustin Lecher <jlec@gentoo.org>2011-02-26 11:30:08 +0000
commit28f2b04eac7e83ca1ccfa738c5807ebb87ec13ea (patch)
tree55b86f3cac427359227fecf40ee088a030d83061 /sci-chemistry/refmac
parentamd64 stable wrt #355077 (diff)
downloadhistorical-28f2b04eac7e83ca1ccfa738c5807ebb87ec13ea.tar.gz
historical-28f2b04eac7e83ca1ccfa738c5807ebb87ec13ea.tar.bz2
historical-28f2b04eac7e83ca1ccfa738c5807ebb87ec13ea.zip
Version Bump
Package-Manager: portage-2.2.0_alpha25/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/refmac')
-rw-r--r--sci-chemistry/refmac/ChangeLog7
-rw-r--r--sci-chemistry/refmac/Manifest10
-rw-r--r--sci-chemistry/refmac/refmac-5.6.0110.ebuild75
3 files changed, 87 insertions, 5 deletions
diff --git a/sci-chemistry/refmac/ChangeLog b/sci-chemistry/refmac/ChangeLog
index b3b528407a98..892f4241ba48 100644
--- a/sci-chemistry/refmac/ChangeLog
+++ b/sci-chemistry/refmac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/refmac
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/ChangeLog,v 1.42 2011/01/31 21:14:39 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/ChangeLog,v 1.43 2011/02/26 11:30:08 jlec Exp $
+
+*refmac-5.6.0110 (26 Feb 2011)
+
+ 26 Feb 2011; Justin Lecher <jlec@gentoo.org> +refmac-5.6.0110.ebuild:
+ Version Bump
*refmac-5.6.0102-r1 (31 Jan 2011)
*refmac-5.5.0110-r3 (31 Jan 2011)
diff --git a/sci-chemistry/refmac/Manifest b/sci-chemistry/refmac/Manifest
index 499b4efc56e8..e3e1bb6f3d51 100644
--- a/sci-chemistry/refmac/Manifest
+++ b/sci-chemistry/refmac/Manifest
@@ -24,6 +24,7 @@ DIST refmac5.6_source_v5.6.0097.tar.gz 1385352 RMD160 794ec5b52fd3e59743a9a5f6e4
DIST refmac5.6_source_v5.6.0098.tar.gz 1385701 RMD160 b0348e9b8c0e5a3318d8d5fb589c9d62a41ae080 SHA1 c1484972ad783b56c948c50b49a351cce87241d6 SHA256 dc38426128109148f1c2b066e5162487d94e5cc0dddc4a14ac244cd36d7fc007
DIST refmac5.6_source_v5.6.0099.tar.gz 1386351 RMD160 7ddc195259e47462f749a9ca06dae69eb159dbf7 SHA1 8460e6d30fdfeda4056559c0b93bc8562bdf5f94 SHA256 d91da122372b2c0895f4c344bded6e4433d2948ed4320e40bf46783b1940a77e
DIST refmac5.6_source_v5.6.0102.tar.gz 1387462 RMD160 827f41b30609c4ade0b11ebef6cb3f2bf435ed72 SHA1 7259a6686af1e71dc7f5290116a0b9ae74219982 SHA256 a74d2173d15b65ec24dd745f852299bf38e150569a97e199f0cef31b990f01d3
+DIST refmac5.6_source_v5.6.0110.tar.gz 1395208 RMD160 7d29ac54bc2178f0e47e0164f49a8d1567fa44f6 SHA1 6a7abe0190e8f6c74241934f98655b16678cad38 SHA256 5e16f95f374a8df2698644bc334b58474dacc418728542f00ce59d3fa47fbc34
DIST refmac_5.5.0110.tar.gz 1326832 RMD160 6613ca8b70e54e7827f8ff02b7d497560cb83e39 SHA1 ba2e38db6c88550bd901b474de881d6514b4d74e SHA256 1353fb1042586ec8fa37d0a90f274890d0ccc02377af5216200662338dfe08ca
DIST test-framework.tar.gz 130933173 RMD160 7122539dc713615dca2ddaddfd8d152cd22624d0 SHA1 1d3e3019a67afb9b2346e919c859d402d3250fea SHA256 df050a2a29da80518cb0616a0bbeb82298ea0721549348d15353bf0f66240605
EBUILD refmac-5.5.0110-r2.ebuild 1882 RMD160 9090de535e3475370dd0581e80213e6e5d3169a6 SHA1 74866adf28c2695450bae403d5f38d87a07bb3a2 SHA256 a44037a5aebffd3b33067e7e764f02f7e97e4fe674f063b9eae7bae2e7722187
@@ -33,12 +34,13 @@ EBUILD refmac-5.6.0098.ebuild 1868 RMD160 f9fb038fcd1dc01ae5681dbd3aad03004592a3
EBUILD refmac-5.6.0099.ebuild 1874 RMD160 a7341a8e09c29034d1379ca92a2ee850ad163225 SHA1 500118dd748f30ba71f85bd78878319605375b57 SHA256 271b1a3513eac2d99dc6af897ac201c04bbb3539e4dd58bb42f1b1c12eab643c
EBUILD refmac-5.6.0102-r1.ebuild 1927 RMD160 381073c03926e0d50ee0e475c25ecd8342e67b53 SHA1 8a653fad867cf24a8d308de59aa92bf3de4fc772 SHA256 45c85c984eef6196101b4f9e92eff8fedacead89ec49a2abf379b53d1c6797dd
EBUILD refmac-5.6.0102.ebuild 1868 RMD160 480e226aa98f582ce692bab41d927cbfde830670 SHA1 8ae6e7946f62e0831111c84264953337dcaef75e SHA256 22e97a1e18982dc65118833101dedbcad9f1d5382d14cb9d94c12f96b8181b15
-MISC ChangeLog 7499 RMD160 e6ecfc0a1125df24d5bc03ca65f91dc61d3a6e46 SHA1 14c281669e4fc9308517c207feff5bdbc1cd8f91 SHA256 da8017c9c7e9b261890bbc3b9338d8dad268495bea269d812e75bb40838a9277
+EBUILD refmac-5.6.0110.ebuild 1985 RMD160 c56b7eaca40526b06d6463bbdae75a3de0780ded SHA1 3897e2a032123f88cb5c97f99b825db689441c9c SHA256 d2b34b87477821e9cb6c179892856a64aea3e8b739a5ab28c5f8726be1898557
+MISC ChangeLog 7614 RMD160 8e6b05ece465662cb13befdd8945b3ce18bbe50a SHA1 49b3874ed58c4a63f483919bb6cf781d481b7184 SHA256 57629616be2ee12da208ad105f975a850b9df5663de42addeb36ffe572c8f373
MISC metadata.xml 311 RMD160 df83b13d491a71b729455b664088d89ddbde1c8c SHA1 fffd2a5645181aa12ac9b6f74da9a011cdcf1b97 SHA256 782521c7e16d7eec82d7b7e7c43102806e7f72bc7366401808b1e1ac6e26045a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk1HJnAACgkQXVaO67S1rttDOQCffNFx7eho1yZhXCIMTR7LiJuS
-6lwAnigDdKv56whzSKXft5rB4duXDazA
-=KJaH
+iEYEARECAAYFAk1o5EYACgkQgAnW8HDreRZBFwCgnY4SvL1dIVvpBsKjnGmcAGk3
+RccAoI5SW90y2Q0e0O6eyRZ22m9RG2zM
+=sFd8
-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/refmac/refmac-5.6.0110.ebuild b/sci-chemistry/refmac/refmac-5.6.0110.ebuild
new file mode 100644
index 000000000000..0222f07faf31
--- /dev/null
+++ b/sci-chemistry/refmac/refmac-5.6.0110.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/refmac-5.6.0110.ebuild,v 1.1 2011/02/26 11:30:08 jlec Exp $
+
+EAPI="2"
+
+inherit base toolchain-funcs versionator
+
+MY_PV="$(get_version_component_range 1-2)_source_v${PV}"
+
+DESCRIPTION="Macromolecular crystallographic refinement program"
+HOMEPAGE="http://www.ysbl.york.ac.uk/~garib/refmac"
+SRC_URI="
+ ${HOMEPAGE}/data/refmac_experimental/${PN}${MY_PV}.tar.gz
+ test? ( http://dev.gentooexperimental.org/~jlec/distfiles/test-framework.tar.gz )"
+
+SLOT="0"
+LICENSE="ccp4"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="
+ >=sci-libs/ccp4-libs-6.1.3-r7
+ sci-libs/mmdb
+ >sci-libs/monomer-db-1
+ virtual/blas
+ virtual/lapack"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+
+PATCHES=(
+# "${FILESDIR}"/${PV}-allow-dynamic-linking.patch
+ "${FILESDIR}"/5.6.0102-allow-dynamic-linking.patch
+ )
+
+src_prepare() {
+ base_src_prepare
+ use test && epatch "${FILESDIR}"/5.5-test.log.patch
+}
+
+src_compile() {
+ emake \
+ FC=$(tc-getFC) \
+ CC=$(tc-getCC) \
+ CXX=$(tc-getCXX) \
+ COPTIM="${CFLAGS}" \
+ FOPTIM="${FFLAGS:- -O2}" \
+ VERSION="" \
+ XFFLAGS="-fno-second-underscore -fwhole-file" \
+ LLIBCCP="-lccp4f -lccp4c -lccif -lmmdb -lstdc++" \
+ LLIBLAPACK="$(pkg-config --libs lapack blas)" \
+ || die
+}
+
+src_test() {
+ einfo "Starting tests ..."
+ source "${EPREFIX}/etc/profile.d/40ccp4.setup.sh"
+ export PATH="${WORKDIR}/test-framework/scripts:${S}:${PATH}"
+ export CCP4_TEST="${WORKDIR}"/test-framework
+ export CCP4_SCR="${T}"
+ ln -sf refmac "${S}"/refmac5
+ sed '/^ANISOU/d' -i ${CCP4_TEST}/data/pdb/1vr7.pdb
+ ccp4-run-thorough-tests -v test_refmac5 || die
+}
+
+src_install() {
+ for i in refmac libcheck FreeTwin header2matr; do
+ exeinto /usr/libexec/ccp4/bin/
+ doexe ${i} || die
+ dosym ../libexec/ccp4/bin/${i} /usr/bin/${i}
+ done
+ dosym refmac /usr/bin/refmac5 || die
+ dosym refmac /usr/libexec/ccp4/bin/refmac5 || die
+}