Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/pymol/
Date: Sat, 25 Feb 2017 20:56:33
Message-Id: 1488056187.e4d2f4aa20dd3df7e3fa7b34da4f5c597b506830.jlec@gentoo
1 commit: e4d2f4aa20dd3df7e3fa7b34da4f5c597b506830
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 25 20:56:17 2017 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 20:56:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4d2f4aa
7
8 sci-chemistry/pymol: Drop old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-chemistry/pymol/Manifest | 4 --
14 sci-chemistry/pymol/pymol-1.7.6.0.ebuild | 110 -------------------------------
15 sci-chemistry/pymol/pymol-1.7.7.2.ebuild | 110 -------------------------------
16 sci-chemistry/pymol/pymol-1.8.2.1.ebuild | 109 ------------------------------
17 4 files changed, 333 deletions(-)
18
19 diff --git a/sci-chemistry/pymol/Manifest b/sci-chemistry/pymol/Manifest
20 index d7e893dc07..1f72685ea0 100644
21 --- a/sci-chemistry/pymol/Manifest
22 +++ b/sci-chemistry/pymol/Manifest
23 @@ -1,6 +1,2 @@
24 -DIST pymol-1.7.0.0.png.xz 5392 SHA256 4c554a5c4f47946b6f7bae00209d5116305162534292735d30ae0794c56a8a0b SHA512 24bb1584b28688f5d5824e938f8500ca9887838adf490b4284c52f8c0da4c5ec4a56051ee80f48e4f34541ab53f9a4e00c849c382f1fd37c232fbea12d700105 WHIRLPOOL 395f978eb9ea3a8f8f39bf0694f71986ac9f8ebb307b90283c53fed85c4412d84e54af472f8646fcbd99c650039cb395a8f02b281168802c73ddb9bad175512b
25 -DIST pymol-1.7.6.0.tar.xz 6510380 SHA256 31d4924378b38b65fae5b294e0755ee15916f9e845ef2efe5e2421f463bf3b91 SHA512 ff8c37de07e0ed8dc1176224eea439109f2bd5e42b5c08316f5737a2fdcf5a1f267b625c166fa740296c20ef089873ae1ad6cb89b11111e9d3aeda0b6035d55d WHIRLPOOL 3582cc846695ca580a4bcd31db8079f32d3cb0d84b8fa1afeb0b210d7004642bf58eab42cafd552f360a5e20b546e554cf5420b7dd2e8cefa5b956a9453215e2
26 -DIST pymol-1.7.7.2.tar.xz 6527780 SHA256 fc15fc8fbf23b422c5d19babd20e19b7d7ab8ee9532012c7b3a27b87af44fdae SHA512 faf3715cd6b9e7115f6501fc4480a6f71fe53d3b02b2eeefdd07a57d7c15b3621c05fd3894bb92ac4042edaa224d99c2be7488a762254d069c581974a0146179 WHIRLPOOL b52683ce1dc265fe302c974ccc1bfa9e55365e8502f944cf6527c0071f207fcb54e8b3ad38fd684b66c66f85fa6a03f2f1178b90fd406b9f7561d956c704fb9a
27 DIST pymol-1.8.4.0.png.xz 19528 SHA256 e2c956b39965130a3dc51c2c1b1090bee6bf591885069b2ddb77c0991e9e4928 SHA512 40bb0d3f226476f6e047b5361956aad955232a97641474765eaa5204f0539aee3810e0266213618a45364f9f31f6eb18380b17e0c79f64065f7b62a9016caa7c WHIRLPOOL 1336c20e068b71cdf35118c84b5df8485c86bc51eed7f542a483fb78ce374ca76e4aed3518aced0a6f8ea49e0b180004e567cc059ac52a27a3d616adb282cea2
28 -DIST pymol-v1.8.2.1.tar.bz2 8694029 SHA256 fc5d33d7e36364567462cee19b9b132530a83cbab3fafcf373f2a17f127b3f4e SHA512 c6768ab75f715e48fbaa3d0c0664f717b05212c6d004cacea0e9a79ead98375ae7773b4a5c4c476a3b3731be910e3df585b2980fd97fd3fb2afb5ec91304adce WHIRLPOOL 4ad164a3629e15df12ce75a769e34b1af2f87f68f88988919c0d0e8d80fe4062283102003d222040b9a8f0bd91e756eac494e67477242b48cd04947d34cb7c48
29 DIST pymol-v1.8.4.0.tar.bz2 8717344 SHA256 b6147befe74844dd23550461b831b2fa6d170d4456f0059cf93fb1e8cb43d279 SHA512 73a810adfc31adaf0f3fa25512084882c87b0782c8af716ac0203a5b5b7f0b9fedfbce3d129bffef7b52044e92b0542e683966b2acf961c4dac17fbba72dd7fe WHIRLPOOL 3943a619ca00cc2bfb51ff4dffa0166856b4425c7518d91b1ff2a048caa53dcb7411c64b246014b860b7f036de582e9efdc09783b3918283f0a96ee5130c7287
30
31 diff --git a/sci-chemistry/pymol/pymol-1.7.6.0.ebuild b/sci-chemistry/pymol/pymol-1.7.6.0.ebuild
32 deleted file mode 100644
33 index 4033493c22..0000000000
34 --- a/sci-chemistry/pymol/pymol-1.7.6.0.ebuild
35 +++ /dev/null
36 @@ -1,110 +0,0 @@
37 -# Copyright 1999-2015 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -# $Id$
40 -
41 -EAPI=5
42 -
43 -PYTHON_COMPAT=( python2_7 )
44 -PYTHON_REQ_USE="tk"
45 -
46 -inherit distutils-r1 eutils fdo-mime flag-o-matic versionator
47 -
48 -DESCRIPTION="A Python-extensible molecular graphics system"
49 -HOMEPAGE="http://www.pymol.org/"
50 -SRC_URI="
51 - https://dev.gentoo.org/~jlec/distfiles/${PN}-1.7.0.0.png.xz
52 - https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz
53 -"
54 -# mirror://sourceforge/project/${PN}/${PN}/$(get_version_component_range 1-2)/${PN}-v${PV}.tar.bz2
55 -# git archive -v --prefix=${P}/ master -o ${P}.tar.xz
56 -
57 -LICENSE="PSF-2.2"
58 -SLOT="0"
59 -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
60 -IUSE="web"
61 -
62 -DEPEND="
63 - dev-python/numpy[${PYTHON_USEDEP}]
64 - dev-python/pyopengl[${PYTHON_USEDEP}]
65 - media-libs/freeglut
66 - media-libs/freetype:2
67 - media-libs/glew:0=
68 - media-libs/libpng:0=
69 - media-video/mpeg-tools
70 - sys-libs/zlib
71 - virtual/python-pmw[${PYTHON_USEDEP}]
72 - !sci-chemistry/pymol-apbs-plugin[${PYTHON_USEDEP}]
73 - web? ( !dev-python/webpy[${PYTHON_USEDEP}] )"
74 -RDEPEND="${DEPEND}"
75 -
76 -S="${WORKDIR}"/${P}/${PN}
77 -
78 -python_prepare_all() {
79 - sed \
80 - -e "s:\"/usr:\"${EPREFIX}/usr:g" \
81 - -e "/ext_comp_args.*+=/s:\[.*\]$:\[\]:g" \
82 - -e "/import/s:argparse:argparseX:g" \
83 - -i setup.py || die
84 -
85 - sed \
86 - -e "s:/opt/local:${EPREFIX}/usr:g" \
87 - -e '/ext_comp_args/s:\[.*\]:[]:g' \
88 - -i setup.py || die
89 -
90 - append-cxxflags -std=c++0x
91 -
92 - distutils-r1_python_prepare_all
93 -}
94 -
95 -python_install() {
96 - distutils-r1_python_install --pymol-path="${EPREFIX}/usr/share/pymol"
97 -
98 - sed \
99 - -e '1d' \
100 - -e "/APBS_BINARY_LOCATION/s:None:\"${EPREFIX}/usr/bin/apbs\":g" \
101 - -e "/APBS_PSIZE_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/src/\":g" \
102 - -e "/APBS_PDB2PQR_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/\":g" \
103 - -i "${D}/$(python_get_sitedir)"/pmg_tk/startup/apbs_tools.py || die
104 -}
105 -
106 -python_install_all() {
107 - distutils-r1_python_install_all
108 -
109 - sed \
110 - -e '1i#!/usr/bin/env python' \
111 - "${D}/$(python_get_sitedir)"/pymol/__init__.py > "${T}"/${PN} || die
112 -
113 - python_foreach_impl python_doscript "${T}"/${PN}
114 -
115 - # These environment variables should not go in the wrapper script, or else
116 - # it will be impossible to use the PyMOL libraries from Python.
117 - cat >> "${T}"/20pymol <<- EOF
118 - PYMOL_PATH="${EPREFIX}/usr/share/pymol"
119 - PYMOL_DATA="${EPREFIX}/usr/share/pymol/data"
120 - PYMOL_SCRIPTS="${EPREFIX}/usr/share/pymol/scripts"
121 - EOF
122 -
123 - doenvd "${T}"/20pymol
124 -
125 - newicon "${WORKDIR}"/${PN}-1.7.0.0.png ${PN}.png
126 - make_desktop_entry ${PN} PyMol ${PN} \
127 - "Graphics;Education;Science;Chemistry;" \
128 - "MimeType=chemical/x-pdb;chemical/x-mdl-molfile;chemical/x-mol2;chemical/seq-aa-fasta;chemical/seq-na-fasta;chemical/x-xyz;chemical/x-mdl-sdf;"
129 -
130 - if ! use web; then
131 - rm -rf "${D}/$(python_get_sitedir)/web" || die
132 - fi
133 -
134 - rm -f "${ED}"/usr/share/${PN}/LICENSE || die
135 -}
136 -
137 -pkg_postinst() {
138 - fdo-mime_desktop_database_update
139 - fdo-mime_mime_database_update
140 - optfeature "Electrostatic calculations" sci-chemistry/apbs sci-chemistry/pdb2pqr
141 -}
142 -
143 -pkg_postrm() {
144 - fdo-mime_desktop_database_update
145 - fdo-mime_mime_database_update
146 -}
147
148 diff --git a/sci-chemistry/pymol/pymol-1.7.7.2.ebuild b/sci-chemistry/pymol/pymol-1.7.7.2.ebuild
149 deleted file mode 100644
150 index 7d6aab4313..0000000000
151 --- a/sci-chemistry/pymol/pymol-1.7.7.2.ebuild
152 +++ /dev/null
153 @@ -1,110 +0,0 @@
154 -# Copyright 1999-2015 Gentoo Foundation
155 -# Distributed under the terms of the GNU General Public License v2
156 -# $Id$
157 -
158 -EAPI=5
159 -
160 -PYTHON_COMPAT=( python2_7 )
161 -PYTHON_REQ_USE="tk"
162 -
163 -inherit distutils-r1 eutils fdo-mime flag-o-matic versionator
164 -
165 -DESCRIPTION="A Python-extensible molecular graphics system"
166 -HOMEPAGE="http://www.pymol.org/"
167 -SRC_URI="
168 - https://dev.gentoo.org/~jlec/distfiles/${PN}-1.7.0.0.png.xz
169 - https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz
170 -"
171 -# mirror://sourceforge/project/${PN}/${PN}/$(get_version_component_range 1-2)/${PN}-v${PV}.tar.bz2
172 -# git archive -v --prefix=${P}/ master -o ${P}.tar.xz
173 -
174 -LICENSE="PSF-2.2"
175 -SLOT="0"
176 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
177 -IUSE="web"
178 -
179 -DEPEND="
180 - dev-python/numpy[${PYTHON_USEDEP}]
181 - dev-python/pyopengl[${PYTHON_USEDEP}]
182 - media-libs/freeglut
183 - media-libs/freetype:2
184 - media-libs/glew:0=
185 - media-libs/libpng:0=
186 - media-video/mpeg-tools
187 - sys-libs/zlib
188 - virtual/python-pmw[${PYTHON_USEDEP}]
189 - !sci-chemistry/pymol-apbs-plugin[${PYTHON_USEDEP}]
190 - web? ( !dev-python/webpy[${PYTHON_USEDEP}] )"
191 -RDEPEND="${DEPEND}"
192 -
193 -S="${WORKDIR}"/${P}/${PN}
194 -
195 -python_prepare_all() {
196 - sed \
197 - -e "s:\"/usr:\"${EPREFIX}/usr:g" \
198 - -e "/ext_comp_args.*+=/s:\[.*\]$:\[\]:g" \
199 - -e "/import/s:argparse:argparseX:g" \
200 - -i setup.py || die
201 -
202 - sed \
203 - -e "s:/opt/local:${EPREFIX}/usr:g" \
204 - -e '/ext_comp_args/s:\[.*\]:[]:g' \
205 - -i setup.py || die
206 -
207 - append-cxxflags -std=c++0x
208 -
209 - distutils-r1_python_prepare_all
210 -}
211 -
212 -python_install() {
213 - distutils-r1_python_install --pymol-path="${EPREFIX}/usr/share/pymol"
214 -
215 - sed \
216 - -e '1d' \
217 - -e "/APBS_BINARY_LOCATION/s:None:\"${EPREFIX}/usr/bin/apbs\":g" \
218 - -e "/APBS_PSIZE_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/src/\":g" \
219 - -e "/APBS_PDB2PQR_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/\":g" \
220 - -i "${D}/$(python_get_sitedir)"/pmg_tk/startup/apbs_tools.py || die
221 -}
222 -
223 -python_install_all() {
224 - distutils-r1_python_install_all
225 -
226 - sed \
227 - -e '1i#!/usr/bin/env python' \
228 - "${D}/$(python_get_sitedir)"/pymol/__init__.py > "${T}"/${PN} || die
229 -
230 - python_foreach_impl python_doscript "${T}"/${PN}
231 -
232 - # These environment variables should not go in the wrapper script, or else
233 - # it will be impossible to use the PyMOL libraries from Python.
234 - cat >> "${T}"/20pymol <<- EOF
235 - PYMOL_PATH="${EPREFIX}/usr/share/pymol"
236 - PYMOL_DATA="${EPREFIX}/usr/share/pymol/data"
237 - PYMOL_SCRIPTS="${EPREFIX}/usr/share/pymol/scripts"
238 - EOF
239 -
240 - doenvd "${T}"/20pymol
241 -
242 - newicon "${WORKDIR}"/${PN}-1.7.0.0.png ${PN}.png
243 - make_desktop_entry ${PN} PyMol ${PN} \
244 - "Graphics;Education;Science;Chemistry;" \
245 - "MimeType=chemical/x-pdb;chemical/x-mdl-molfile;chemical/x-mol2;chemical/seq-aa-fasta;chemical/seq-na-fasta;chemical/x-xyz;chemical/x-mdl-sdf;"
246 -
247 - if ! use web; then
248 - rm -rf "${D}/$(python_get_sitedir)/web" || die
249 - fi
250 -
251 - rm -f "${ED}"/usr/share/${PN}/LICENSE || die
252 -}
253 -
254 -pkg_postinst() {
255 - fdo-mime_desktop_database_update
256 - fdo-mime_mime_database_update
257 - optfeature "Electrostatic calculations" sci-chemistry/apbs sci-chemistry/pdb2pqr
258 -}
259 -
260 -pkg_postrm() {
261 - fdo-mime_desktop_database_update
262 - fdo-mime_mime_database_update
263 -}
264
265 diff --git a/sci-chemistry/pymol/pymol-1.8.2.1.ebuild b/sci-chemistry/pymol/pymol-1.8.2.1.ebuild
266 deleted file mode 100644
267 index e86a042c8d..0000000000
268 --- a/sci-chemistry/pymol/pymol-1.8.2.1.ebuild
269 +++ /dev/null
270 @@ -1,109 +0,0 @@
271 -# Copyright 1999-2016 Gentoo Foundation
272 -# Distributed under the terms of the GNU General Public License v2
273 -# $Id$
274 -
275 -EAPI=5
276 -
277 -PYTHON_COMPAT=( python2_7 )
278 -PYTHON_REQ_USE="tk"
279 -
280 -inherit distutils-r1 eutils fdo-mime flag-o-matic versionator
281 -
282 -DESCRIPTION="A Python-extensible molecular graphics system"
283 -HOMEPAGE="http://www.pymol.org/"
284 -SRC_URI="
285 - https://dev.gentoo.org/~jlec/distfiles/${PN}-1.7.0.0.png.xz
286 - mirror://sourceforge/project/${PN}/${PN}/$(get_version_component_range 1-2)/${PN}-v${PV}.tar.bz2
287 - "
288 -# git archive -v --prefix=${P}/ master -o ${P}.tar.xz
289 -RESTRICT="mirror"
290 -LICENSE="PSF-2.2"
291 -SLOT="0"
292 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
293 -IUSE="web"
294 -
295 -DEPEND="
296 - dev-python/numpy[${PYTHON_USEDEP}]
297 - dev-python/pyopengl[${PYTHON_USEDEP}]
298 - media-libs/freeglut
299 - media-libs/freetype:2
300 - media-libs/glew:0=
301 - media-libs/libpng:0=
302 - media-video/mpeg-tools
303 - sys-libs/zlib
304 - virtual/python-pmw[${PYTHON_USEDEP}]
305 - !sci-chemistry/pymol-apbs-plugin[${PYTHON_USEDEP}]
306 - web? ( !dev-python/webpy[${PYTHON_USEDEP}] )"
307 -RDEPEND="${DEPEND}"
308 -
309 -S="${WORKDIR}"/${PN}
310 -
311 -python_prepare_all() {
312 - sed \
313 - -e "s:\"/usr:\"${EPREFIX}/usr:g" \
314 - -e "/ext_comp_args.*+=/s:\[.*\]$:\[\]:g" \
315 - -e "/import/s:argparse:argparseX:g" \
316 - -i setup.py || die
317 -
318 - sed \
319 - -e "s:/opt/local:${EPREFIX}/usr:g" \
320 - -e '/ext_comp_args/s:\[.*\]:[]:g' \
321 - -i setup.py || die
322 -
323 - append-cxxflags -std=c++0x
324 -
325 - distutils-r1_python_prepare_all
326 -}
327 -
328 -python_install() {
329 - distutils-r1_python_install --pymol-path="${EPREFIX}/usr/share/pymol"
330 -
331 - sed \
332 - -e '1d' \
333 - -e "/APBS_BINARY_LOCATION/s:None:\"${EPREFIX}/usr/bin/apbs\":g" \
334 - -e "/APBS_PSIZE_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/src/\":g" \
335 - -e "/APBS_PDB2PQR_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/\":g" \
336 - -i "${D}/$(python_get_sitedir)"/pmg_tk/startup/apbs_tools.py || die
337 -}
338 -
339 -python_install_all() {
340 - distutils-r1_python_install_all
341 -
342 - sed \
343 - -e '1i#!/usr/bin/env python' \
344 - "${D}/$(python_get_sitedir)"/pymol/__init__.py > "${T}"/${PN} || die
345 -
346 - python_foreach_impl python_doscript "${T}"/${PN}
347 -
348 - # These environment variables should not go in the wrapper script, or else
349 - # it will be impossible to use the PyMOL libraries from Python.
350 - cat >> "${T}"/20pymol <<- EOF
351 - PYMOL_PATH="${EPREFIX}/usr/share/pymol"
352 - PYMOL_DATA="${EPREFIX}/usr/share/pymol/data"
353 - PYMOL_SCRIPTS="${EPREFIX}/usr/share/pymol/scripts"
354 - EOF
355 -
356 - doenvd "${T}"/20pymol
357 -
358 - newicon "${WORKDIR}"/${PN}-1.7.0.0.png ${PN}.png
359 - make_desktop_entry ${PN} PyMol ${PN} \
360 - "Graphics;Education;Science;Chemistry;" \
361 - "MimeType=chemical/x-pdb;chemical/x-mdl-molfile;chemical/x-mol2;chemical/seq-aa-fasta;chemical/seq-na-fasta;chemical/x-xyz;chemical/x-mdl-sdf;"
362 -
363 - if ! use web; then
364 - rm -rf "${D}/$(python_get_sitedir)/web" || die
365 - fi
366 -
367 - rm -f "${ED}"/usr/share/${PN}/LICENSE || die
368 -}
369 -
370 -pkg_postinst() {
371 - fdo-mime_desktop_database_update
372 - fdo-mime_mime_database_update
373 - optfeature "Electrostatic calculations" sci-chemistry/apbs sci-chemistry/pdb2pqr
374 -}
375 -
376 -pkg_postrm() {
377 - fdo-mime_desktop_database_update
378 - fdo-mime_mime_database_update
379 -}