commit: edaeff95056b055d6156c8aa5f81432845fdcbad
Author: Luciano Degni <degni.public <AT> gmail <DOT> com>
AuthorDate: Mon Jan 17 18:33:20 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jan 17 18:33:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edaeff95
app-editors/amp: add python eclass
Signed-off-by: Luciano Degni <degni.public <AT> gmail.com>
app-editors/amp/amp-0.6.2.ebuild | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/app-editors/amp/amp-0.6.2.ebuild b/app-editors/amp/amp-0.6.2.ebuild
index 42f558b77..3872f8a6a 100644
--- a/app-editors/amp/amp-0.6.2.ebuild
+++ b/app-editors/amp/amp-0.6.2.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+PYTHON_COMPAT=( python{3_8,3_10} )
+
CRATES="
aho-corasick-0.5.3
aho-corasick-0.6.4
@@ -167,7 +169,7 @@ CRATES="
yaml-rust-0.4.0
"
-inherit cargo
+inherit cargo python-utils-r1
DESCRIPTION="A complete text editor for your terminal."
HOMEPAGE="https://github.com/jmacdonald/amp"
@@ -190,8 +192,8 @@ RDEPEND="
"
BDEPEND="
${DEPEND}
- dev-vcs/git
- dev-lang/python
+ ${PYTHON_DEPS}
+ dev-vcs/git
>=dev-lang/rust-1.53.0
dev-util/cmake
"