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-apbs-plugin: metadata.xml ChangeLog pymol-apbs-plugin-2.1_p26.ebuild
Date: Fri, 22 Nov 2013 13:38:27
Message-Id: 20131122133823.7D0F12004B@flycatcher.gentoo.org
1 jlec 13/11/22 13:38:23
2
3 Modified: metadata.xml ChangeLog
4 Added: pymol-apbs-plugin-2.1_p26.ebuild
5 Log:
6 sci-chemistry/pymol-apbs-plugin: Version BUmp, add fix for tcltk8.6 support
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.3 sci-chemistry/pymol-apbs-plugin/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-apbs-plugin/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-apbs-plugin/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-apbs-plugin/metadata.xml?r1=1.2&r2=1.3
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/metadata.xml,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- metadata.xml 19 Jun 2013 04:19:46 -0000 1.2
24 +++ metadata.xml 22 Nov 2013 13:38:23 -0000 1.3
25 @@ -1,8 +1,8 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>sci-chemistry</herd>
30 -<maintainer>
31 - <email>jlec@g.o</email>
32 -</maintainer>
33 + <herd>sci-chemistry</herd>
34 + <maintainer>
35 + <email>jlec@g.o</email>
36 + </maintainer>
37 </pkgmetadata>
38
39
40
41 1.11 sci-chemistry/pymol-apbs-plugin/ChangeLog
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog?rev=1.11&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog?rev=1.11&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog?r1=1.10&r2=1.11
46
47 Index: ChangeLog
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog,v
50 retrieving revision 1.10
51 retrieving revision 1.11
52 diff -u -r1.10 -r1.11
53 --- ChangeLog 19 Jun 2013 04:19:46 -0000 1.10
54 +++ ChangeLog 22 Nov 2013 13:38:23 -0000 1.11
55 @@ -1,6 +1,13 @@
56 # ChangeLog for sci-chemistry/pymol-apbs-plugin
57 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
58 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog,v 1.10 2013/06/19 04:19:46 bicatali Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog,v 1.11 2013/11/22 13:38:23 jlec Exp $
60 +
61 +*pymol-apbs-plugin-2.1_p26 (22 Nov 2013)
62 +
63 + 22 Nov 2013; Justin Lecher <jlec@g.o>
64 + +pymol-apbs-plugin-2.1_p26.ebuild,
65 + +files/pymol-apbs-plugin-2.1_p26-tcltk8.6.patch, metadata.xml:
66 + Version BUmp, add fix for tcltk8.6 support
67
68 19 Jun 2013; Sébastien Fabbro <bicatali@g.o> metadata.xml:
69 Changed herd to sci-chemistry
70
71
72
73 1.1 sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-2.1_p26.ebuild
74
75 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-2.1_p26.ebuild?rev=1.1&view=markup
76 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-2.1_p26.ebuild?rev=1.1&content-type=text/plain
77
78 Index: pymol-apbs-plugin-2.1_p26.ebuild
79 ===================================================================
80 # Copyright 1999-2013 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-2.1_p26.ebuild,v 1.1 2013/11/22 13:38:23 jlec Exp $
83
84 EAPI=5
85
86 PYTHON_COMPAT=( python{2_6,2_7} )
87
88 inherit eutils python-r1
89
90 MY_PV="${PV##*_p}"
91
92 DESCRIPTION="APBS plugin for pymol"
93 HOMEPAGE="http://sourceforge.net/projects/pymolapbsplugin/"
94 SRC_URI="http://sourceforge.net/p/pymolapbsplugin/code/${MY_PV}/tree/trunk/src/apbsplugin.py?format=raw -> ${P}.py"
95
96 SLOT="0"
97 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
98 LICENSE="pymol"
99 IUSE=""
100
101 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
102
103 RDEPEND="
104 ${PYTHON_DEPS}
105 sci-chemistry/apbs
106 sci-chemistry/pdb2pqr
107 !<sci-chemistry/pymol-1.2.2-r1"
108 DEPEND="${RDEPEND}"
109
110 src_unpack() {
111 mkdir "${S}"
112 cp "${DISTDIR}"/${P}.py "${S}"/
113 }
114
115 src_prepare() {
116 epatch "${FILESDIR}"/${P}-tcltk8.6.patch
117 python_copy_sources
118 }
119
120 src_install() {
121 installation() {
122 cd "${BUILD_DIR}" || die
123 sed \
124 -e "s:^APBS_BINARY_LOCATION.*:APBS_BINARY_LOCATION = \"${EPREFIX}/usr/bin/apbs\":g" \
125 -e "s:^APBS_PSIZE_LOCATION.*:APBS_PSIZE_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/src/\":g" \
126 -e "s:^APBS_PDB2PQR_LOCATION.*:APBS_PDB2PQR_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/\":g" \
127 -e "s:^TEMPORARY_FILE_DIR.*:TEMPORARY_FILE_DIR = \"./\":g" \
128 ${P}.py > apbs_tools.py
129
130 python_moduleinto pmg_tk/startup
131 python_domodule apbs_tools.py || die
132 python_optimize
133 }
134 python_parallel_foreach_impl installation
135 }