aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuciano Degni <degni.public@gmail.com>2022-01-17 20:08:21 +0100
committerLuciano Degni <degni.public@gmail.com>2022-01-17 20:08:21 +0100
commit365227ca42f31063ade3d4e2ea149b74eee3e877 (patch)
tree342d9e178e15190e0685f976f2d2b94d84a31fe2 /app-editors/amp
parentapp-editors/amp: add python eclass (diff)
downloadguru-365227ca42f31063ade3d4e2ea149b74eee3e877.tar.gz
guru-365227ca42f31063ade3d4e2ea149b74eee3e877.tar.bz2
guru-365227ca42f31063ade3d4e2ea149b74eee3e877.zip
app-editors/amp: enable py3.7, py3.9 and disable py3.10
Signed-off-by: Luciano Degni <degni.public@gmail.com>
Diffstat (limited to 'app-editors/amp')
-rw-r--r--app-editors/amp/amp-0.6.2.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/app-editors/amp/amp-0.6.2.ebuild b/app-editors/amp/amp-0.6.2.ebuild
index 3872f8a6a..044b19405 100644
--- a/app-editors/amp/amp-0.6.2.ebuild
+++ b/app-editors/amp/amp-0.6.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python{3_8,3_10} )
+PYTHON_COMPAT=( python3_{7,8,9} )
CRATES="
aho-corasick-0.5.3
@@ -169,7 +169,7 @@ CRATES="
yaml-rust-0.4.0
"
-inherit cargo python-utils-r1
+inherit cargo python-utils-r1
DESCRIPTION="A complete text editor for your terminal."
HOMEPAGE="https://github.com/jmacdonald/amp"
@@ -193,7 +193,7 @@ RDEPEND="
BDEPEND="
${DEPEND}
${PYTHON_DEPS}
- dev-vcs/git
+ dev-vcs/git
>=dev-lang/rust-1.53.0
dev-util/cmake
"
@@ -201,7 +201,7 @@ BDEPEND="
QA_FLAGS_IGNORED="usr/bin/.*"
src_configure() {
- cargo_src_configure
+ cargo_src_configure
}
src_compile() {
@@ -210,8 +210,8 @@ src_compile() {
src_install() {
if use doc; then
- dodoc LICENSE README.md CHANGELOG.md
- dodoc -r documentation
+ local DOCS=( LICENSE README.md CHANGELOG.md documentation/* )
+ einstalldocs -r
fi
dobin target/release/amp
-}
+} \ No newline at end of file