Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jinja/
Date: Fri, 04 Feb 2022 18:45:34
Message-Id: 1644000200.9ce48917374fd0f6a655e345f43f50fc5c94015c.mgorny@gentoo
1 commit: 9ce48917374fd0f6a655e345f43f50fc5c94015c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 4 18:41:56 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 4 18:43:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ce48917
7
8 dev-python/jinja: Remove deprecated python_is_python3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jinja/jinja-2.11.3.ebuild | 10 +---------
13 1 file changed, 1 insertion(+), 9 deletions(-)
14
15 diff --git a/dev-python/jinja/jinja-2.11.3.ebuild b/dev-python/jinja/jinja-2.11.3.ebuild
16 index 86b6853a94c4..2daebbcea91d 100644
17 --- a/dev-python/jinja/jinja-2.11.3.ebuild
18 +++ b/dev-python/jinja/jinja-2.11.3.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=7
25 @@ -36,14 +36,6 @@ src_prepare() {
26 distutils-r1_src_prepare
27 }
28
29 -python_compile() {
30 - distutils-r1_python_compile
31 -
32 - if ! python_is_python3; then
33 - rm "${BUILD_DIR}"/lib/jinja2/async*.py || die
34 - fi
35 -}
36 -
37 python_install() {
38 distutils-r1_python_install --skip-build
39 }