Moved in from sci overlay
authorJustin Lecher <jlec@gentoo.org>
Thu, 18 Feb 2010 22:00:44 +0000 (22:00 +0000)
committerJustin Lecher <jlec@gentoo.org>
Thu, 18 Feb 2010 22:00:44 +0000 (22:00 +0000)
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64

sci-chemistry/pymol-plugins-cealign/ChangeLog [new file with mode: 0644]
sci-chemistry/pymol-plugins-cealign/Manifest [new file with mode: 0644]
sci-chemistry/pymol-plugins-cealign/metadata.xml [new file with mode: 0644]
sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild [new file with mode: 0644]

diff --git a/sci-chemistry/pymol-plugins-cealign/ChangeLog b/sci-chemistry/pymol-plugins-cealign/ChangeLog
new file mode 100644 (file)
index 0000000..6ca4ace
--- /dev/null
@@ -0,0 +1,13 @@
+# ChangeLog for sci-chemistry/pymol-plugins-cealign
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-cealign/ChangeLog,v 1.1 2010/02/18 22:00:44 jlec Exp $
+
+*pymol-plugins-cealign-0.9 (18 Feb 2010)
+
+  18 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+  +pymol-plugins-cealign-0.9.ebuild, +metadata.xml:
+  New addition, for further reading:
+  Shindyalov IN, Bourne PE. Protein structure alignment by incremental
+  combinatorial extension (CE) of the optimal path. Protein Eng. 1998
+  Sep;11(9):739-47. PMID: 9796821 [PubMed - indexed for MEDLINE]
+
diff --git a/sci-chemistry/pymol-plugins-cealign/Manifest b/sci-chemistry/pymol-plugins-cealign/Manifest
new file mode 100644 (file)
index 0000000..9783ca6
--- /dev/null
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST Cealign-0.9.zip 766905 RMD160 fe7ee7fdcf8a7ca908c69e7de642318b3ec34867 SHA1 c57f8c1b46c192f276b1011f70c032cb7d2d5fb6 SHA256 87eee30c7757daae4baa3451246d813165f2317600da8d7bcde680ba0e822176
+EBUILD pymol-plugins-cealign-0.9.ebuild 1202 RMD160 b2665c5553ecd3783aa67858a494c58d1105f31b SHA1 f3c6323617ebf0f3c81302fbf3493bd2d4d473ee SHA256 0da085b14de97781eed17803561c7a7c77cbb78ec10b66df4f1f94a6737e19f0
+MISC ChangeLog 633 RMD160 7abb7503a64b04d121617ea09721f259fb737220 SHA1 4578af18e85f5c0e49ac2442e20cdcb50f4cb0d3 SHA256 5c358eba15b640e8d8a10b054ea18173430466281204b6131f116ee35de4d001
+MISC metadata.xml 216 RMD160 04a6fc4e2160b439296b52aa97d5b7d83af75508 SHA1 9561c9e6eada6aac9b503407917900529ce703e9 SHA256 24f5c205c2655ef27138c8aa087701626f5b4c666229c9ef7fe814e63ea2e776
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkt9uJIACgkQgAnW8HDreRbYHQCePNb9BbzxWqSsN/YII95eP9eo
+j1EAn1oPoQ3c2qeI4QGf1V+yyfd9RNF7
+=kB9l
+-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/pymol-plugins-cealign/metadata.xml b/sci-chemistry/pymol-plugins-cealign/metadata.xml
new file mode 100644 (file)
index 0000000..c6856dc
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+  <email>jlec@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild b/sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild
new file mode 100644 (file)
index 0000000..9dbdcca
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild,v 1.1 2010/02/18 22:00:44 jlec Exp $
+
+EAPI="3"
+
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="The CE algorithm is a fast and accurate protein structure alignment algorithm."
+HOMEPAGE="http://www.pymolwiki.org/index.php/Cealign"
+SRC_URI="http://www.pymolwiki.org/images/0/03/Cealign-${PV}.zip"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~x86 ~amd64 ~amd64-linux"
+IUSE=""
+
+DEPEND="
+       dev-python/numpy
+       ~sci-chemistry/pymol-1.2.2"
+RDEPEND=""
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+S=${WORKDIR}/cealign-0.9
+
+src_prepare() {
+       python_copy_sources
+}
+
+src_install(){
+       mtype=$(uname -m)
+
+       distutils_src_install
+
+       installation() {
+               insinto $(python_get_sitedir)/cealign
+               doins qkabsch.py cealign.py || die
+       }
+       python_execute_function -s installation
+
+       cat >> "${T}"/pymolrc <<- EOF
+       run "${EPREFIX}/$(python_get_sitedir -f)/cealign/qkabsch.py"
+       run "${EPREFIX}/$(python_get_sitedir -f)/cealign/cealign.py"
+       EOF
+
+       insinto ${PYMOL_PATH}
+       doins "${T}"/pymolrc || die
+
+       dodoc CHANGES doc/cealign.pdf || die
+}