summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-02-28 13:53:19 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-02-28 13:53:19 +0000
commita887e8c39aa177afc9f552a940f4b41bac5f2be7 (patch)
tree515308f9e23ce69d08d3a1e3b3447ec68c9014ac /sci-chemistry/pymol-plugins-promol
parentDon't use --no-link option of python_copy_sources(). (diff)
downloadgentoo-2-a887e8c39aa177afc9f552a940f4b41bac5f2be7.tar.gz
gentoo-2-a887e8c39aa177afc9f552a940f4b41bac5f2be7.tar.bz2
gentoo-2-a887e8c39aa177afc9f552a940f4b41bac5f2be7.zip
Don't use --no-link option of python_copy_sources().
(Portage version: 15497-svn/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/pymol-plugins-promol')
-rw-r--r--sci-chemistry/pymol-plugins-promol/pymol-plugins-promol-3.0.2.ebuild27
1 files changed, 13 insertions, 14 deletions
diff --git a/sci-chemistry/pymol-plugins-promol/pymol-plugins-promol-3.0.2.ebuild b/sci-chemistry/pymol-plugins-promol/pymol-plugins-promol-3.0.2.ebuild
index 8440d2b1d006..9d1ca6ecf24d 100644
--- a/sci-chemistry/pymol-plugins-promol/pymol-plugins-promol-3.0.2.ebuild
+++ b/sci-chemistry/pymol-plugins-promol/pymol-plugins-promol-3.0.2.ebuild
@@ -1,9 +1,9 @@
# 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-promol/pymol-plugins-promol-3.0.2.ebuild,v 1.1 2010/02/20 12:16:49 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-promol/pymol-plugins-promol-3.0.2.ebuild,v 1.2 2010/02/28 13:53:19 arfrever Exp $
EAPI="3"
-
+PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
inherit python
@@ -25,7 +25,7 @@ DEPEND=""
RESTRICT_PYTHON_ABIS="2.4 3.*"
src_prepare() {
- python_copy_sources --no-link
+ python_copy_sources
preparation() {
sed -e "s:./modules/pmg_tk/startup:$(python_get_sitedir)/pmg_tk/startup/ProMol:g" -i ProMOL_302.py
}
@@ -34,28 +34,27 @@ src_prepare() {
src_install(){
installation() {
- insinto $(python_get_sitedir)/pmg_tk/startup/ProMol/
- doins -r PDB_List AminoPics Motifs *GIF pdb_entry_type.txt Master.txt Scripts || die
- insinto $(python_get_sitedir)/pmg_tk/startup/
+ insinto $(python_get_sitedir)/pmg_tk/startup/ProMol/
+ doins -r PDB_List AminoPics Motifs *GIF pdb_entry_type.txt Master.txt Scripts || die
+ insinto $(python_get_sitedir)/pmg_tk/startup/
doins *.py || die
- dosym ../../../../../../share/doc/${PF}/html/Help \
+ dosym ../../../../../../share/doc/${PF}/html/Help \
$(python_get_sitedir)/pmg_tk/startup/ProMol/Help || die
- dosym ../../../../../../share/doc/${PF}/html/Thanks.html \
+ dosym ../../../../../../share/doc/${PF}/html/Thanks.html \
$(python_get_sitedir)/pmg_tk/startup/ProMol/Thanks.html || die
- dosym ../../../../../../share/doc/${PF}/html/EDMHelp.htm \
+ dosym ../../../../../../share/doc/${PF}/html/EDMHelp.htm \
$(python_get_sitedir)/pmg_tk/startup/ProMol/EDMHelp.htm || die
}
python_execute_function -s installation
- dodoc *doc || die
- dohtml -r Thanks.html EDMHelp.htm Help
+ dodoc *doc || die
+ dohtml -r Thanks.html EDMHelp.htm Help
}
pkg_postinst(){
- python_mod_optimize pmg_tk/startup/
+ python_mod_optimize pmg_tk/startup/
}
pkg_postrm() {
- python_mod_cleanup pmg_tk/startup/
+ python_mod_cleanup pmg_tk/startup/
}
-