diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-02-27 10:36:49 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-02-27 10:36:49 +0000 |
commit | f3b6cae899f98bc68641ba6db6f6e5ae7e7ac4ff (patch) | |
tree | 7f836b02226939d5e16b3058abc6c69118e93b3a /sci-chemistry/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.25.1.ebuild | |
parent | Version bump. Update site-init file. (diff) | |
download | gentoo-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/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.25.1.ebuild')
-rw-r--r-- | sci-chemistry/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.25.1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
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 +} |