From e4715f52186f044a5cb930024928ec363ca07284 Mon Sep 17 00:00:00 2001 From: Donnie Berkholz Date: Fri, 16 Jun 2006 22:16:17 +0000 Subject: [PATCH] Add rarely-changing data for sci-chemistry/coot, so we don't reinstall it on every Coot upgrade. Package-Manager: portage-2.1.1_pre1 --- sci-libs/coot-data/ChangeLog | 11 +++++++ sci-libs/coot-data/Manifest | 17 +++++++++++ sci-libs/coot-data/coot-data-1.ebuild | 32 +++++++++++++++++++++ sci-libs/coot-data/files/digest-coot-data-1 | 6 ++++ sci-libs/coot-data/metadata.xml | 9 ++++++ 5 files changed, 75 insertions(+) create mode 100644 sci-libs/coot-data/ChangeLog create mode 100644 sci-libs/coot-data/Manifest create mode 100644 sci-libs/coot-data/coot-data-1.ebuild create mode 100644 sci-libs/coot-data/files/digest-coot-data-1 create mode 100644 sci-libs/coot-data/metadata.xml diff --git a/sci-libs/coot-data/ChangeLog b/sci-libs/coot-data/ChangeLog new file mode 100644 index 000000000000..079b764c28e2 --- /dev/null +++ b/sci-libs/coot-data/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-libs/coot-data +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/coot-data/ChangeLog,v 1.1 2006/06/16 22:16:17 spyderous Exp $ + +*coot-data-1 (16 Jun 2006) + + 16 Jun 2006; Donnie Berkholz ; +metadata.xml, + +coot-data-1.ebuild: + Add rarely-changing data for sci-chemistry/coot, so we don't reinstall it on + every Coot upgrade. + diff --git a/sci-libs/coot-data/Manifest b/sci-libs/coot-data/Manifest new file mode 100644 index 000000000000..52bed12ca1b2 --- /dev/null +++ b/sci-libs/coot-data/Manifest @@ -0,0 +1,17 @@ +DIST reference-structures.tar.gz 6945369 RMD160 0dd9b2057cf5d6b0d060d704231aa7c5518f0b3b SHA1 796842664877ae1d71b7c64bfb0219b839325cf7 SHA256 ba0a21e1f7f9065c7dd691e784d6508edc9ffae8b31923e5def5f1cbb7108b06 +DIST refmac-lib-data-monomers.tar.gz 2163068 RMD160 1443977959247c28cf1e7ad6683d0e72228f4cce SHA1 738188574335734a17062a5cb45db0e6610df2ca SHA256 e4c9f89fd3bc1d3ab74c8270ed187875524800e0b72fb8131e298baa2b555a58 +EBUILD coot-data-1.ebuild 1092 RMD160 21d254511feeb1fff510200248f0c7d06afe5cce SHA1 5e2411f4710a5d39509b88b71b63a991b1e0b185 SHA256 182d60a9e14cfb2f9c3c22b0e72d7dc13b48f60fed344d0d01bb65bbed56ef8d +MD5 19482981a03e21d143ec280d63429d09 coot-data-1.ebuild 1092 +RMD160 21d254511feeb1fff510200248f0c7d06afe5cce coot-data-1.ebuild 1092 +SHA256 182d60a9e14cfb2f9c3c22b0e72d7dc13b48f60fed344d0d01bb65bbed56ef8d coot-data-1.ebuild 1092 +MISC ChangeLog 435 RMD160 ec9bc8ce7bb0f7c7520dac6b262fff908ed542f8 SHA1 9854cbfeddd0f44331cb7b6e2b120136349c64ac SHA256 cf511eb5fe7b65b8749678c5c721c59f69f4ef0dfe04d2ff398fa0c8053ec719 +MD5 dbc9e014c4754dd7a29ad1a3b558cb1b ChangeLog 435 +RMD160 ec9bc8ce7bb0f7c7520dac6b262fff908ed542f8 ChangeLog 435 +SHA256 cf511eb5fe7b65b8749678c5c721c59f69f4ef0dfe04d2ff398fa0c8053ec719 ChangeLog 435 +MISC metadata.xml 248 RMD160 6488d9f1ef3e05e6ac5a29ddcc818e5ead0a5230 SHA1 75a648fddef9922cdfe21fb0298a1c746190fd82 SHA256 de0ad7dc383b462c407cae015684d27c090455eac87c6f0f9ff581ef6e0b5b27 +MD5 af1bfbb0777267a03e889b08173f2757 metadata.xml 248 +RMD160 6488d9f1ef3e05e6ac5a29ddcc818e5ead0a5230 metadata.xml 248 +SHA256 de0ad7dc383b462c407cae015684d27c090455eac87c6f0f9ff581ef6e0b5b27 metadata.xml 248 +MD5 188c77fe44ab0b34ecd5bc1830956e23 files/digest-coot-data-1 542 +RMD160 92460717f4b5d3035c9b0db82003fcd3be4b32b5 files/digest-coot-data-1 542 +SHA256 1bd60dd145b48e5c8a5a391402ec79679f24b499d8d4ce864f7c8499cfeb7828 files/digest-coot-data-1 542 diff --git a/sci-libs/coot-data/coot-data-1.ebuild b/sci-libs/coot-data/coot-data-1.ebuild new file mode 100644 index 000000000000..dc4f0e34ba4c --- /dev/null +++ b/sci-libs/coot-data/coot-data-1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/coot-data/coot-data-1.ebuild,v 1.1 2006/06/16 22:16:17 spyderous Exp $ + +DESCRIPTION="Data for the Crystallographic Object-Oriented Toolkit" +HOMEPAGE="http://www.ysbl.york.ac.uk/~emsley/coot/" +SRC_URI="http://www.ysbl.york.ac.uk/~emsley/software/extras/reference-structures.tar.gz + http://www.ysbl.york.ac.uk/~emsley/software/extras/refmac-lib-data-monomers.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" +RDEPEND="" +DEPEND="${RDEPEND}" + +src_install() { + dodir /usr/share/coot + ebegin "Copying reference structures to ${D}/usr/share/coot/" + cp -R ${WORKDIR}/reference-structures ${D}/usr/share/coot/ + eend + ebegin "Copying monomer library to ${D}/usr/share/coot/" + cp -R ${WORKDIR}/lib ${D}/usr/share/coot/ + eend + + # Coot looks in the wrong spot for the monomer library + # Listens to ccp4's CCP4_LIB rather than CLIBD_MON + cat << EOF >> ${T}/coot +COOT_REFMAC_LIB_DIR="${ROOT}usr/share/coot/lib" +EOF + + newenvd ${T}/coot 20coot +} diff --git a/sci-libs/coot-data/files/digest-coot-data-1 b/sci-libs/coot-data/files/digest-coot-data-1 new file mode 100644 index 000000000000..491e63a143dd --- /dev/null +++ b/sci-libs/coot-data/files/digest-coot-data-1 @@ -0,0 +1,6 @@ +MD5 c09bb6b5524901cb0fde14589546224e reference-structures.tar.gz 6945369 +RMD160 0dd9b2057cf5d6b0d060d704231aa7c5518f0b3b reference-structures.tar.gz 6945369 +SHA256 ba0a21e1f7f9065c7dd691e784d6508edc9ffae8b31923e5def5f1cbb7108b06 reference-structures.tar.gz 6945369 +MD5 88cdbabf47914740f2d13e6960eea3c6 refmac-lib-data-monomers.tar.gz 2163068 +RMD160 1443977959247c28cf1e7ad6683d0e72228f4cce refmac-lib-data-monomers.tar.gz 2163068 +SHA256 e4c9f89fd3bc1d3ab74c8270ed187875524800e0b72fb8131e298baa2b555a58 refmac-lib-data-monomers.tar.gz 2163068 diff --git a/sci-libs/coot-data/metadata.xml b/sci-libs/coot-data/metadata.xml new file mode 100644 index 000000000000..211b8bd0f0a4 --- /dev/null +++ b/sci-libs/coot-data/metadata.xml @@ -0,0 +1,9 @@ + + + +sci + +spyderous@gentoo.org +Donnie Berkholz + + -- 2.26.2