1 |
jlec 11/05/06 07:59:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pymol-1.4.1.ebuild |
5 |
Removed: pymol-1.4_beta1.ebuild pymol-1.3.0.ebuild |
6 |
pymol-1.3.1_pre3924.ebuild |
7 |
Log: |
8 |
Version Bump, notified by euscan; cleaned old |
9 |
|
10 |
(Portage version: 2.2.0_alpha31/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.78 sci-chemistry/pymol/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/ChangeLog?rev=1.78&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/ChangeLog?rev=1.78&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/ChangeLog?r1=1.77&r2=1.78 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v |
22 |
retrieving revision 1.77 |
23 |
retrieving revision 1.78 |
24 |
diff -u -r1.77 -r1.78 |
25 |
--- ChangeLog 5 Apr 2011 06:39:25 -0000 1.77 |
26 |
+++ ChangeLog 6 May 2011 07:59:31 -0000 1.78 |
27 |
@@ -1,6 +1,13 @@ |
28 |
# ChangeLog for sci-chemistry/pymol |
29 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v 1.77 2011/04/05 06:39:25 jlec Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v 1.78 2011/05/06 07:59:31 jlec Exp $ |
32 |
+ |
33 |
+*pymol-1.4.1 (06 May 2011) |
34 |
+ |
35 |
+ 06 May 2011; Justin Lecher <jlec@g.o> +files/1.4.1-data-path.patch, |
36 |
+ -pymol-1.3.0.ebuild, -pymol-1.3.1_pre3924.ebuild, -pymol-1.4_beta1.ebuild, |
37 |
+ +pymol-1.4.1.ebuild, +files/1.4.1-shaders.patch: |
38 |
+ Version Bump, notified by euscan; cleaned old |
39 |
|
40 |
05 Apr 2011; Justin Lecher <jlec@g.o> pymol-1.4_beta1.ebuild: |
41 |
Cleaned unneeded SRC_URI entries |
42 |
|
43 |
|
44 |
|
45 |
1.1 sci-chemistry/pymol/pymol-1.4.1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/pymol-1.4.1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pymol/pymol-1.4.1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: pymol-1.4.1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2011 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/pymol-1.4.1.ebuild,v 1.1 2011/05/06 07:59:31 jlec Exp $ |
55 |
|
56 |
EAPI="3" |
57 |
|
58 |
PYTHON_DEPEND="2:2.6" |
59 |
SUPPORT_PYTHON_ABIS="1" |
60 |
RESTRICT_PYTHON_ABIS="2.4 2.5 3.*" |
61 |
PYTHON_USE_WITH="tk" |
62 |
PYTHON_MODNAME="${PN} chempy pmg_tk pmg_wx" |
63 |
|
64 |
inherit eutils distutils prefix versionator |
65 |
|
66 |
DESCRIPTION="A Python-extensible molecular graphics system." |
67 |
HOMEPAGE="http://pymol.sourceforge.net/" |
68 |
SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz" |
69 |
|
70 |
LICENSE="PSF-2.2" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
73 |
IUSE="apbs numpy vmd" |
74 |
|
75 |
DEPEND=" |
76 |
dev-python/numpy |
77 |
dev-python/pmw |
78 |
media-libs/freetype:2 |
79 |
media-libs/glew |
80 |
media-libs/libpng |
81 |
media-video/mpeg-tools |
82 |
sys-libs/zlib |
83 |
media-libs/freeglut |
84 |
apbs? ( |
85 |
dev-libs/maloc |
86 |
sci-chemistry/apbs |
87 |
sci-chemistry/pdb2pqr |
88 |
sci-chemistry/pymol-apbs-plugin |
89 |
)" |
90 |
RDEPEND="${DEPEND}" |
91 |
|
92 |
src_prepare() { |
93 |
epatch \ |
94 |
"${FILESDIR}"/${PV}-data-path.patch \ |
95 |
"${FILESDIR}"/${PV}-shaders.patch |
96 |
|
97 |
epatch "${FILESDIR}"/1.2.2-prefix.patch && \ |
98 |
eprefixify setup.py |
99 |
|
100 |
# Turn off splash screen. Please do make a project contribution |
101 |
# if you are able though. #299020 |
102 |
epatch "${FILESDIR}"/1.2.1/nosplash-gentoo.patch |
103 |
|
104 |
# Respect CFLAGS |
105 |
sed -i \ |
106 |
-e "s:\(ext_comp_args=\).*:\1[]:g" \ |
107 |
"${S}"/setup.py || die "Failed running sed on setup.py" |
108 |
|
109 |
use vmd && epatch "${FILESDIR}"/$(get_version_component_range 1-2)-vmd.patch |
110 |
|
111 |
use numpy && \ |
112 |
sed \ |
113 |
-e '/PYMOL_NUMPY/s:^#::g' \ |
114 |
-i setup.py |
115 |
|
116 |
rm ./modules/pmg_tk/startup/apbs_tools.py || die |
117 |
|
118 |
# python 3.* fix |
119 |
# sed '452,465d' -i setup.py |
120 |
distutils_src_prepare |
121 |
} |
122 |
|
123 |
src_configure() { |
124 |
: |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
distutils_src_install |
129 |
|
130 |
# These environment variables should not go in the wrapper script, or else |
131 |
# it will be impossible to use the PyMOL libraries from Python. |
132 |
cat >> "${T}"/20pymol <<- EOF |
133 |
PYMOL_PATH="${EPREFIX}/$(python_get_sitedir -f)/${PN}" |
134 |
PYMOL_DATA="${EPREFIX}/usr/share/pymol/data" |
135 |
PYMOL_SCRIPTS="${EPREFIX}/usr/share/pymol/scripts" |
136 |
EOF |
137 |
|
138 |
doenvd "${T}"/20pymol || die "Failed to install env.d file." |
139 |
|
140 |
cat >> "${T}"/pymol <<- EOF |
141 |
#!/bin/sh |
142 |
$(PYTHON -f) -O \${PYMOL_PATH}/__init__.py \$* |
143 |
EOF |
144 |
|
145 |
dobin "${T}"/pymol || die "Failed to install wrapper." |
146 |
|
147 |
insinto /usr/share/pymol |
148 |
doins -r test data scripts || die "no shared data" |
149 |
|
150 |
insinto /usr/share/pymol/examples |
151 |
doins -r examples || die "Failed to install docs." |
152 |
|
153 |
dodoc DEVELOPERS README || die "Failed to install docs." |
154 |
} |
155 |
|
156 |
pkg_postinst() { |
157 |
elog "\t USE=shaders was removed," |
158 |
elog "please use pymol config settings" |
159 |
elog "\t set use_shaders, 1" |
160 |
distutils_pkg_postinst |
161 |
} |