From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-chemistry/pymol-plugins-cealign: metadata.xml ChangeLog pymol-plugins-cealign-0.9.ebuild |
Date: | Thu, 18 Feb 2010 22:00:48 |
Message-Id: | E1NiEQP-0006Gm-Mw@stork.gentoo.org |
1 | jlec 10/02/18 22:00:45 |
2 | |
3 | Added: metadata.xml ChangeLog |
4 | pymol-plugins-cealign-0.9.ebuild |
5 | Log: |
6 | Moved in from sci overlay |
7 | (Portage version: 2.2_rc62/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-chemistry/pymol-plugins-cealign/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-cealign/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-cealign/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>sci</herd> |
21 | <maintainer> |
22 | <email>jlec@g.o</email> |
23 | </maintainer> |
24 | </pkgmetadata> |
25 | |
26 | |
27 | |
28 | 1.1 sci-chemistry/pymol-plugins-cealign/ChangeLog |
29 | |
30 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-cealign/ChangeLog?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-cealign/ChangeLog?rev=1.1&content-type=text/plain |
32 | |
33 | Index: ChangeLog |
34 | =================================================================== |
35 | # ChangeLog for sci-chemistry/pymol-plugins-cealign |
36 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-cealign/ChangeLog,v 1.1 2010/02/18 22:00:44 jlec Exp $ |
38 | |
39 | *pymol-plugins-cealign-0.9 (18 Feb 2010) |
40 | |
41 | 18 Feb 2010; Justin Lecher (jlec) <jlec@g.o> |
42 | +pymol-plugins-cealign-0.9.ebuild, +metadata.xml: |
43 | New addition, for further reading: |
44 | Shindyalov IN, Bourne PE. Protein structure alignment by incremental |
45 | combinatorial extension (CE) of the optimal path. Protein Eng. 1998 |
46 | Sep;11(9):739-47. PMID: 9796821 [PubMed - indexed for MEDLINE] |
47 | |
48 | |
49 | |
50 | |
51 | 1.1 sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild |
52 | |
53 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild?rev=1.1&view=markup |
54 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild?rev=1.1&content-type=text/plain |
55 | |
56 | Index: pymol-plugins-cealign-0.9.ebuild |
57 | =================================================================== |
58 | # Copyright 1999-2010 Gentoo Foundation |
59 | # Distributed under the terms of the GNU General Public License v2 |
60 | # $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 $ |
61 | |
62 | EAPI="3" |
63 | |
64 | SUPPORT_PYTHON_ABIS="1" |
65 | |
66 | inherit distutils |
67 | |
68 | DESCRIPTION="The CE algorithm is a fast and accurate protein structure alignment algorithm." |
69 | HOMEPAGE="http://www.pymolwiki.org/index.php/Cealign" |
70 | SRC_URI="http://www.pymolwiki.org/images/0/03/Cealign-${PV}.zip" |
71 | |
72 | SLOT="0" |
73 | LICENSE="BSD" |
74 | KEYWORDS="~x86 ~amd64 ~amd64-linux" |
75 | IUSE="" |
76 | |
77 | DEPEND=" |
78 | dev-python/numpy |
79 | ~sci-chemistry/pymol-1.2.2" |
80 | RDEPEND="" |
81 | RESTRICT_PYTHON_ABIS="2.4 3.*" |
82 | |
83 | S=${WORKDIR}/cealign-0.9 |
84 | |
85 | src_prepare() { |
86 | python_copy_sources |
87 | } |
88 | |
89 | src_install(){ |
90 | mtype=$(uname -m) |
91 | |
92 | distutils_src_install |
93 | |
94 | installation() { |
95 | insinto $(python_get_sitedir)/cealign |
96 | doins qkabsch.py cealign.py || die |
97 | } |
98 | python_execute_function -s installation |
99 | |
100 | cat >> "${T}"/pymolrc <<- EOF |
101 | run "${EPREFIX}/$(python_get_sitedir -f)/cealign/qkabsch.py" |
102 | run "${EPREFIX}/$(python_get_sitedir -f)/cealign/cealign.py" |
103 | EOF |
104 | |
105 | insinto ${PYMOL_PATH} |
106 | doins "${T}"/pymolrc || die |
107 | |
108 | dodoc CHANGES doc/cealign.pdf || die |
109 | } |