summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-15 12:36:32 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-15 12:36:32 +0000
commit0be75fe5a0ef9f552373a70ede24745ca664c737 (patch)
tree46a697914500874c598d1e349613daf6ad4878f8 /sci-chemistry
parentold (diff)
downloadgentoo-2-0be75fe5a0ef9f552373a70ede24745ca664c737.tar.gz
gentoo-2-0be75fe5a0ef9f552373a70ede24745ca664c737.tar.bz2
gentoo-2-0be75fe5a0ef9f552373a70ede24745ca664c737.zip
Delete deprecation warnings.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/caver/ChangeLog6
-rw-r--r--sci-chemistry/caver/caver-0.99.4.ebuild10
2 files changed, 9 insertions, 7 deletions
diff --git a/sci-chemistry/caver/ChangeLog b/sci-chemistry/caver/ChangeLog
index f9b3f601fb10..e9df33715615 100644
--- a/sci-chemistry/caver/ChangeLog
+++ b/sci-chemistry/caver/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/caver
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/caver/ChangeLog,v 1.15 2010/04/22 20:06:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/caver/ChangeLog,v 1.16 2010/06/15 12:36:32 arfrever Exp $
+
+ 15 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ caver-0.99.4.ebuild:
+ Delete deprecation warnings.
22 Apr 2010; Justin Lecher <jlec@gentoo.org> -caver-0.99.2.ebuild,
-caver-2.0.003.ebuild:
diff --git a/sci-chemistry/caver/caver-0.99.4.ebuild b/sci-chemistry/caver/caver-0.99.4.ebuild
index cb8b7a2492fe..59a2a9476d30 100644
--- a/sci-chemistry/caver/caver-0.99.4.ebuild
+++ b/sci-chemistry/caver/caver-0.99.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/caver/caver-0.99.4.ebuild,v 1.3 2009/07/07 23:14:33 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/caver/caver-0.99.4.ebuild,v 1.4 2010/06/15 12:36:32 arfrever Exp $
inherit multilib python eutils
@@ -44,11 +44,10 @@ src_install() {
make DESTDIR="${D}" install
doman man/man1/* || die "Failed to install man page."
if use pymol; then
- python_version
sed -e "s:^\(CAVER_BINARY_LOCATION\).*:\1 = \"usr/bin/caver\":g" \
-i "${WORKDIR}"/${PLUG_P}/caver.py \
|| die "Failed setting caver location"
- insinto /usr/$(get_libdir)/python${PYVER}/site-packages/pmg_tk/startup
+ insinto $(python_get_sitedir)/pmg_tk/startup
doins "${WORKDIR}"/${PLUG_P}/caver.py || die "Failed to install plugin"
fi
cd "${S}"/pdb2caver
@@ -58,7 +57,6 @@ src_install() {
pkg_postinst() {
if use pymol; then
- python_mod_compile \
- /usr/$(get_libdir)/python${PYVER}/site-packages/pmg_tk/startup/caver.py
+ python_mod_optimize $(python_get_sitedir)/pmg_tk/startup/caver.py
fi
}