public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-text/queequeg: ChangeLog queequeg-0.91.ebuild
@ 2010-06-11 21:38 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-06-11 21:38 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/06/11 21:38:05

  Modified:             ChangeLog queequeg-0.91.ebuild
  Log:
  Delete call to deprecated python_version() (bug #312121).
  (Portage version: HEAD/cvs/Linux x86_64)

Revision  Changes    Path
1.8                  app-text/queequeg/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/queequeg/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	5 Aug 2007 09:01:24 -0000	1.7
+++ ChangeLog	11 Jun 2010 21:38:05 -0000	1.8
@@ -1,6 +1,10 @@
 # ChangeLog for app-text/queequeg
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/queequeg/ChangeLog,v 1.7 2007/08/05 09:01:24 philantrop Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/queequeg/ChangeLog,v 1.8 2010/06/11 21:38:05 arfrever Exp $
+
+  11 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  queequeg-0.91.ebuild:
+  Delete call to deprecated python_version() (bug #312121).
 
   05 Aug 2007; Wulf C. Krueger <philantrop@gentoo.org> queequeg-0.91.ebuild:
   Minor fix for compatibility with app-dicts/wordnet-3.0. Tested on amd64 and



1.9                  app-text/queequeg/queequeg-0.91.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild?r1=1.8&r2=1.9

Index: queequeg-0.91.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- queequeg-0.91.ebuild	5 Aug 2007 09:01:24 -0000	1.8
+++ queequeg-0.91.ebuild	11 Jun 2010 21:38:05 -0000	1.9
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild,v 1.8 2007/08/05 09:01:24 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild,v 1.9 2010/06/11 21:38:05 arfrever Exp $
 
 inherit distutils multilib
 
@@ -31,8 +31,7 @@
 
 src_install() {
 
-	python_version
-	local prefix=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+	local prefix=$(python_get_sitedir)/${PN}
 
 	insinto ${prefix}
 	doins *.py






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-text/queequeg: ChangeLog queequeg-0.91.ebuild
@ 2011-01-08 17:15 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2011-01-08 17:15 UTC (permalink / raw
  To: gentoo-commits

arfrever    11/01/08 17:15:13

  Modified:             ChangeLog queequeg-0.91.ebuild
  Log:
  Use Python 2 (bug #312121).
  
  (Portage version: 2.2.0_alpha14/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  app-text/queequeg/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/queequeg/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	11 Jun 2010 21:38:05 -0000	1.8
+++ ChangeLog	8 Jan 2011 17:15:13 -0000	1.9
@@ -1,6 +1,10 @@
 # ChangeLog for app-text/queequeg
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/queequeg/ChangeLog,v 1.8 2010/06/11 21:38:05 arfrever Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/queequeg/ChangeLog,v 1.9 2011/01/08 17:15:13 arfrever Exp $
+
+  08 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  queequeg-0.91.ebuild:
+  Use Python 2 (bug #312121).
 
   11 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
   queequeg-0.91.ebuild:



1.10                 app-text/queequeg/queequeg-0.91.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild?r1=1.9&r2=1.10

Index: queequeg-0.91.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- queequeg-0.91.ebuild	11 Jun 2010 21:38:05 -0000	1.9
+++ queequeg-0.91.ebuild	8 Jan 2011 17:15:13 -0000	1.10
@@ -1,24 +1,34 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild,v 1.9 2010/06/11 21:38:05 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/queequeg/queequeg-0.91.ebuild,v 1.10 2011/01/08 17:15:13 arfrever Exp $
 
-inherit distutils multilib
+EAPI="3"
+PYTHON_DEPEND="2"
 
-IUSE=""
+inherit python
 
 DESCRIPTION="A checker for English grammar, for people who are not native English."
 HOMEPAGE="http://queequeg.sourceforge.net/"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
 SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
 
-DEPEND=">=dev-lang/python-2.3
-	app-dicts/wordnet"
+DEPEND="app-dicts/wordnet"
+RDEPEND="${DEPEND}"
 
-src_compile() {
+pkg_setup() {
+	python_set_active_version 2
+	python_pkg_setup
+}
+
+src_prepare() {
+	python_convert_shebangs -r ${PYTHON_ABI} .
+}
 
+src_compile() {
 	local dictdir=/usr/dict
 
 	if has_version ">=app-dicts/wordnet-2.0"; then
@@ -26,16 +36,14 @@
 	fi
 
 	emake dict WORDNETDICT=${dictdir} || die
-
 }
 
 src_install() {
-
 	local prefix=$(python_get_sitedir)/${PN}
 
 	insinto ${prefix}
 	doins *.py
-	[ -f "dict.txt" ] && doins dict.txt || doins dict.cdb
+	[[ -f "dict.txt" ]] && doins dict.txt || doins dict.cdb
 
 	exeinto ${prefix}
 	doexe qq
@@ -43,5 +51,12 @@
 
 	dodoc README TODO
 	dohtml htdocs/*
+}
+
+pkg_postinst() {
+	python_mod_optimize queequeg
+}
 
+pkg_postrm() {
+	python_mod_cleanup queequeg
 }






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-08 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-08 17:15 [gentoo-commits] gentoo-x86 commit in app-text/queequeg: ChangeLog queequeg-0.91.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)
  -- strict thread matches above, loose matches on Subject: below --
2010-06-11 21:38 Arfrever Frehtes Taifersar Arahesis (arfrever)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox