summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/bittornado/bittornado-0.4.1_p20160925-r2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-p2p/bittornado/bittornado-0.4.1_p20160925-r2.ebuild b/net-p2p/bittornado/bittornado-0.4.1_p20160925-r2.ebuild
index 51cf763260b9..6e1e4c3b8599 100644
--- a/net-p2p/bittornado/bittornado-0.4.1_p20160925-r2.ebuild
+++ b/net-p2p/bittornado/bittornado-0.4.1_p20160925-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -35,6 +35,7 @@ S=${WORKDIR}/${MY_PN}-${EGIT_COMMIT}
python_prepare_all() {
# https://github.com/effigies/BitTornado/pull/53
sed -e 's:"BitTornado.Tracker":\0, "BitTornado.Types":' -i setup.py || die
+ find "${S}" -name '*.py' -print0 | xargs --null -- sed -i 's:time.clock():time.perf_counter():g' || die
distutils-r1_python_prepare_all
}