Closes: https://bugs.gentoo.org/665068
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Πέτρος Σιλιγκούνας <petross404@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/9763
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
--- /dev/null
+--- a/griffith-0.13/lib/db/validators.py 2018-09-02 00:37:03.052248916 +0300
++++ b/griffith-0.13/lib/db/validators.py 2018-09-02 00:37:22.462248580 +0300
+@@ -23,7 +23,13 @@
+
+ import logging
+
+-from sqlalchemy.orm.interfaces import AttributeExtension, InstrumentationManager
++from sqlalchemy.orm.interfaces import AttributeExtension
++try:
++ # sql alchemy 0.8 (and above)
++ from sqlalchemy.ext.instrumentation import InstrumentationManager
++except:
++ # sql alchemy 0.7
++ from sqlalchemy.orm.interfaces import InstrumentationManager
+ from sqlalchemy.orm import ColumnProperty
+ from sqlalchemy.types import String
+
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
"${S}"/lib/gconsole.py || die "sed failed"
epatch "${FILESDIR}/0.10-fix_lib_path.patch"
+ epatch "${FILESDIR}/griffith-0.13-validators.patch"
}
src_compile() {