Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-editors/amp/
Date: Thu, 20 Jan 2022 19:21:20
Message-Id: 1642444400.edaeff95056b055d6156c8aa5f81432845fdcbad.andrewammerlaan@gentoo
1 commit: edaeff95056b055d6156c8aa5f81432845fdcbad
2 Author: Luciano Degni <degni.public <AT> gmail <DOT> com>
3 AuthorDate: Mon Jan 17 18:33:20 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 17 18:33:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edaeff95
7
8 app-editors/amp: add python eclass
9
10 Signed-off-by: Luciano Degni <degni.public <AT> gmail.com>
11
12 app-editors/amp/amp-0.6.2.ebuild | 8 +++++---
13 1 file changed, 5 insertions(+), 3 deletions(-)
14
15 diff --git a/app-editors/amp/amp-0.6.2.ebuild b/app-editors/amp/amp-0.6.2.ebuild
16 index 42f558b77..3872f8a6a 100644
17 --- a/app-editors/amp/amp-0.6.2.ebuild
18 +++ b/app-editors/amp/amp-0.6.2.ebuild
19 @@ -3,6 +3,8 @@
20
21 EAPI=8
22
23 +PYTHON_COMPAT=( python{3_8,3_10} )
24 +
25 CRATES="
26 aho-corasick-0.5.3
27 aho-corasick-0.6.4
28 @@ -167,7 +169,7 @@ CRATES="
29 yaml-rust-0.4.0
30 "
31
32 -inherit cargo
33 +inherit cargo python-utils-r1
34
35 DESCRIPTION="A complete text editor for your terminal."
36 HOMEPAGE="https://github.com/jmacdonald/amp"
37 @@ -190,8 +192,8 @@ RDEPEND="
38 "
39 BDEPEND="
40 ${DEPEND}
41 - dev-vcs/git
42 - dev-lang/python
43 + ${PYTHON_DEPS}
44 + dev-vcs/git
45 >=dev-lang/rust-1.53.0
46 dev-util/cmake
47 "