diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-20 18:27:40 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-20 18:55:31 +0200 |
commit | 2b25ea0be424e100eee0b197d33116af29b1d9a3 (patch) | |
tree | 6da2bb679e577c8a0abbd5c28c394cbe3ac3f5ff /app-text/paperwork | |
parent | app-text/paperwork-backend: Fix compat w/ new Levenshtein pkg (diff) | |
download | gentoo-2b25ea0be424e100eee0b197d33116af29b1d9a3.tar.gz gentoo-2b25ea0be424e100eee0b197d33116af29b1d9a3.tar.bz2 gentoo-2b25ea0be424e100eee0b197d33116af29b1d9a3.zip |
app-text/paperwork: Fix compat w/ new Levenshtein pkg
Closes: https://bugs.gentoo.org/872071
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-text/paperwork')
-rw-r--r-- | app-text/paperwork/paperwork-2.1.1-r1.ebuild (renamed from app-text/paperwork/paperwork-2.1.1.ebuild) | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app-text/paperwork/paperwork-2.1.1.ebuild b/app-text/paperwork/paperwork-2.1.1-r1.ebuild index 5fb6e834f6a9..cd4fb6cfa7a0 100644 --- a/app-text/paperwork/paperwork-2.1.1.ebuild +++ b/app-text/paperwork/paperwork-2.1.1-r1.ebuild @@ -29,6 +29,13 @@ RDEPEND="~app-text/openpaperwork-core-${PV}[${PYTHON_USEDEP}] x11-libs/libnotify[introspection]" DEPEND="${RDEPEND}" +src_prepare() { + # remove dep to allow both old python-Levenshtein and new + # Levenshtein packages + sed -i -e '/python-Levenshtein/d' setup.py || die + distutils-r1_src_prepare +} + python_install_all() { distutils-r1_python_install_all |