diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-02-09 15:46:33 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-02-09 15:46:33 +0000 |
commit | 28cf63aa7b2407f585f5b1738f21f47a275dc12a (patch) | |
tree | da773db1ba1885d58ba0ca5d515772bfc862b9f6 /dev-python/logilab-common | |
parent | Remove rmdir (bug #456288 by gtlinuxman). (diff) | |
download | gentoo-2-28cf63aa7b2407f585f5b1738f21f47a275dc12a.tar.gz gentoo-2-28cf63aa7b2407f585f5b1738f21f47a275dc12a.tar.bz2 gentoo-2-28cf63aa7b2407f585f5b1738f21f47a275dc12a.zip |
Add -syntax.patch to correct minor syntax inconsistency in 1 module wrt Bug #454402 causing a test fail in py3.2, filed upstream
(Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/logilab-common')
-rw-r--r-- | dev-python/logilab-common/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/logilab-common/files/logilab-common-0.59.0-syntax.patch | 12 | ||||
-rw-r--r-- | dev-python/logilab-common/logilab-common-0.59.0.ebuild | 5 |
3 files changed, 21 insertions, 3 deletions
diff --git a/dev-python/logilab-common/ChangeLog b/dev-python/logilab-common/ChangeLog index 7d669bf73f20..7594492a4456 100644 --- a/dev-python/logilab-common/ChangeLog +++ b/dev-python/logilab-common/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/logilab-common # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.118 2013/02/02 22:29:16 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.119 2013/02/09 15:46:33 idella4 Exp $ + + 09 Feb 2013; Ian Delaney <idella4@gentoo.org> + +files/logilab-common-0.59.0-syntax.patch, logilab-common-0.59.0.ebuild: + Add -syntax.patch to correct minor syntax inconsistency in 1 module wrt Bug + #454402 causing a test fail in py3.2, filed upstream 02 Feb 2013; Agostino Sarubbo <ago@gentoo.org> logilab-common-0.58.3-r1.ebuild: diff --git a/dev-python/logilab-common/files/logilab-common-0.59.0-syntax.patch b/dev-python/logilab-common/files/logilab-common-0.59.0-syntax.patch new file mode 100644 index 000000000000..21284f8e3153 --- /dev/null +++ b/dev-python/logilab-common/files/logilab-common-0.59.0-syntax.patch @@ -0,0 +1,12 @@ +diff -ur logilab-common-0.59.0.orig/registry.py logilab-common-0.59.0/registry.py +--- registry.py 2013-01-24 01:42:03.000000000 +0800 ++++ registry.py 2013-02-09 22:48:43.988923037 +0800 +@@ -803,7 +803,7 @@ + and getattr(obj, '__select__', None)): + return False + elif issubclass(obj, RegistrableInstance): +- return False ++ return False + elif not isinstance(obj, RegistrableInstance): + return False + if not obj.__regid__: diff --git a/dev-python/logilab-common/logilab-common-0.59.0.ebuild b/dev-python/logilab-common/logilab-common-0.59.0.ebuild index 9265c5b74d1b..b9fe170ddd5f 100644 --- a/dev-python/logilab-common/logilab-common-0.59.0.ebuild +++ b/dev-python/logilab-common/logilab-common-0.59.0.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.59.0.ebuild,v 1.2 2013/02/02 18:54:18 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.59.0.ebuild,v 1.3 2013/02/09 15:46:33 idella4 Exp $ EAPI=5 # broken with python3.3, bug #449276 PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy{1_9,2_0} ) -inherit distutils-r1 +inherit distutils-r1 eutils DESCRIPTION="Useful miscellaneous modules used by Logilab projects" HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common" @@ -33,6 +33,7 @@ DEPEND="${RDEPEND} python_prepare_all() { sed -e 's:(CURDIR):{S}/${P}:' -i doc/makefile || die + epatch "${FILESDIR}"/${P}-syntax.patch distutils-r1_python_prepare_all } |