mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
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
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user