1 |
commit: ab1b86f72bb3cc45af0a3316feffe774ac54ef6a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 3 09:39:20 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 3 09:40:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab1b86f7 |
7 |
|
8 |
dev-util/xdelta: Use py3 and new automake in 3.1.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/735330 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-util/xdelta/xdelta-3.1.0.ebuild | 8 ++++---- |
14 |
1 file changed, 4 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/xdelta/xdelta-3.1.0.ebuild b/dev-util/xdelta/xdelta-3.1.0.ebuild |
17 |
index 5e4c9b097d6..284a0785278 100644 |
18 |
--- a/dev-util/xdelta/xdelta-3.1.0.ebuild |
19 |
+++ b/dev-util/xdelta/xdelta-3.1.0.ebuild |
20 |
@@ -1,10 +1,9 @@ |
21 |
# Copyright 2002-2020 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=6 |
25 |
-PYTHON_COMPAT=( python2_7 ) |
26 |
+EAPI=7 |
27 |
+PYTHON_COMPAT=( python3_{6..9} ) |
28 |
|
29 |
-WANT_AUTOMAKE=1.14 |
30 |
inherit autotools python-any-r1 |
31 |
|
32 |
MY_P=xdelta3-${PV} |
33 |
@@ -33,12 +32,13 @@ src_prepare() { |
34 |
eapply_user |
35 |
|
36 |
# huh |
37 |
+ 2to3 -w -n --no-diffs testing/*.py || die |
38 |
sed -i -e '/python/s:2.6:2:' testing/xdelta3-regtest.py || die |
39 |
sed -i -e '/python/s:2.7:2:' testing/xdelta3-test.py || die |
40 |
|
41 |
# only build tests when required |
42 |
sed -i -e '/xdelta3regtest/s:noinst_P:check_P:' Makefile.am || die |
43 |
- eautomake |
44 |
+ eautoreconf |
45 |
} |
46 |
|
47 |
src_test() { |