Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/pymol-plugins-ezviz/, sci-chemistry/pymol-plugins-ezviz/files/
Date: Mon, 28 Sep 2020 08:43:55
Message-Id: 1601282612.df13387327dc5e2b6c2f1f441ec354c2b9589d91.chymera@gentoo
1 commit: df13387327dc5e2b6c2f1f441ec354c2b9589d91
2 Author: Horea Christian <chr <AT> chymera <DOT> eu>
3 AuthorDate: Mon Sep 28 08:32:06 2020 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Mon Sep 28 08:43:32 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=df133873
7
8 sci-chemistry/pymol-plugins-ezviz: removed unmaintained package
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Horea Christian <chr <AT> chymera.eu>
12
13 .../pymol-plugins-ezviz/files/gentoo.patch | 85 ----------------------
14 sci-chemistry/pymol-plugins-ezviz/metadata.xml | 22 ------
15 .../pymol-plugins-ezviz-1.0.2005-r1.ebuild | 55 --------------
16 3 files changed, 162 deletions(-)
17
18 diff --git a/sci-chemistry/pymol-plugins-ezviz/files/gentoo.patch b/sci-chemistry/pymol-plugins-ezviz/files/gentoo.patch
19 deleted file mode 100644
20 index ba28af325..000000000
21 --- a/sci-chemistry/pymol-plugins-ezviz/files/gentoo.patch
22 +++ /dev/null
23 @@ -1,85 +0,0 @@
24 -diff --git a/ez-viz.py b/ez-viz.py
25 -index 1d8e847..8d50e6b 100755
26 ---- a/ez-viz.py
27 -+++ b/ez-viz.py
28 -@@ -363,27 +363,27 @@ class PGUI:
29 - global splash
30 -
31 - # Images used in Presets tab
32 -- defaultImage = PhotoImage( file="modules\pmg_tk\startup\default.gif")
33 -- chains = PhotoImage(file="modules\pmg_tk\startup\chains.GIF")
34 -- heteroImg = PhotoImage(file="modules\pmg_tk\startup\heteroAtom.GIF")
35 -- ballStickImg = PhotoImage(file="C:\Program Files\DeLano Scientific\PyMOL\modules\pmg_tk\startup\showBallStick.GIF")
36 -- surfaceImg = PhotoImage(file="modules\pmg_tk\startup\surface.GIF")
37 -- polarityImg = PhotoImage(file="modules\pmg_tk\startup\polarity.GIF")
38 -- puttyImg = PhotoImage(file="modules\pmg_tk\startup\putty.GIF")
39 -- aromaticsImg = PhotoImage(file="modules\pmg_tk\startup\showAromatics.GIF")
40 -- dnaImg = PhotoImage(file="modules\pmg_tk\startup\dna.GIF")
41 -+ defaultImage = PhotoImage( file="GENTOOPYMOL/pmg_tk/startup/ez-viz/default.gif")
42 -+ chains = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/chains.gif")
43 -+ heteroImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/heteroAtom.gif")
44 -+ ballStickImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/showBallStick.gif")
45 -+ surfaceImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/surface.gif")
46 -+ polarityImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/polarity.gif")
47 -+ puttyImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/putty.gif")
48 -+ aromaticsImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/showAromatics.gif")
49 -+ dnaImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/dna.gif")
50 -
51 - # Movie tab images
52 -- ligand = PhotoImage(file="modules\pmg_tk\startup\zoom.GIF")
53 -- build = PhotoImage(file="modules\pmg_tk\startup\prot.GIF")
54 -- chainsMovieImg = PhotoImage(file="modules\pmg_tk\startup\chainsMovie.GIF")
55 -- rotateImg = PhotoImage(file="modules\pmg_tk\startup\Rotate.GIF")
56 -- playButton = PhotoImage(file="modules\pmg_tk\startup\play.GIF")
57 -- stopButton = PhotoImage(file="modules\pmg_tk\startup\stop.GIF")
58 -- rewindButton = PhotoImage(file="modules\pmg_tk\startup\Rewind.GIF")
59 -+ ligand = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/zoom.gif")
60 -+ build = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/prot.gif")
61 -+ chainsMovieImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/chainsMovie.gif")
62 -+ rotateImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/Rotate.gif")
63 -+ playButton = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/play.gif")
64 -+ stopButton = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/stop.gif")
65 -+ rewindButton = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/Rewind.gif")
66 -
67 - # Welcome tab image
68 -- splash = PhotoImage(file="modules\pmg_tk\startup\splash.GIF")
69 -+ splash = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/splash.gif")
70 - #--------------------------------------#
71 - # #
72 - # PRESETS METHODS #
73 -@@ -1035,7 +1035,7 @@ class PGUI:
74 - if tkMessageBox.askyesno('Ray Trace Image', "Do you want to ray trace you image before saving it? Depending on your image "+
75 - "this make take a few minutes if you select yes."):
76 - cmd.ray()
77 -- file = tkFileDialog.asksaveasfilename(defaultextension=".png", initialdir="C:/Program Files/DeLano Scientific/PyMOL/")
78 -+ file = tkFileDialog.asksaveasfilename(defaultextension=".png", initialdir="./")
79 - if len(file)>0:
80 - cmd.save(file)
81 -
82 -@@ -1045,7 +1045,7 @@ class PGUI:
83 - import tkFileDialog
84 - import tkMessageBox
85 -
86 -- file = tkFileDialog.asksaveasfilename(defaultextension=".pse", initialdir='C:/Program Files/Delano Scientific/PyMOL/')
87 -+ file = tkFileDialog.asksaveasfilename(defaultextension=".pse", initialdir='./')
88 - print file
89 - if len(file)>0:
90 - cmd.save(file)
91 -@@ -1574,7 +1574,7 @@ class PGUI:
92 - #------Open Help File---------#
93 - def help(self):
94 - import webbrowser
95 -- webbrowser.open('modules\pmg_tk\startup\Help\EZ-VizWebMain.html')
96 -+ webbrowser.open('GENTOOPYMOL/pmg_tk/startup/ez-vizHelp\EZ-VizWebMain.html')
97 -
98 - #---------------------------------------------------------------#
99 - # #
100 -@@ -2188,7 +2188,7 @@ class PGUI:
101 - import tkFileDialog
102 -
103 - if result == 'Open':
104 -- file=tkFileDialog.askopenfilename(initialdir='C:/Documents and Settings/Administrator/My Documents/')
105 -+ file=tkFileDialog.askopenfilename(initialdir='./')
106 - if file:
107 - cmd.load(file)
108 - self.pdbCode = file
109
110 diff --git a/sci-chemistry/pymol-plugins-ezviz/metadata.xml b/sci-chemistry/pymol-plugins-ezviz/metadata.xml
111 deleted file mode 100644
112 index a534b14c2..000000000
113 --- a/sci-chemistry/pymol-plugins-ezviz/metadata.xml
114 +++ /dev/null
115 @@ -1,22 +0,0 @@
116 -<?xml version="1.0" encoding="UTF-8"?>
117 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
118 -<pkgmetadata>
119 - <maintainer type="person">
120 - <email>jlec@g.o</email>
121 - </maintainer>
122 - <maintainer type="project">
123 - <email>sci-chemistry@g.o</email>
124 - <name>Gentoo Chemistry Project</name>
125 - </maintainer>
126 - <longdescription>
127 -EZ-Viz was developed as an assistance tool for the difficult to
128 -understand user interface of PyMOL. The standard interface is
129 -very complex takes a long time to learn, especially for students
130 -unfamiliar with the chemistry and busy researchers with little
131 -time to learn the commands necessary to use the PyMOL software
132 -to its full extent. EZ-Viz allows for users to navigate through
133 -PyMOL using a series of clickable buttons and tabs to complete
134 -all functions of the PyMol software without ever having to type
135 -a single command.
136 -</longdescription>
137 -</pkgmetadata>
138
139 diff --git a/sci-chemistry/pymol-plugins-ezviz/pymol-plugins-ezviz-1.0.2005-r1.ebuild b/sci-chemistry/pymol-plugins-ezviz/pymol-plugins-ezviz-1.0.2005-r1.ebuild
140 deleted file mode 100644
141 index b51fcfe4e..000000000
142 --- a/sci-chemistry/pymol-plugins-ezviz/pymol-plugins-ezviz-1.0.2005-r1.ebuild
143 +++ /dev/null
144 @@ -1,55 +0,0 @@
145 -# Copyright 1999-2014 Gentoo Foundation
146 -# Distributed under the terms of the GNU General Public License v2
147 -
148 -EAPI=5
149 -
150 -PYTHON_COMPAT=( python2_7 )
151 -
152 -inherit eutils python-r1
153 -
154 -DESCRIPTION="Assistance tool for the difficult to understand user interface of PyMOL"
155 -HOMEPAGE="http://www.rit.edu/cos/ezviz/index.html"
156 -SRC_URI="http://www.rit.edu/cos/ezviz/EZ_Viz.zip -> ${P}.zip"
157 -
158 -SLOT="0"
159 -LICENSE="all-rights-reserved"
160 -KEYWORDS="~amd64 ~x86"
161 -IUSE="doc"
162 -
163 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
164 -
165 -RDEPEND="
166 - ${PYTHON_DEPS}
167 - sci-chemistry/pymol[${PYTHON_USEDEP}]"
168 -DEPEND="app-arch/unzip"
169 -
170 -S="${WORKDIR}/EZ_Viz Folder"
171 -
172 -src_prepare() {
173 - edos2unix ez-viz.py
174 - epatch "${FILESDIR}"/gentoo.patch
175 - for gif in *.GIF; do
176 - mv ${gif} ${gif/.GIF/.gif} || die
177 - done
178 - python_copy_sources
179 - preperation() {
180 - cd "${BUILD_DIR}" || die
181 - sed \
182 - -e "s:GENTOOPYMOL:${EPREFIX}/$(python_get_sitedir):g" \
183 - -i ez-viz.py || die
184 - }
185 - python_foreach_impl preperation
186 -}
187 -
188 -src_install() {
189 - installation() {
190 - cd "${BUILD_DIR}" || die
191 - python_moduleinto pmg_tk/startup/
192 - python_domodule *.py
193 - python_moduleinto pmg_tk/startup/ez-viz/
194 - python_domodule *.gif
195 - }
196 - python_foreach_impl installation
197 - python_foreach_impl python_optimize
198 - dodoc readme.txt
199 -}