From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-text/queequeg: ChangeLog queequeg-0.91.ebuild
Date: Sat, 8 Jan 2011 17:15:13 +0000 (UTC) [thread overview]
Message-ID: <20110108171513.288D120051@flycatcher.gentoo.org> (raw)
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
}
next reply other threads:[~2011-01-08 17:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-08 17:15 Arfrever Frehtes Taifersar Arahesis (arfrever) [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-06-11 21:38 [gentoo-commits] gentoo-x86 commit in app-text/queequeg: ChangeLog queequeg-0.91.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)
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=20110108171513.288D120051@flycatcher.gentoo.org \
--to=arfrever@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