pymol-plugins-ezviz removed from tree
authorJustin Lecher <jlec@gentoo.org>
Thu, 8 Apr 2010 18:47:57 +0000 (18:47 +0000)
committerJustin Lecher <jlec@gentoo.org>
Thu, 8 Apr 2010 18:47:57 +0000 (18:47 +0000)
sci-chemistry/pymol-plugins-ezviz/ChangeLog [deleted file]
sci-chemistry/pymol-plugins-ezviz/Manifest [deleted file]
sci-chemistry/pymol-plugins-ezviz/files/gentoo.patch [deleted file]
sci-chemistry/pymol-plugins-ezviz/metadata.xml [deleted file]
sci-chemistry/pymol-plugins-ezviz/pymol-plugins-ezviz-1.0.2005.ebuild [deleted file]

diff --git a/sci-chemistry/pymol-plugins-ezviz/ChangeLog b/sci-chemistry/pymol-plugins-ezviz/ChangeLog
deleted file mode 100644 (file)
index 8f4cb05..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# ChangeLog for sci-chemistry/pymol-plugins-ezviz
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-ezviz/ChangeLog,v 1.1 2010/03/27 08:49:17 jlec Exp $
-
-*pymol-plugins-ezviz-1.0.2005 (27 Mar 2010)
-
-  27 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org>
-  +pymol-plugins-ezviz-1.0.2005.ebuild, +files/gentoo.patch, +metadata.xml:
-  New Ebuild requested per 309737
-
diff --git a/sci-chemistry/pymol-plugins-ezviz/Manifest b/sci-chemistry/pymol-plugins-ezviz/Manifest
deleted file mode 100644 (file)
index 5f1d3b3..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
------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-----
diff --git a/sci-chemistry/pymol-plugins-ezviz/files/gentoo.patch b/sci-chemistry/pymol-plugins-ezviz/files/gentoo.patch
deleted file mode 100644 (file)
index ba28af3..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-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
diff --git a/sci-chemistry/pymol-plugins-ezviz/metadata.xml b/sci-chemistry/pymol-plugins-ezviz/metadata.xml
deleted file mode 100644 (file)
index bfccced..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<pkgmetadata>
-<herd>sci-chemistry</herd>
-<maintainer>
-       <email>jlec@gentoo.org</email>
-</maintainer>
-<longdescription>
-       EZ-Viz was developed as an assistance tool for the difficult to 
-       understand user interface of PyMOL. The standard interface is 
-       very complex takes a long time to learn, especially for students 
-       unfamiliar with the chemistry and busy researchers with little 
-       time to learn the commands necessary to use the PyMOL software 
-       to its full extent. EZ-Viz allows for users to navigate through 
-       PyMOL using a series of clickable buttons and tabs to complete 
-       all functions of the PyMol software without ever having to type 
-       a single command.
-</longdescription>
-</pkgmetadata>
diff --git a/sci-chemistry/pymol-plugins-ezviz/pymol-plugins-ezviz-1.0.2005.ebuild b/sci-chemistry/pymol-plugins-ezviz/pymol-plugins-ezviz-1.0.2005.ebuild
deleted file mode 100644 (file)
index eecaef8..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-# 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
-}