1 |
commit: 2104111e9ffcd1d995e16c74abff4f6256c28c1b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 20 16:26:47 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 20 16:55:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2104111e |
7 |
|
8 |
app-text/paperwork-backend: Fix compat w/ new Levenshtein pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/872071 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild | 7 +++++++ |
14 |
1 file changed, 7 insertions(+) |
15 |
|
16 |
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 |
17 |
index 5667253b8140..fc9f7013f9c4 100644 |
18 |
--- a/app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild |
19 |
+++ b/app-text/paperwork-backend/paperwork-backend-2.1.1-r1.ebuild |
20 |
@@ -41,3 +41,10 @@ BDEPEND=" |
21 |
" |
22 |
|
23 |
distutils_enable_tests unittest |
24 |
+ |
25 |
+src_prepare() { |
26 |
+ # remove dep to allow both old python-Levenshtein and new |
27 |
+ # Levenshtein packages |
28 |
+ sed -i -e '/python-Levenshtein/d' setup.py || die |
29 |
+ distutils-r1_src_prepare |
30 |
+} |