summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2018-07-22 18:45:19 +0200
committerFabian Groffen <grobian@gentoo.org>2018-07-22 18:45:53 +0200
commita824c0b9ad84ae44e1ba9ab993374b2c20ef583d (patch)
treee2543a98361041a949a76fa95223532ca5fe4e80 /dev-python/carbon
parentapp-text/zathura-pdf-mupdf: arm stable wrt bug #645974 (diff)
downloadgentoo-a824c0b9ad84ae44e1ba9ab993374b2c20ef583d.tar.gz
gentoo-a824c0b9ad84ae44e1ba9ab993374b2c20ef583d.tar.bz2
gentoo-a824c0b9ad84ae44e1ba9ab993374b2c20ef583d.zip
dev-python/carbon: fix logging with Python 3, bug #661340
Closes: https://bugs.gentoo.org/661340 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-python/carbon')
-rw-r--r--dev-python/carbon/carbon-1.1.3-r1.ebuild (renamed from dev-python/carbon/carbon-1.1.3.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-python/carbon/carbon-1.1.3.ebuild b/dev-python/carbon/carbon-1.1.3-r1.ebuild
index 91d82b54c360..43c4daded363 100644
--- a/dev-python/carbon/carbon-1.1.3.ebuild
+++ b/dev-python/carbon/carbon-1.1.3-r1.ebuild
@@ -24,6 +24,9 @@ RDEPEND="
=dev-python/whisper-${PV}*[${PYTHON_USEDEP}]"
python_prepare_all() {
+ # bug #661340, excerpt from upstream, next release should have it
+ sed -i -e "s/'r+'/'rb+'/" lib/carbon/log.py || die
+
# Do not install the configuration and data files. We install them
# somewhere sensible by hand.
sed -i -e '/data_files=install_files,/d' setup.py || die