From 0be75fe5a0ef9f552373a70ede24745ca664c737 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Tue, 15 Jun 2010 12:36:32 +0000 Subject: Delete deprecation warnings. (Portage version: HEAD/cvs/Linux x86_64) --- sci-chemistry/caver/ChangeLog | 6 +++++- sci-chemistry/caver/caver-0.99.4.ebuild | 10 ++++------ 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'sci-chemistry/caver') 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 + caver-0.99.4.ebuild: + Delete deprecation warnings. 22 Apr 2010; Justin Lecher -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 } -- cgit v1.2.3-65-gdbad