public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ryan Hill (dirtyepic)" <dirtyepic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-dicts/opendict: ChangeLog opendict-0.6.3.ebuild
Date: Sat, 06 Mar 2010 04:26:29 +0000	[thread overview]
Message-ID: <E1Nnlav-0001X4-0P@stork.gentoo.org> (raw)

dirtyepic    10/03/06 04:26:29

  Modified:             ChangeLog opendict-0.6.3.ebuild
  Log:
  Drop use of deprecated python.eclass functions.
  (Portage version: 2.2_rc65/cvs/Linux x86_64)

Revision  Changes    Path
1.18                 app-dicts/opendict/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/opendict/ChangeLog?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/opendict/ChangeLog?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/opendict/ChangeLog?r1=1.17&r2=1.18

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ChangeLog	23 Nov 2009 00:22:01 -0000	1.17
+++ ChangeLog	6 Mar 2010 04:26:28 -0000	1.18
@@ -1,6 +1,9 @@
 # ChangeLog for app-dicts/opendict
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.17 2009/11/23 00:22:01 dirtyepic Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.18 2010/03/06 04:26:28 dirtyepic Exp $
+
+  06 Mar 2010; Ryan Hill <dirtyepic@gentoo.org> opendict-0.6.3.ebuild:
+  Drop use of deprecated python.eclass functions.
 
 *opendict-0.6.3 (23 Nov 2009)
 



1.2                  app-dicts/opendict/opendict-0.6.3.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/opendict/opendict-0.6.3.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/opendict/opendict-0.6.3.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/opendict/opendict-0.6.3.ebuild?r1=1.1&r2=1.2

Index: opendict-0.6.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.6.3.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- opendict-0.6.3.ebuild	23 Nov 2009 00:22:01 -0000	1.1
+++ opendict-0.6.3.ebuild	6 Mar 2010 04:26:28 -0000	1.2
@@ -1,10 +1,10 @@
-# 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/app-dicts/opendict/opendict-0.6.3.ebuild,v 1.1 2009/11/23 00:22:01 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.6.3.ebuild,v 1.2 2010/03/06 04:26:28 dirtyepic Exp $
 
 EAPI=2
 
-inherit eutils python gnome2
+inherit eutils gnome2 python
 
 DESCRIPTION="OpenDict is a free cross-platform dictionary program."
 HOMEPAGE="http://opendict.sourceforge.net/"
@@ -14,27 +14,28 @@
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE=""
 
-RDEPEND=">=virtual/python-2.3
-	dev-python/wxpython:2.8
+RDEPEND="dev-python/wxpython:2.8
 	dev-python/pyxml"
 
+PYTHON_DEPEND="2"
+
 src_prepare() {
-	#epatch "${FILESDIR}/${PN}-0.6.1-desktop.patch"
 	sed -e "s:), '..')):), '../../../../..', 'share', 'opendict')):g" \
 		-i "${S}/lib/info.py"
 }
 
 src_configure() {
-	:
+	# override gnome2_src_configure
+	default
 }
 
 src_compile() {
+	# evil makefile
 	:
 }
 
 src_install() {
-	python_version
-	DHOME="/usr/lib/python${PYVER}/site-packages/opendict"
+	# makefile is broken, do it manually
 
 	dodir /usr/share/${PN}/dictionaries/plugins # global dictionary plugins folder
 
@@ -42,12 +43,12 @@
 	insinto /usr/share/${PN}
 	doins "${S}"/copying.html
 
-	insinto "${DHOME}/lib"
-	doins -r "${S}"/lib/*
-
 	insinto /usr/share/${PN}/pixmaps
 	doins "${S}"/pixmaps/*
 
+	DHOME="$(python_get_sitedir)/opendict"
+	insinto "${DHOME}/lib"
+	doins -r "${S}"/lib/*
 	exeinto "${DHOME}"
 	doexe opendict.py
 
@@ -69,16 +70,18 @@
 }
 
 pkg_postinst() {
-	python_mod_optimize \
-		/usr/$(get_libdir)/python${PYVER}/site-packages/opendict
+	python_mod_optimize $(python_get_sitedir)/opendict
 	gnome2_icon_cache_update
 
+	echo
 	elog "If you want system-wide plugins, unzip them into"
 	elog "${ROOT}usr/share/${PN}/dictionaries/plugins"
+	elog
 	elog "Some are available from http://opendict.sourceforge.net/?cid=3"
+	echo
 }
 
 pkg_postrm() {
-	python_mod_cleanup
+	python_mod_cleanup $(python_get_sitedir)/opendict
 	gnome2_icon_cache_update
 }






             reply	other threads:[~2010-03-06  4:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-06  4:26 Ryan Hill (dirtyepic) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-04-13  0:19 [gentoo-commits] gentoo-x86 commit in app-dicts/opendict: ChangeLog opendict-0.6.3.ebuild Manuel Rueger (mrueg)
2013-02-05  2:13 Ryan Hill (dirtyepic)
2011-10-19 16:15 Samuli Suominen (ssuominen)
2011-05-14 14:51 Thomas Kahle (tomka)
2011-04-26 11:21 Markos Chandras (hwoarang)
2010-03-08  2:22 Ryan Hill (dirtyepic)
2010-03-08  0:47 Jonathan Callen (abcd)
2009-11-23  0:22 Ryan Hill (dirtyepic)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Nnlav-0001X4-0P@stork.gentoo.org \
    --to=dirtyepic@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox