diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2021-02-09 18:43:36 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2021-02-09 18:43:52 -0800 |
commit | e52bb8be702cc7be866037ac0f4bae53f2420de6 (patch) | |
tree | 3fc319f914602be339c3f3ed178395895528606c /net-p2p/bittornado | |
parent | dev-ml/ocamlgraph: Stabilize 1.8.8-r1 ppc, #749669 (diff) | |
download | gentoo-e52bb8be702cc7be866037ac0f4bae53f2420de6.tar.gz gentoo-e52bb8be702cc7be866037ac0f4bae53f2420de6.tar.bz2 gentoo-e52bb8be702cc7be866037ac0f4bae53f2420de6.zip |
net-p2p/bittornado-0.4.1_p20160925-r2: Add fix for py38
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'net-p2p/bittornado')
-rw-r--r-- | net-p2p/bittornado/bittornado-0.4.1_p20160925-r2.ebuild | 3 |
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 } |