summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-14 21:02:01 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-14 21:02:01 +0000
commit28acff146e7651d5d5c8bb3d584b3262cb98c5f5 (patch)
tree08d4f5d20f25adfe4efc11b560279236aae8ecbd /dev-python/gnosis-utils
parentamd64/x86 stable, bug #280785 (diff)
downloadhistorical-28acff146e7651d5d5c8bb3d584b3262cb98c5f5.tar.gz
historical-28acff146e7651d5d5c8bb3d584b3262cb98c5f5.tar.bz2
historical-28acff146e7651d5d5c8bb3d584b3262cb98c5f5.zip
Fix syntax for compatibility with Python 2.6 (bug #281416).
Package-Manager: portage-14029-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/gnosis-utils')
-rw-r--r--dev-python/gnosis-utils/ChangeLog8
-rw-r--r--dev-python/gnosis-utils/Manifest4
-rw-r--r--dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild13
3 files changed, 18 insertions, 7 deletions
diff --git a/dev-python/gnosis-utils/ChangeLog b/dev-python/gnosis-utils/ChangeLog
index 174b61532df9..9562e14e3417 100644
--- a/dev-python/gnosis-utils/ChangeLog
+++ b/dev-python/gnosis-utils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/gnosis-utils
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/ChangeLog,v 1.13 2009/02/15 22:22:37 patrick Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/ChangeLog,v 1.14 2009/08/14 21:02:01 arfrever Exp $
+
+ 14 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ gnosis-utils-1.2.1.ebuild:
+ Fix syntax for compatibility with Python 2.6 (bug #281416).
15 Feb 2009; Patrick Lauer <patrick@gentoo.org> gnosis-utils-1.2.1.ebuild:
Adding ~amd64 keyword
diff --git a/dev-python/gnosis-utils/Manifest b/dev-python/gnosis-utils/Manifest
index 99470614f02d..7a0bd5332a34 100644
--- a/dev-python/gnosis-utils/Manifest
+++ b/dev-python/gnosis-utils/Manifest
@@ -1,4 +1,4 @@
DIST Gnosis_Utils-1.2.1.tar.gz 285238 RMD160 24fbf3c718228e6fc634428ed60074b1940d422d SHA1 a2950d1c76fb61e68894f07b5c43e12060d8edd8 SHA256 8a67343a1d192c4586b40f224ce7997e285ccef80390d40ebcfaef95498b1ab7
-EBUILD gnosis-utils-1.2.1.ebuild 1220 RMD160 b383f2653be548cf405750052888842acd4f478b SHA1 7e095f3b9a91373ae1562825eee1ab2e3f38113e SHA256 d1ed42b2cd5c584cba577071b225d1065e96f0bdcd2283fcad198676c6ae920f
-MISC ChangeLog 1701 RMD160 c6bf1cd25dbf6c2e9d8a8afb31a8dd0c0cea374f SHA1 ce7ed5545454a6f2225435c70ed22c80b8196541 SHA256 ac1f9cf5bfe9ac0848477ee8f80ab55e117b3b34812cf9cef191e36dfc760a89
+EBUILD gnosis-utils-1.2.1.ebuild 1357 RMD160 0e7d02877ca0d5466c223784d2eb387b071bb6af SHA1 c13aa15580cdce576440dea152b902875acfbb04 SHA256 f10c46548ea1fba862c652735156051d9edacdf9b65d29676100a23ad3ec58e3
+MISC ChangeLog 1867 RMD160 da7529ecfd92483c26182d6a5cf84e663cf9c5b4 SHA1 be22b72f3d2e1867a20643f574f8bd1a2a8be72e SHA256 47aba65b3a3e9e3db585eab921c147597daf8534cfb37b067c52a9cd2f51f391
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
diff --git a/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild b/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild
index 67cf86f8451a..377ee26e56d1 100644
--- a/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild
+++ b/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild,v 1.5 2009/02/15 22:22:37 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild,v 1.6 2009/08/14 21:02:01 arfrever Exp $
-NEED_PYTHON=2.1
+EAPI="2"
+NEED_PYTHON="2.1"
inherit distutils
@@ -21,7 +22,13 @@ RDEPEND=""
PYTHON_MODNAME="gnosis"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ distutils_src_prepare
+
+ sed -e "s/with/with_/" -i gnosis/util/convert/pyfontify.py || die "sed failed"
+}
src_install() {
dodoc README gnosis/doc/{*.txt,readme,GETTING_HELP,*ANNOUNCE}