diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-04-12 15:32:15 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-04-12 15:32:15 +0000 |
commit | 6e05b1ee1b258117c55ce4100f954791b19027a3 (patch) | |
tree | 52009998291afb58c0076014ab709d3ec6bf5ae7 /sci-chemistry/pymol-plugins-dssp | |
parent | Version bump for 2.x releases, closes bug #319233 (diff) | |
download | gentoo-2-6e05b1ee1b258117c55ce4100f954791b19027a3.tar.gz gentoo-2-6e05b1ee1b258117c55ce4100f954791b19027a3.tar.bz2 gentoo-2-6e05b1ee1b258117c55ce4100f954791b19027a3.zip |
New addition
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/pymol-plugins-dssp')
-rw-r--r-- | sci-chemistry/pymol-plugins-dssp/ChangeLog | 10 | ||||
-rw-r--r-- | sci-chemistry/pymol-plugins-dssp/metadata.xml | 8 | ||||
-rw-r--r-- | sci-chemistry/pymol-plugins-dssp/pymol-plugins-dssp-110412.ebuild | 48 |
3 files changed, 66 insertions, 0 deletions
diff --git a/sci-chemistry/pymol-plugins-dssp/ChangeLog b/sci-chemistry/pymol-plugins-dssp/ChangeLog new file mode 100644 index 000000000000..4fa4a994ad69 --- /dev/null +++ b/sci-chemistry/pymol-plugins-dssp/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-chemistry/pymol-plugins-dssp +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-dssp/ChangeLog,v 1.1 2011/04/12 15:32:15 jlec Exp $ + +*pymol-plugins-dssp-110412 (12 Apr 2011) + + 12 Apr 2011; Justin Lecher <jlec@gentoo.org> + +pymol-plugins-dssp-110412.ebuild, +metadata.xml: + New addition + diff --git a/sci-chemistry/pymol-plugins-dssp/metadata.xml b/sci-chemistry/pymol-plugins-dssp/metadata.xml new file mode 100644 index 000000000000..dde7ca88a50f --- /dev/null +++ b/sci-chemistry/pymol-plugins-dssp/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-dssp/pymol-plugins-dssp-110412.ebuild b/sci-chemistry/pymol-plugins-dssp/pymol-plugins-dssp-110412.ebuild new file mode 100644 index 000000000000..f0536c0b3cf1 --- /dev/null +++ b/sci-chemistry/pymol-plugins-dssp/pymol-plugins-dssp-110412.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-dssp/pymol-plugins-dssp-110412.ebuild,v 1.1 2011/04/12 15:32:15 jlec Exp $ + +EAPI="3" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit python + +DESCRIPTION="DSSP Plugin for PyMOL" +HOMEPAGE="http://www.biotec.tu-dresden.de/~hongboz/dssp_pymol/dssp_pymol.html" +SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.py.xz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="BSD pymol" +IUSE="" + +RDEPEND=" + >=sci-biology/biopython-1.5.7 + sci-chemistry/dssp + sci-chemistry/pymol" +DEPEND="" + +src_prepare() { + sed \ + -e "s:GENTOO_DSSP:${EPREFIX}/usr/bin/dssp:g" \ + -i ${P}.py || die +} + +src_install() { + installation() { + insinto $(python_get_sitedir)/pmg_tk/startup + doins ${P}.py + } + python_execute_function installation +} + +pkg_postinst() { + python_mod_optimize pmg_tk/startup/${P}.py +} + +pkg_postrm() { + python_mod_cleanup pmg_tk/startup/${P}.py +} |