public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/pymol-plugins-emovie: metadata.xml ChangeLog pymol-plugins-emovie-1.0.4.ebuild
@ 2010-02-25 16:24 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-02-25 16:24 UTC (permalink / raw
  To: gentoo-commits

jlec        10/02/25 16:24:20

  Added:                metadata.xml ChangeLog
                        pymol-plugins-emovie-1.0.4.ebuild
  Log:
  New plugin for pymol
  (Portage version: 2.2_rc63/cvs/Linux i686)

Revision  Changes    Path
1.1                  sci-chemistry/pymol-plugins-emovie/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<pkgmetadata>
	<herd>sci-chemistry</herd>
<maintainer>
	<email>jlec@gentoo.org</email>
</maintainer>
</pkgmetadata>



1.1                  sci-chemistry/pymol-plugins-emovie/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for sci-chemistry/pymol-plugins-emovie
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-emovie/ChangeLog,v 1.1 2010/02/25 16:24:20 jlec Exp $

*pymol-plugins-emovie-1.0.4 (25 Feb 2010)

  25 Feb 2010; Justin Lecher (jlec) <jlec@j-schmitz.net>
  +files/1.0.4-indent.patch, +pymol-plugins-emovie-1.0.4.ebuild,
  +metadata.xml:
  eMovie is a free tool that makes the creation of molecular movies both
  easy and intuitive via a breakthrough storyboard interface, similar in
  nature to what is used in the creation of traditional movies. eMovie is a
  plug-in for PyMOL, a powerful, open source, and multi-platform molecular
  graphics program.




1.1                  sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild?rev=1.1&content-type=text/plain

Index: pymol-plugins-emovie-1.0.4.ebuild
===================================================================
# 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-emovie/pymol-plugins-emovie-1.0.4.ebuild,v 1.1 2010/02/25 16:24:20 jlec Exp $

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 --no-link

	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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-25 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25 16:24 [gentoo-commits] gentoo-x86 commit in sci-chemistry/pymol-plugins-emovie: metadata.xml ChangeLog pymol-plugins-emovie-1.0.4.ebuild Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox