Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/pymol-plugins-dssp: ChangeLog pymol-plugins-dssp-110430.ebuild
Date: Sun, 01 May 2011 09:45:49
Message-Id: 20110501094537.E7F4D20054@flycatcher.gentoo.org
1 jlec 11/05/01 09:45:37
2
3 Modified: ChangeLog
4 Added: pymol-plugins-dssp-110430.ebuild
5 Log:
6 Version Bump
7
8 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 sci-chemistry/pymol-plugins-dssp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-plugins-dssp/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-plugins-dssp/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-plugins-dssp/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-dssp/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- ChangeLog 17 Apr 2011 13:53:29 -0000 1.2
24 +++ ChangeLog 1 May 2011 09:45:37 -0000 1.3
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-chemistry/pymol-plugins-dssp
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-dssp/ChangeLog,v 1.2 2011/04/17 13:53:29 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-dssp/ChangeLog,v 1.3 2011/05/01 09:45:37 jlec Exp $
30 +
31 +*pymol-plugins-dssp-110430 (01 May 2011)
32 +
33 + 01 May 2011; Justin Lecher <jlec@g.o>
34 + +pymol-plugins-dssp-110430.ebuild:
35 + Version Bump
36
37 *pymol-plugins-dssp-110413 (17 Apr 2011)
38
39
40
41
42 1.1 sci-chemistry/pymol-plugins-dssp/pymol-plugins-dssp-110430.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-plugins-dssp/pymol-plugins-dssp-110430.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-plugins-dssp/pymol-plugins-dssp-110430.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pymol-plugins-dssp-110430.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-dssp/pymol-plugins-dssp-110430.ebuild,v 1.1 2011/05/01 09:45:37 jlec Exp $
52
53 EAPI="3"
54
55 PYTHON_DEPEND="2"
56 SUPPORT_PYTHON_ABIS="1"
57 RESTRICT_PYTHON_ABIS="3.* *-jython"
58
59 inherit python
60
61 DESCRIPTION="DSSP Plugin for PyMOL"
62 HOMEPAGE="http://www.biotec.tu-dresden.de/~hongboz/dssp_pymol/dssp_pymol.html"
63 SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.py.xz"
64
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
67 LICENSE="BSD pymol"
68 IUSE=""
69
70 RDEPEND="
71 sci-chemistry/dssp
72 sci-biology/stride
73 sci-chemistry/pymol"
74 DEPEND=""
75
76 src_prepare() {
77 sed \
78 -e "s:GENTOO_DSSP:${EPREFIX}/usr/bin/dssp:g" \
79 -e "s:GENTOO_STRIDE:${EPREFIX}/usr/bin/stride:g" \
80 -i ${P}.py || die
81 }
82
83 src_install() {
84 installation() {
85 insinto $(python_get_sitedir)/pmg_tk/startup
86 doins ${P}.py
87 }
88 python_execute_function installation
89 }
90
91 pkg_postinst() {
92 python_mod_optimize pmg_tk/startup/${P}.py
93 }
94
95 pkg_postrm() {
96 python_mod_cleanup pmg_tk/startup/${P}.py
97 }