From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-chemistry/pymol-plugins-emovie: metadata.xml ChangeLog pymol-plugins-emovie-1.0.4.ebuild |
Date: | Thu, 25 Feb 2010 16:24:23 |
Message-Id: | E1NkgVg-0000ly-VF@stork.gentoo.org |
1 | jlec 10/02/25 16:24:20 |
2 | |
3 | Added: metadata.xml ChangeLog |
4 | pymol-plugins-emovie-1.0.4.ebuild |
5 | Log: |
6 | New plugin for pymol |
7 | (Portage version: 2.2_rc63/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-chemistry/pymol-plugins-emovie/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <pkgmetadata> |
19 | <herd>sci-chemistry</herd> |
20 | <maintainer> |
21 | <email>jlec@g.o</email> |
22 | </maintainer> |
23 | </pkgmetadata> |
24 | |
25 | |
26 | |
27 | 1.1 sci-chemistry/pymol-plugins-emovie/ChangeLog |
28 | |
29 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/ChangeLog?rev=1.1&view=markup |
30 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/ChangeLog?rev=1.1&content-type=text/plain |
31 | |
32 | Index: ChangeLog |
33 | =================================================================== |
34 | # ChangeLog for sci-chemistry/pymol-plugins-emovie |
35 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
36 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-emovie/ChangeLog,v 1.1 2010/02/25 16:24:20 jlec Exp $ |
37 | |
38 | *pymol-plugins-emovie-1.0.4 (25 Feb 2010) |
39 | |
40 | 25 Feb 2010; Justin Lecher (jlec) <jlec@×××××××××.net> |
41 | +files/1.0.4-indent.patch, +pymol-plugins-emovie-1.0.4.ebuild, |
42 | +metadata.xml: |
43 | eMovie is a free tool that makes the creation of molecular movies both |
44 | easy and intuitive via a breakthrough storyboard interface, similar in |
45 | nature to what is used in the creation of traditional movies. eMovie is a |
46 | plug-in for PyMOL, a powerful, open source, and multi-platform molecular |
47 | graphics program. |
48 | |
49 | |
50 | |
51 | |
52 | 1.1 sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild |
53 | |
54 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild?rev=1.1&view=markup |
55 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild?rev=1.1&content-type=text/plain |
56 | |
57 | Index: pymol-plugins-emovie-1.0.4.ebuild |
58 | =================================================================== |
59 | # Copyright 1999-2010 Gentoo Foundation |
60 | # Distributed under the terms of the GNU General Public License v2 |
61 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild,v 1.1 2010/02/25 16:24:20 jlec Exp $ |
62 | |
63 | EAPI="3" |
64 | |
65 | SUPPORT_PYTHON_ABIS="1" |
66 | |
67 | inherit eutils python |
68 | |
69 | DESCRIPTION="eMovie is a plug-in tool for the molecular visualization program PyMOL" |
70 | SRC_URI="http://www.weizmann.ac.il/ISPC/eMovie_package.zip" |
71 | HOMEPAGE="http://www.weizmann.ac.il/ISPC/eMovie.html" |
72 | |
73 | SLOT="0" |
74 | LICENSE="GPL-2" |
75 | KEYWORDS="~x86 ~amd64 ~x86-linux ~amd64-linux" |
76 | IUSE="" |
77 | |
78 | RDEPEND=">sci-chemistry/pymol-0.99" |
79 | DEPEND="app-arch/unzip" |
80 | #RESTRICT_PYTHON_ABIS="3.*" |
81 | |
82 | src_prepare() { |
83 | epatch "${FILESDIR}"/${PV}-indent.patch |
84 | |
85 | mkdir ${P} |
86 | mv e* ${P}/ |
87 | |
88 | python_copy_sources --no-link |
89 | |
90 | conversion() { |
91 | [[ "${PYTHON_ABI}" == 2.* ]] && return |
92 | |
93 | 2to3-${PYTHON_ABI} -w eMovie.py > /dev/null |
94 | } |
95 | python_execute_function --action-message 'Applying patches for Python ${PYTHON_ABI}' --failure-message 'Applying patches for Python ${PYTHON_ABI} failed' -s conversion |
96 | } |
97 | |
98 | src_install(){ |
99 | installation() { |
100 | insinto $(python_get_sitedir)/pmg_tk/startup/ |
101 | doins eMovie.py || die |
102 | } |
103 | python_execute_function -s installation |
104 | } |
105 | |
106 | pkg_postinst(){ |
107 | python_mod_optimize pmg_tk/startup |
108 | } |
109 | |
110 | pkg_postrm() { |
111 | python_mod_cleanup pmg_tk/startup |
112 | } |