From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/metagen:master commit in: metagen/
Date: Fri, 30 Oct 2015 15:13:12 +0000 (UTC) [thread overview]
Message-ID: <1446217871.3b82d27c1f7f52fbd2970886c7f1c26c92678d35.sping@gentoo> (raw)
commit: 3b82d27c1f7f52fbd2970886c7f1c26c92678d35
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Fri Oct 30 15:11:11 2015 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Fri Oct 30 15:11:11 2015 +0000
URL: https://gitweb.gentoo.org/proj/metagen.git/commit/?id=3b82d27c
Fix herdbase import for portage >=2.2.22 (bug #561908)
metagen/main.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/metagen/main.py b/metagen/main.py
index a8e8515..d9aded4 100755
--- a/metagen/main.py
+++ b/metagen/main.py
@@ -18,9 +18,16 @@ from optparse import OptionParser
from commands import getstatusoutput
from portage import config
-from repoman import herdbase
from portage.output import red, blue
+try:
+ # portage <2.2.22
+ # https://bugs.gentoo.org/show_bug.cgi?id=561908
+ from repoman import herdbase
+except ImportError:
+ # portage >=2.2.22
+ from repoman.checks.herds import herdbase
+
from metagen.version import __version__
from metagen import metagenerator
next reply other threads:[~2015-10-30 15:13 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-30 15:13 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-31 0:10 [gentoo-commits] proj/metagen:master commit in: metagen/ Sebastian Pipping
2022-01-25 18:06 Sebastian Pipping
2020-01-31 17:55 Sebastian Pipping
2020-01-31 17:55 Sebastian Pipping
2017-03-13 19:38 Sebastian Pipping
2016-06-23 21:23 Sebastian Pipping
2016-06-23 21:21 Sebastian Pipping
2016-02-21 22:27 Sebastian Pipping
2016-02-21 22:24 Sebastian Pipping
2016-02-21 22:17 Sebastian Pipping
2016-02-21 22:14 Sebastian Pipping
2016-02-21 22:14 Sebastian Pipping
2016-02-21 22:14 Sebastian Pipping
2016-02-21 22:14 Sebastian Pipping
2015-10-30 15:13 Sebastian Pipping
2011-09-28 14:46 Jesus Rivero
2011-09-25 14:04 Jesus Rivero
2011-09-25 14:04 Jesus Rivero
2011-09-25 14:04 Jesus Rivero
2011-09-09 13:42 Jesus Rivero
2011-09-09 13:16 Jesus Rivero
2011-08-13 22:08 Jesus Rivero
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=1446217871.3b82d27c1f7f52fbd2970886c7f1c26c92678d35.sping@gentoo \
--to=sping@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