diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-01-29 23:08:40 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-01-29 23:08:40 +0100 |
commit | 27d6fe7bb12d90548326131794500e1ac00b7166 (patch) | |
tree | a82919617b0d2feacb624524524cbb60833e0457 /dev-python/ipaddr | |
parent | dev-python/pyspf: Switch to PEP 517 build (diff) | |
download | gentoo-27d6fe7bb12d90548326131794500e1ac00b7166.tar.gz gentoo-27d6fe7bb12d90548326131794500e1ac00b7166.tar.bz2 gentoo-27d6fe7bb12d90548326131794500e1ac00b7166.zip |
dev-python/ipaddr: Run 2to3 via Python
Closes: https://bugs.gentoo.org/832343
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ipaddr')
-rw-r--r-- | dev-python/ipaddr/ipaddr-2.2.0-r2.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/ipaddr/ipaddr-2.2.0-r2.ebuild b/dev-python/ipaddr/ipaddr-2.2.0-r2.ebuild index cf3c4704e910..d3ee873cc8c5 100644 --- a/dev-python/ipaddr/ipaddr-2.2.0-r2.ebuild +++ b/dev-python/ipaddr/ipaddr-2.2.0-r2.ebuild @@ -16,8 +16,8 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -src_configure() { - 2to3 -n -w --no-diffs *.py || die +python_configure_all() { + "${EPYTHON}" -m lib2to3 -n -w --no-diffs *.py || die } python_test() { |