summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-14 19:39:00 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-14 19:39:00 +0000
commitd0082a17bb53f7d5d1543106f90a242529a5b74d (patch)
tree521c75ac6a04df2011d3592750f7d63111945ac4 /media-gfx
parentversion bump (diff)
downloadgentoo-2-d0082a17bb53f7d5d1543106f90a242529a5b74d.tar.gz
gentoo-2-d0082a17bb53f7d5d1543106f90a242529a5b74d.tar.bz2
gentoo-2-d0082a17bb53f7d5d1543106f90a242529a5b74d.zip
Delete deprecation warnings.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/asymptote/ChangeLog6
-rw-r--r--media-gfx/asymptote/asymptote-1.86.ebuild15
2 files changed, 10 insertions, 11 deletions
diff --git a/media-gfx/asymptote/ChangeLog b/media-gfx/asymptote/ChangeLog
index 03c193f9c5d3..bf8a7ab0bd64 100644
--- a/media-gfx/asymptote/ChangeLog
+++ b/media-gfx/asymptote/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/asymptote
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.70 2010/06/07 16:42:49 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.71 2010/06/14 19:39:00 arfrever Exp $
+
+ 14 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ asymptote-1.86.ebuild:
+ Delete deprecation warnings.
*asymptote-1.96 (07 Jun 2010)
diff --git a/media-gfx/asymptote/asymptote-1.86.ebuild b/media-gfx/asymptote/asymptote-1.86.ebuild
index a7a180c7401b..cd97e795a5f6 100644
--- a/media-gfx/asymptote/asymptote-1.86.ebuild
+++ b/media-gfx/asymptote/asymptote-1.86.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/media-gfx/asymptote/asymptote-1.86.ebuild,v 1.4 2009/11/26 11:08:44 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-1.86.ebuild,v 1.5 2010/06/14 19:39:00 arfrever Exp $
EAPI=2
inherit eutils autotools elisp-common latex-package multilib python
@@ -139,8 +139,7 @@ src_install() {
# asymptote.py
if use python; then
- python_version
- insinto /usr/$(get_libdir)/python${PYVER}/site-packages
+ insinto $(python_get_sitedir)
doins base/${PN}.py
fi
@@ -174,11 +173,7 @@ src_install() {
}
pkg_postinst() {
- if use python; then
- python_version
- python_mod_compile \
- /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}.py
- fi
+ use python && python_mod_optimize $(python_get_sitedir)/${PN}.py
use latex && latex-package_rehash
@@ -191,5 +186,5 @@ pkg_postinst() {
pkg_postrm() {
use latex && latex-package_rehash
use emacs && elisp-site-regen
- use python && python_mod_cleanup
+ use python && python_mod_cleanup $(python_get_sitedir)/${PN}.py
}