+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX gentoo.patch 4616 RMD160 d74f901b5e6b7844b92d93d93ce1ad4ee3950536 SHA1 8a96fabf2fb8b15c24b27bcba4382a10b769657c SHA256 3e96d68e75f3f6d75bc824daab2d025e58c6184809eb307d802bfbdb53341494
-DIST pymol-plugins-ezviz-1.0.2005.zip 137431 RMD160 1f36f033d5020acccc6b4f7612a934b004fe95f9 SHA1 7ac2ee87a6d25c5a5b8b55b8e88c2cf624a6c54a SHA256 742c18d338ccc0567203c122a5f7ce0f903bf3247f7620337828d9dd5ae4f008
-EBUILD pymol-plugins-ezviz-1.0.2005.ebuild 1372 RMD160 2dd7fcbf1742972e3e2903ff8e4302927fc8c953 SHA1 2fefa31555bd8d35e5b7b4fb51fcaf728bdf312b SHA256 643bb009d4d7cfaba9a05fa8ee8db5209ac2f977476d445d889214b2d4a2c40f
-MISC ChangeLog 447 RMD160 f3abcddf29c6187756262a71994f6244e58a7d8d SHA1 646b397be16bf78c13efe89141081470864bf693 SHA256 7343f2099f25e2440cda010871861eec0f19f1efbe4ca071c335276a6535f2d7
-MISC metadata.xml 734 RMD160 eab17443806462e202717773dfc67e69cd542e6e SHA1 f27a731f0f4915847c3cf13d43fd850f01816332 SHA256 6119764c7548a12529bd04d76aa119c4cefa59d61ec4954ae6e895a564f257ae
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkutxpQACgkQgAnW8HDreRYlvQCfTz6Zz6omI1MW7+3B9viAy8Yi
-KZ8AoJmbUuMFuQ8vLUpHFS+5RZuxnm2k
-=ojpN
------END PGP SIGNATURE-----
+++ /dev/null
-diff --git a/ez-viz.py b/ez-viz.py
-index 1d8e847..8d50e6b 100755
---- a/ez-viz.py
-+++ b/ez-viz.py
-@@ -363,27 +363,27 @@ class PGUI:
- global splash
-
- # Images used in Presets tab
-- defaultImage = PhotoImage( file="modules\pmg_tk\startup\default.gif")
-- chains = PhotoImage(file="modules\pmg_tk\startup\chains.GIF")
-- heteroImg = PhotoImage(file="modules\pmg_tk\startup\heteroAtom.GIF")
-- ballStickImg = PhotoImage(file="C:\Program Files\DeLano Scientific\PyMOL\modules\pmg_tk\startup\showBallStick.GIF")
-- surfaceImg = PhotoImage(file="modules\pmg_tk\startup\surface.GIF")
-- polarityImg = PhotoImage(file="modules\pmg_tk\startup\polarity.GIF")
-- puttyImg = PhotoImage(file="modules\pmg_tk\startup\putty.GIF")
-- aromaticsImg = PhotoImage(file="modules\pmg_tk\startup\showAromatics.GIF")
-- dnaImg = PhotoImage(file="modules\pmg_tk\startup\dna.GIF")
-+ defaultImage = PhotoImage( file="GENTOOPYMOL/pmg_tk/startup/ez-viz/default.gif")
-+ chains = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/chains.gif")
-+ heteroImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/heteroAtom.gif")
-+ ballStickImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/showBallStick.gif")
-+ surfaceImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/surface.gif")
-+ polarityImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/polarity.gif")
-+ puttyImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/putty.gif")
-+ aromaticsImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/showAromatics.gif")
-+ dnaImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/dna.gif")
-
- # Movie tab images
-- ligand = PhotoImage(file="modules\pmg_tk\startup\zoom.GIF")
-- build = PhotoImage(file="modules\pmg_tk\startup\prot.GIF")
-- chainsMovieImg = PhotoImage(file="modules\pmg_tk\startup\chainsMovie.GIF")
-- rotateImg = PhotoImage(file="modules\pmg_tk\startup\Rotate.GIF")
-- playButton = PhotoImage(file="modules\pmg_tk\startup\play.GIF")
-- stopButton = PhotoImage(file="modules\pmg_tk\startup\stop.GIF")
-- rewindButton = PhotoImage(file="modules\pmg_tk\startup\Rewind.GIF")
-+ ligand = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/zoom.gif")
-+ build = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/prot.gif")
-+ chainsMovieImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/chainsMovie.gif")
-+ rotateImg = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/Rotate.gif")
-+ playButton = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/play.gif")
-+ stopButton = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/stop.gif")
-+ rewindButton = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/Rewind.gif")
-
- # Welcome tab image
-- splash = PhotoImage(file="modules\pmg_tk\startup\splash.GIF")
-+ splash = PhotoImage(file="GENTOOPYMOL/pmg_tk/startup/ez-viz/splash.gif")
- #--------------------------------------#
- # #
- # PRESETS METHODS #
-@@ -1035,7 +1035,7 @@ class PGUI:
- if tkMessageBox.askyesno('Ray Trace Image', "Do you want to ray trace you image before saving it? Depending on your image "+
- "this make take a few minutes if you select yes."):
- cmd.ray()
-- file = tkFileDialog.asksaveasfilename(defaultextension=".png", initialdir="C:/Program Files/DeLano Scientific/PyMOL/")
-+ file = tkFileDialog.asksaveasfilename(defaultextension=".png", initialdir="./")
- if len(file)>0:
- cmd.save(file)
-
-@@ -1045,7 +1045,7 @@ class PGUI:
- import tkFileDialog
- import tkMessageBox
-
-- file = tkFileDialog.asksaveasfilename(defaultextension=".pse", initialdir='C:/Program Files/Delano Scientific/PyMOL/')
-+ file = tkFileDialog.asksaveasfilename(defaultextension=".pse", initialdir='./')
- print file
- if len(file)>0:
- cmd.save(file)
-@@ -1574,7 +1574,7 @@ class PGUI:
- #------Open Help File---------#
- def help(self):
- import webbrowser
-- webbrowser.open('modules\pmg_tk\startup\Help\EZ-VizWebMain.html')
-+ webbrowser.open('GENTOOPYMOL/pmg_tk/startup/ez-vizHelp\EZ-VizWebMain.html')
-
- #---------------------------------------------------------------#
- # #
-@@ -2188,7 +2188,7 @@ class PGUI:
- import tkFileDialog
-
- if result == 'Open':
-- file=tkFileDialog.askopenfilename(initialdir='C:/Documents and Settings/Administrator/My Documents/')
-+ file=tkFileDialog.askopenfilename(initialdir='./')
- if file:
- cmd.load(file)
- self.pdbCode = file
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-ezviz/pymol-plugins-ezviz-1.0.2005.ebuild,v 1.1 2010/03/27 08:49:17 jlec Exp $
-
-EAPI="3"
-
-SUPPORT_PYTHON_ABIS="1"
-
-inherit eutils python
-
-DESCRIPTION="assistance tool for the difficult to understand user interface of PyMOL"
-HOMEPAGE="http://www.rit.edu/cos/ezviz/index.html"
-SRC_URI="
- mirror://gentoo/${P}.zip
- mirror://gentoo/${P}.zip"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-LICENSE="as-is"
-IUSE="doc"
-
-RDEPEND="sci-chemistry/pymol"
-DEPEND="
- app-arch/unzip
- ${RDEPEND}"
-
-RESTRICT_PYTHON_ABIS="3.*"
-
-S="${WORKDIR}/EZ_Viz Folder"
-
-src_prepare() {
- edos2unix ez-viz.py
- python_copy_sources
- preperation() {
- epatch "${FILESDIR}"/gentoo.patch
- sed \
- -e "s:GENTOOPYMOL:${EPREFIX}/$(python_get_sitedir):g" \
- -i ez-viz.py || die
- }
- python_execute_function -s preperation
-}
-
-src_install() {
- installation() {
- insinto $(python_get_sitedir)/pmg_tk/startup/
- doins *.py || die
- insinto $(python_get_sitedir)/pmg_tk/startup/ez-viz/
- doins *.gif || die
- for gif in *.GIF; do
- newins ${gif} ${gif/.GIF/.gif} || die
- done
- }
- python_execute_function -s installation
- dodoc readme.txt || die
-}
-
-pkg_postinst() {
- python_mod_optimize pmg_tk/startup
-}
-
-pkg_postrm() {
- python_mod_cleanup pmg_tk/startup
-}