1 |
jlec 12/02/27 22:53:03 |
2 |
|
3 |
Modified: ChangeLog pymol-1.5.0.1.ebuild |
4 |
Added: pymol-1.5.0.2.ebuild |
5 |
Log: |
6 |
Version Bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.85 sci-chemistry/pymol/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/ChangeLog?rev=1.85&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/ChangeLog?rev=1.85&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/ChangeLog?r1=1.84&r2=1.85 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v |
20 |
retrieving revision 1.84 |
21 |
retrieving revision 1.85 |
22 |
diff -u -r1.84 -r1.85 |
23 |
--- ChangeLog 26 Feb 2012 06:10:49 -0000 1.84 |
24 |
+++ ChangeLog 27 Feb 2012 22:53:03 -0000 1.85 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-chemistry/pymol |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v 1.84 2012/02/26 06:10:49 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v 1.85 2012/02/27 22:53:03 jlec Exp $ |
30 |
+ |
31 |
+*pymol-1.5.0.2 (27 Feb 2012) |
32 |
+ |
33 |
+ 27 Feb 2012; Justin Lecher <jlec@g.o> pymol-1.5.0.1.ebuild, |
34 |
+ +pymol-1.5.0.2.ebuild: |
35 |
+ Version Bump |
36 |
|
37 |
26 Feb 2012; Patrick Lauer <patrick@g.o> pymol-1.3.1_pre3925-r1.ebuild, |
38 |
pymol-1.4.1.ebuild, pymol-1.5.0.1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.4 sci-chemistry/pymol/pymol-1.5.0.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/pymol-1.5.0.1.ebuild?rev=1.4&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/pymol-1.5.0.1.ebuild?rev=1.4&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/pymol-1.5.0.1.ebuild?r1=1.3&r2=1.4 |
47 |
|
48 |
Index: pymol-1.5.0.1.ebuild |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/pymol-1.5.0.1.ebuild,v |
51 |
retrieving revision 1.3 |
52 |
retrieving revision 1.4 |
53 |
diff -u -r1.3 -r1.4 |
54 |
--- pymol-1.5.0.1.ebuild 26 Feb 2012 06:10:49 -0000 1.3 |
55 |
+++ pymol-1.5.0.1.ebuild 27 Feb 2012 22:53:03 -0000 1.4 |
56 |
@@ -1,6 +1,6 @@ |
57 |
# Copyright 1999-2012 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/pymol-1.5.0.1.ebuild,v 1.3 2012/02/26 06:10:49 patrick Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/pymol-1.5.0.1.ebuild,v 1.4 2012/02/27 22:53:03 jlec Exp $ |
61 |
|
62 |
EAPI=4 |
63 |
|
64 |
@@ -104,7 +104,7 @@ |
65 |
dodoc DEVELOPERS README |
66 |
|
67 |
doicon "${WORKDIR}"/${PN}.xpm |
68 |
- make_desktop_entry pymol PyMol ${PN}.xpm "Graphics;Science;Chemistry" |
69 |
+ make_desktop_entry pymol PyMol ${PN} "Graphics;Science;Chemistry" |
70 |
} |
71 |
|
72 |
pkg_postinst() { |
73 |
|
74 |
|
75 |
|
76 |
1.1 sci-chemistry/pymol/pymol-1.5.0.2.ebuild |
77 |
|
78 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/pymol-1.5.0.2.ebuild?rev=1.1&view=markup |
79 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/pymol-1.5.0.2.ebuild?rev=1.1&content-type=text/plain |
80 |
|
81 |
Index: pymol-1.5.0.2.ebuild |
82 |
=================================================================== |
83 |
# Copyright 1999-2012 Gentoo Foundation |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/pymol-1.5.0.2.ebuild,v 1.1 2012/02/27 22:53:03 jlec Exp $ |
86 |
|
87 |
EAPI=4 |
88 |
|
89 |
PYTHON_DEPEND="2:2.7" |
90 |
SUPPORT_PYTHON_ABIS="1" |
91 |
RESTRICT_PYTHON_ABIS="2.4 2.5 2.6 3.* *-jython 2.7-pypy-*" |
92 |
PYTHON_USE_WITH="tk" |
93 |
PYTHON_MODNAME="${PN} chempy pmg_tk pmg_wx" |
94 |
|
95 |
inherit distutils eutils fdo-mime prefix versionator |
96 |
|
97 |
DESCRIPTION="A Python-extensible molecular graphics system" |
98 |
HOMEPAGE="http://pymol.sourceforge.net/" |
99 |
SRC_URI=" |
100 |
http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz |
101 |
http://dev.gentoo.org/~jlec/distfiles/${PN}.xpm.tar" |
102 |
|
103 |
LICENSE="PSF-2.2" |
104 |
SLOT="0" |
105 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
106 |
IUSE="apbs numpy vmd web" |
107 |
|
108 |
DEPEND=" |
109 |
dev-python/numpy |
110 |
dev-python/pmw |
111 |
media-libs/freetype:2 |
112 |
media-libs/glew |
113 |
media-libs/libpng |
114 |
media-video/mpeg-tools |
115 |
sys-libs/zlib |
116 |
media-libs/freeglut |
117 |
apbs? ( |
118 |
dev-libs/maloc |
119 |
sci-chemistry/apbs |
120 |
sci-chemistry/pdb2pqr |
121 |
sci-chemistry/pymol-apbs-plugin |
122 |
) |
123 |
web? ( !dev-python/webpy )" |
124 |
RDEPEND="${DEPEND}" |
125 |
|
126 |
src_prepare() { |
127 |
epatch \ |
128 |
"${FILESDIR}"/${PN}-1.5.0.1-setup.py.patch \ |
129 |
"${FILESDIR}"/${PN}-1.5.0.1-data-path.patch \ |
130 |
"${FILESDIR}"/${PN}-1.5.0.1-flags.patch |
131 |
|
132 |
use web || epatch "${FILESDIR}"/${PN}-1.5.0.1-web.patch |
133 |
|
134 |
epatch "${FILESDIR}"/${PN}-1.5.0.1-prefix.patch && \ |
135 |
eprefixify setup.py |
136 |
|
137 |
use vmd && epatch "${FILESDIR}"/${PN}-1.5.0.1-vmd.patch |
138 |
|
139 |
if use numpy; then |
140 |
sed \ |
141 |
-e '/PYMOL_NUMPY/s:^#::g' \ |
142 |
-i setup.py || die |
143 |
fi |
144 |
|
145 |
rm ./modules/pmg_tk/startup/apbs_tools.py || die |
146 |
|
147 |
echo "site_packages = \'$(python_get_sitedir -f)\'" > setup3.py || die |
148 |
|
149 |
# python 3.* fix |
150 |
# sed '452,465d' -i setup.py |
151 |
distutils_src_prepare |
152 |
} |
153 |
|
154 |
src_configure() { |
155 |
: |
156 |
} |
157 |
|
158 |
src_install() { |
159 |
distutils_src_install |
160 |
|
161 |
# These environment variables should not go in the wrapper script, or else |
162 |
# it will be impossible to use the PyMOL libraries from Python. |
163 |
cat >> "${T}"/20pymol <<- EOF |
164 |
PYMOL_PATH="${EPREFIX}/$(python_get_sitedir -f)/${PN}" |
165 |
PYMOL_DATA="${EPREFIX}/usr/share/pymol/data" |
166 |
PYMOL_SCRIPTS="${EPREFIX}/usr/share/pymol/scripts" |
167 |
EOF |
168 |
|
169 |
doenvd "${T}"/20pymol |
170 |
|
171 |
cat >> "${T}"/pymol <<- EOF |
172 |
#!/bin/sh |
173 |
$(PYTHON -f) -O \${PYMOL_PATH}/__init__.py -q \$* |
174 |
EOF |
175 |
|
176 |
dobin "${T}"/pymol |
177 |
|
178 |
insinto /usr/share/pymol |
179 |
doins -r test data scripts |
180 |
|
181 |
insinto /usr/share/pymol/examples |
182 |
doins -r examples |
183 |
|
184 |
dodoc DEVELOPERS README |
185 |
|
186 |
doicon "${WORKDIR}"/${PN}.xpm |
187 |
make_desktop_entry pymol PyMol ${PN} "Graphics;Science;Chemistry" |
188 |
} |
189 |
|
190 |
pkg_postinst() { |
191 |
elog "\t USE=shaders was removed," |
192 |
elog "please use pymol config settings" |
193 |
elog "\t set use_shaders, 1" |
194 |
distutils_pkg_postinst |
195 |
fdo-mime_desktop_database_update |
196 |
fdo-mime_mime_database_update |
197 |
} |
198 |
|
199 |
pkg_postrm() { |
200 |
fdo-mime_desktop_database_update |
201 |
fdo-mime_mime_database_update |
202 |
} |