diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-chemistry/pymol-plugins-emovie | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-chemistry/pymol-plugins-emovie')
4 files changed, 85 insertions, 0 deletions
diff --git a/sci-chemistry/pymol-plugins-emovie/Manifest b/sci-chemistry/pymol-plugins-emovie/Manifest new file mode 100644 index 000000000000..26303adeb07b --- /dev/null +++ b/sci-chemistry/pymol-plugins-emovie/Manifest @@ -0,0 +1 @@ +DIST eMovie_package.zip 22840 RMD160 1576bbf2007f82f6d06b0a79d45ee634d1d28be5 SHA1 4a3ed376cfe612f515c9d0390d5c4b0dead8de72 SHA256 a899d08f43902f803a797ddbd1052c687db03add53b2f815c91ae83223cc7f82 diff --git a/sci-chemistry/pymol-plugins-emovie/files/1.0.4-indent.patch b/sci-chemistry/pymol-plugins-emovie/files/1.0.4-indent.patch new file mode 100644 index 000000000000..a9a77e5055dd --- /dev/null +++ b/sci-chemistry/pymol-plugins-emovie/files/1.0.4-indent.patch @@ -0,0 +1,22 @@ +diff --git a/eMovie.py b/eMovie.py +index a865732..8b5b068 100644 +--- a/eMovie.py ++++ b/eMovie.py +@@ -931,7 +931,7 @@ class Story(tkSimpleDialog.Dialog): + + if self.parent is not None: + self.geometry("+%d+%d" % (parent.winfo_rootx()+50,parent.winfo_rooty()+50)) +- self.initial_focus.focus_set() ++ self.initial_focus.focus_set() + + self.wait_window(self) + +@@ -2041,7 +2041,7 @@ class AddMorph(tkSimpleDialog.Dialog): + + if self.parent is not None: + self.geometry("+%d+%d" % (parent.winfo_rootx()+50,parent.winfo_rooty()+50)) +- self.initial_focus.focus_set() ++ self.initial_focus.focus_set() + + self.wait_window(self) + diff --git a/sci-chemistry/pymol-plugins-emovie/metadata.xml b/sci-chemistry/pymol-plugins-emovie/metadata.xml new file mode 100644 index 000000000000..18330bb401f1 --- /dev/null +++ b/sci-chemistry/pymol-plugins-emovie/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-chemistry</herd> +<maintainer> + <email>jlec@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild b/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild new file mode 100644 index 000000000000..38a48fd485fe --- /dev/null +++ b/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +SUPPORT_PYTHON_ABIS="1" + +inherit eutils python + +DESCRIPTION="eMovie is a plug-in tool for the molecular visualization program PyMOL" +SRC_URI="http://www.weizmann.ac.il/ISPC/eMovie_package.zip" +HOMEPAGE="http://www.weizmann.ac.il/ISPC/eMovie.html" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64 ~x86-linux ~amd64-linux" +IUSE="" + +RDEPEND=">sci-chemistry/pymol-0.99" +DEPEND="app-arch/unzip" +#RESTRICT_PYTHON_ABIS="3.*" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-indent.patch + + mkdir ${P} + mv e* ${P}/ + + python_copy_sources + + conversion() { + [[ "${PYTHON_ABI}" == 2.* ]] && return + + 2to3-${PYTHON_ABI} -w eMovie.py > /dev/null + } + python_execute_function --action-message 'Applying patches for Python ${PYTHON_ABI}' --failure-message 'Applying patches for Python ${PYTHON_ABI} failed' -s conversion +} + +src_install(){ + installation() { + insinto $(python_get_sitedir)/pmg_tk/startup/ + doins eMovie.py || die + } + python_execute_function -s installation +} + +pkg_postinst(){ + python_mod_optimize pmg_tk/startup +} + +pkg_postrm() { + python_mod_cleanup pmg_tk/startup +} |