1 |
commit: e52bb8be702cc7be866037ac0f4bae53f2420de6 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 10 02:43:36 2021 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 10 02:43:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e52bb8be |
7 |
|
8 |
net-p2p/bittornado-0.4.1_p20160925-r2: Add fix for py38 |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
12 |
|
13 |
net-p2p/bittornado/bittornado-0.4.1_p20160925-r2.ebuild | 3 ++- |
14 |
1 file changed, 2 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/net-p2p/bittornado/bittornado-0.4.1_p20160925-r2.ebuild b/net-p2p/bittornado/bittornado-0.4.1_p20160925-r2.ebuild |
17 |
index 51cf763260b..6e1e4c3b859 100644 |
18 |
--- a/net-p2p/bittornado/bittornado-0.4.1_p20160925-r2.ebuild |
19 |
+++ b/net-p2p/bittornado/bittornado-0.4.1_p20160925-r2.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=6 |
26 |
@@ -35,6 +35,7 @@ S=${WORKDIR}/${MY_PN}-${EGIT_COMMIT} |
27 |
python_prepare_all() { |
28 |
# https://github.com/effigies/BitTornado/pull/53 |
29 |
sed -e 's:"BitTornado.Tracker":\0, "BitTornado.Types":' -i setup.py || die |
30 |
+ find "${S}" -name '*.py' -print0 | xargs --null -- sed -i 's:time.clock():time.perf_counter():g' || die |
31 |
distutils-r1_python_prepare_all |
32 |
} |