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