From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/griffith/, media-video/griffith/files/
Date: Tue, 19 Feb 2019 17:47:03 +0000 (UTC) [thread overview]
Message-ID: <1550598414.8a9a636ab45726aac3c466af1f447c02e369d81c.polynomial-c@gentoo> (raw)
commit: 8a9a636ab45726aac3c466af1f447c02e369d81c
Author: Petros Siligkounas <petross404 <AT> gmail <DOT> com>
AuthorDate: Sun Feb 17 21:16:59 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Feb 19 17:46:54 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a9a636a
media-video/griffith: fixes cannot import name InstrumentationManager
Closes: https://bugs.gentoo.org/665068
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Πέτρος Σιλιγκούνας <petross404 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/9763
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
.../griffith/files/griffith-0.13-validators.patch | 17 +++++++++++++++++
media-video/griffith/griffith-0.13-r2.ebuild | 3 ++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/media-video/griffith/files/griffith-0.13-validators.patch b/media-video/griffith/files/griffith-0.13-validators.patch
new file mode 100644
index 00000000000..f94275f3c17
--- /dev/null
+++ b/media-video/griffith/files/griffith-0.13-validators.patch
@@ -0,0 +1,17 @@
+--- 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
+
diff --git a/media-video/griffith/griffith-0.13-r2.ebuild b/media-video/griffith/griffith-0.13-r2.ebuild
index 66b03bc29c8..788a9f95c7e 100644
--- a/media-video/griffith/griffith-0.13-r2.ebuild
+++ b/media-video/griffith/griffith-0.13-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -46,6 +46,7 @@ src_prepare() {
"${S}"/lib/gconsole.py || die "sed failed"
epatch "${FILESDIR}/0.10-fix_lib_path.patch"
+ epatch "${FILESDIR}/griffith-0.13-validators.patch"
}
src_compile() {
next reply other threads:[~2019-02-19 17:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-19 17:47 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-02-19 17:47 [gentoo-commits] repo/gentoo:master commit in: media-video/griffith/, media-video/griffith/files/ Lars Wendler
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=1550598414.8a9a636ab45726aac3c466af1f447c02e369d81c.polynomial-c@gentoo \
--to=polynomial-c@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