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/caver: ChangeLog caver-2.1.1.ebuild
Date: Mon, 17 Jan 2011 19:08:24
Message-Id: 20110117190812.DDA2F20054@flycatcher.gentoo.org
1 jlec 11/01/17 19:08:12
2
3 Modified: ChangeLog
4 Added: caver-2.1.1.ebuild
5 Log:
6 Version Bump
7
8 (Portage version: 2.2.0_alpha15/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.17 sci-chemistry/caver/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/caver/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/caver/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/caver/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/caver/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 15 Jun 2010 12:36:32 -0000 1.16
24 +++ ChangeLog 17 Jan 2011 19:08:12 -0000 1.17
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-chemistry/caver
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/caver/ChangeLog,v 1.16 2010/06/15 12:36:32 arfrever Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/caver/ChangeLog,v 1.17 2011/01/17 19:08:12 jlec Exp $
31 +
32 +*caver-2.1.1 (17 Jan 2011)
33 +
34 + 17 Jan 2011; Justin Lecher <jlec@g.o> +caver-2.1.1.ebuild:
35 + Version Bump
36
37 15 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
38 caver-0.99.4.ebuild:
39
40
41
42 1.1 sci-chemistry/caver/caver-2.1.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/caver/caver-2.1.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/caver/caver-2.1.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: caver-2.1.1.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/caver/caver-2.1.1.ebuild,v 1.1 2011/01/17 19:08:12 jlec Exp $
52
53 EAPI="3"
54
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="2.4 3.*"
57
58 inherit multilib python eutils versionator java-utils-2
59
60 MY_PV="$(replace_version_separator 2 -v $(replace_version_separator 1 _ ${PV}))"
61 MY_P="Caver2_1_1_pymol_plugin"
62
63 DESCRIPTION="Calculation of pathways from buried cavities to outside solvent in protein structures"
64 HOMEPAGE="http://loschmidt.chemi.muni.cz/caver/"
65 SRC_URI="${MY_P}.zip"
66
67 LICENSE="CAVER"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
70 IUSE=""
71
72 RDEPEND="
73 >=virtual/jre-1.6
74 sci-chemistry/pymol"
75 DEPEND="app-arch/unzip"
76
77 RESTRICT="fetch"
78
79 S="${WORKDIR}/${MY_P}"/linux_mac
80
81 pkg_nofetch() {
82 elog "Download ${MY_P}.tar.gz"
83 elog "from ${HOMEPAGE}. This requires registration."
84 elog "Place tarballs in ${DISTDIR}."
85 }
86
87 src_prepare() {
88 python_copy_sources
89 }
90
91 src_install() {
92 java-pkg_dojar Caver$(replace_all_version_separators _ ${PV})/*.jar
93
94 java-pkg_jarinto /usr/share/${PN}/lib/lib/
95 java-pkg_dojar Caver$(replace_all_version_separators _ ${PV})/lib/*.jar
96
97 installation() {
98 sed \
99 -e "s:directory/where/jar/with/plugin/is/located:${EPREFIX}/usr/share/${PN}/lib/:g" \
100 -i Caver$(replace_all_version_separators _ ${PV}).py || die
101
102 insinto $(python_get_sitedir)/pmg_tk/startup/
103 doins Caver$(replace_all_version_separators _ ${PV}).py || die
104 }
105 python_execute_function -s installation
106 }
107
108 pkg_postinst() {
109 python_mod_optimize pmg_tk/startup/Caver$(replace_all_version_separators _ ${PV}).py
110 }
111
112 pkg_postrm() {
113 python_mod_cleanup pmg_tk/startup/Caver$(replace_all_version_separators _ ${PV}).py
114 }