blob: 15a15ba2f8682bbc9a1b6fdd09f2ec17ff5642f3 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-dssp/pymol-plugins-dssp-110430-r1.ebuild,v 1.1 2013/12/02 11:14:18 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit python-r1
DESCRIPTION="DSSP Plugin for PyMOL"
HOMEPAGE="http://www.biotec.tu-dresden.de/~hongboz/dssp_pymol/dssp_pymol.html"
SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.py.xz"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD pymol"
IUSE=""
RDEPEND="
sci-chemistry/dssp
sci-biology/stride
sci-chemistry/pymol[${PYTHON_USEDEP}]"
DEPEND=""
S="${WORKDIR}"
src_prepare() {
sed \
-e "s:GENTOO_DSSP:${EPREFIX}/usr/bin/dssp:g" \
-e "s:GENTOO_STRIDE:${EPREFIX}/usr/bin/stride:g" \
-i ${P}.py || die
}
src_install() {
python_moduleinto pmg_tk/startup
python_parallel_foreach_impl python_domodule ${P}.py
python_parallel_foreach_impl python_optimize
}
|