From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-chemistry/pymol-apbs-plugin: metadata.xml pymol-apbs-plugin-0_p11.ebuild ChangeLog |
Date: | Mon, 01 Feb 2010 21:40:07 |
Message-Id: | E1Nc405-00087V-1W@stork.gentoo.org |
1 | jlec 10/02/01 21:40:05 |
2 | |
3 | Added: metadata.xml pymol-apbs-plugin-0_p11.ebuild |
4 | ChangeLog |
5 | Log: |
6 | Seperated ebuild for pymol apbs plugin |
7 | (Portage version: 2.2_rc62/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-chemistry/pymol-apbs-plugin/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-apbs-plugin/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-apbs-plugin/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>sci</herd> |
21 | <maintainer> |
22 | <email>jlec@g.o</email> |
23 | </maintainer> |
24 | </pkgmetadata> |
25 | |
26 | |
27 | |
28 | 1.1 sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-0_p11.ebuild |
29 | |
30 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-0_p11.ebuild?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-0_p11.ebuild?rev=1.1&content-type=text/plain |
32 | |
33 | Index: pymol-apbs-plugin-0_p11.ebuild |
34 | =================================================================== |
35 | # Copyright 1999-2010 Gentoo Foundation |
36 | # Distributed under the terms of the GNU General Public License v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-0_p11.ebuild,v 1.1 2010/02/01 21:40:04 jlec Exp $ |
38 | |
39 | EAPI="2" |
40 | |
41 | inherit python |
42 | |
43 | MY_PV="${PV##*_p}" |
44 | |
45 | DESCRIPTION="APBS plugin for pymol" |
46 | HOMEPAGE="http://sourceforge.net/projects/pymolapbsplugin/" |
47 | SRC_URI="http://pymolapbsplugin.svn.sourceforge.net/viewvc/pymolapbsplugin/trunk/src/apbsplugin.py?revision=${MY_PV} -> ${P}.py" |
48 | |
49 | SLOT="0" |
50 | KEYWORDS="~amd64 ~x86" |
51 | LICENSE="pymol" |
52 | IUSE="" |
53 | |
54 | RDEPEND=" |
55 | sci-chemistry/apbs |
56 | sci-chemistry/pdb2pqr |
57 | !<sci-chemistry/pymol-1.2.2-r1" |
58 | DEPEND="${RDEPEND}" |
59 | |
60 | src_unpack() { |
61 | cp "${DISTDIR}"/${P}.py "${WORKDIR}"/ |
62 | } |
63 | |
64 | src_install() { |
65 | sed \ |
66 | -e "s:^APBS_BINARY_LOCATION.*:APBS_BINARY_LOCATION = \"${EPREFIX}/usr/bin/apbs\":g" \ |
67 | -e "s:^APBS_PSIZE_LOCATION.*:APBS_PSIZE_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/src/\":g" \ |
68 | -e "s:^APBS_PDB2PQR_LOCATION.*:APBS_PDB2PQR_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/\":g" \ |
69 | -e "s:^TEMPORARY_FILE_DIR.*:TEMPORARY_FILE_DIR = \"./\":g" \ |
70 | -i ${P}.py |
71 | |
72 | insinto $(python_get_sitedir)/pmg_tk/startup/ |
73 | newins ${P}.py apbs_tools.py || die |
74 | } |
75 | |
76 | pkg_postinst() { |
77 | python_mod_optimize $(python_get_sitedir)/pmg_tk/startup/apbs_tools.py |
78 | } |
79 | |
80 | pkg_postrm() { |
81 | python_mod_cleanup $(python_get_sitedir)/pmg_tk/startup/apbs_tools.py |
82 | } |
83 | |
84 | |
85 | |
86 | 1.1 sci-chemistry/pymol-apbs-plugin/ChangeLog |
87 | |
88 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog?rev=1.1&view=markup |
89 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog?rev=1.1&content-type=text/plain |
90 | |
91 | Index: ChangeLog |
92 | =================================================================== |
93 | # ChangeLog for sci-chemistry/pymol-apbs-plugin |
94 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
95 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog,v 1.1 2010/02/01 21:40:04 jlec Exp $ |
96 | |
97 | *pymol-apbs-plugin-0_p11 (01 Feb 2010) |
98 | |
99 | 01 Feb 2010; Justin Lecher (jlec) <jlec@g.o> |
100 | +pymol-apbs-plugin-0_p11.ebuild, +metadata.xml: |
101 | Seperated ebuild for pymol apbs plugin |