diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-02-21 10:04:20 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-02-21 10:04:20 +0000 |
commit | 9b973983ce15ba109da090b823fc31cfac2d0384 (patch) | |
tree | f96eb9c41723298c8017ff255b99e580736183bc /sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild | |
parent | EAPI=3, keywording for {amd64,x86}-linux and make it work (diff) | |
download | historical-9b973983ce15ba109da090b823fc31cfac2d0384.tar.gz historical-9b973983ce15ba109da090b823fc31cfac2d0384.tar.bz2 historical-9b973983ce15ba109da090b823fc31cfac2d0384.zip |
Make it really multiple python version aware
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild')
-rw-r--r-- | sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild b/sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild index a02b18593762..dd516a46f7c8 100644 --- a/sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild +++ b/sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild @@ -1,6 +1,6 @@ # 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-cealign/pymol-plugins-cealign-0.9.ebuild,v 1.3 2010/02/19 12:32:39 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-cealign/pymol-plugins-cealign-0.9.ebuild,v 1.4 2010/02/21 10:04:20 jlec Exp $ EAPI="3" @@ -30,23 +30,21 @@ src_prepare() { } src_install(){ - mtype=$(uname -m) - distutils_src_install installation() { insinto $(python_get_sitedir)/cealign doins qkabsch.py cealign.py || die - } - python_execute_function -s installation - cat >> "${T}"/pymolrc <<- EOF - run ${EPREFIX}/$(python_get_sitedir -f)/cealign/qkabsch.py - run ${EPREFIX}/$(python_get_sitedir -f)/cealign/cealign.py - EOF + cat > "${T}"/pymolrc <<- EOF + run ${EPREFIX}/$(python_get_sitedir)/cealign/qkabsch.py + run ${EPREFIX}/$(python_get_sitedir)/cealign/cealign.py + EOF - insinto $(python_get_sitedir -f)/pymol - doins "${T}"/pymolrc || die + insinto $(python_get_sitedir)/pymol + doins "${T}"/pymolrc || die + } + python_execute_function -s installation dodoc CHANGES doc/cealign.pdf || die } |