summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-02-27 10:36:49 +0000
committerJustin Lecher <jlec@gentoo.org>2010-02-27 10:36:49 +0000
commitf3b6cae899f98bc68641ba6db6f6e5ae7e7ac4ff (patch)
tree7f836b02226939d5e16b3058abc6c69118e93b3a /sci-chemistry
parentVersion bump. Update site-init file. (diff)
downloadgentoo-2-f3b6cae899f98bc68641ba6db6f6e5ae7e7ac4ff.tar.gz
gentoo-2-f3b6cae899f98bc68641ba6db6f6e5ae7e7ac4ff.tar.bz2
gentoo-2-f3b6cae899f98bc68641ba6db6f6e5ae7e7ac4ff.zip
Imported from sci overlay
(Portage version: 2.2_rc63/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/pymol-plugins-bni-tools/ChangeLog10
-rw-r--r--sci-chemistry/pymol-plugins-bni-tools/metadata.xml10
-rw-r--r--sci-chemistry/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.25.1.ebuild41
3 files changed, 61 insertions, 0 deletions
diff --git a/sci-chemistry/pymol-plugins-bni-tools/ChangeLog b/sci-chemistry/pymol-plugins-bni-tools/ChangeLog
new file mode 100644
index 000000000000..2f197c522c52
--- /dev/null
+++ b/sci-chemistry/pymol-plugins-bni-tools/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-chemistry/pymol-plugins-bni-tools
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-bni-tools/ChangeLog,v 1.1 2010/02/27 10:36:49 jlec Exp $
+
+*pymol-plugins-bni-tools-0.25.1 (27 Feb 2010)
+
+ 27 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+ +pymol-plugins-bni-tools-0.25.1.ebuild, +metadata.xml:
+ Imported from sci overlay
+
diff --git a/sci-chemistry/pymol-plugins-bni-tools/metadata.xml b/sci-chemistry/pymol-plugins-bni-tools/metadata.xml
new file mode 100644
index 000000000000..4aaae064be71
--- /dev/null
+++ b/sci-chemistry/pymol-plugins-bni-tools/metadata.xml
@@ -0,0 +1,10 @@
+<?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>
+ <name>Justin Lecher (jlec)</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/sci-chemistry/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.25.1.ebuild b/sci-chemistry/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.25.1.ebuild
new file mode 100644
index 000000000000..02e90fe2bba2
--- /dev/null
+++ b/sci-chemistry/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.25.1.ebuild
@@ -0,0 +1,41 @@
+# 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-bni-tools/pymol-plugins-bni-tools-0.25.1.ebuild,v 1.1 2010/02/27 10:36:49 jlec Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit python versionator
+
+MY_PN="${PN#pymol-plugins-}"
+MY_P="${MY_PN}-$(delete_version_separator 2)"
+
+DESCRIPTION="Gives Pymol additional functionalities and presets to the PyMOL GUI"
+HOMEPAGE="http://bni-tools.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.zip"
+
+LICENSE="CNRI"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sci-chemistry/pymol"
+DEPEND="app-arch/unzip"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+src_install(){
+ installation() {
+ insinto $(python_get_sitedir)/pmg_tk/startup/
+ doins bni-tools.py || die "Failed to install ${P}"
+ }
+ python_execute_function installation
+ dodoc readme.txt || die "No dodoc"
+}
+
+pkg_postinst(){
+ python_mod_optimize pmg_tk/startup
+}
+
+pkg_postrm() {
+ python_mod_cleanup pmg_tk/startup
+}