commit: 2104111e9ffcd1d995e16c74abff4f6256c28c1b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Sep 20 16:26:47 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Sep 20 16:55:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2104111e
app-text/paperwork-backend: Fix compat w/ new Levenshtein pkg Closes: https://bugs.gentoo.org/872071 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild b/app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild index 5667253b8140..fc9f7013f9c4 100644 --- a/app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild +++ b/app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild @@ -41,3 +41,10 @@ BDEPEND=" " distutils_enable_tests unittest + +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 +}
