blob: 80167cd1b9c866f853022f68695ae60b48b91174 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# 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.5 2010/02/22 07:43:31 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.3"
RDEPEND=""
RESTRICT_PYTHON_ABIS="2.4 3.*"
S=${WORKDIR}/cealign-0.9
src_prepare() {
python_copy_sources
}
src_install(){
distutils_src_install
installation() {
insinto $(python_get_sitedir)/cealign
doins qkabsch.py cealign.py || die
cat > "${T}"/pymolrc <<- EOF
run ${EPREFIX}/$(python_get_sitedir)/cealign/qkabsch.py
run ${EPREFIX}/$(python_get_sitedir)/cealign/cealign.py
EOF
insinto $(python_get_sitedir)/pymol
doins "${T}"/pymolrc || die
}
python_execute_function -s installation
dodoc CHANGES doc/cealign.pdf || die
}
|