commit:     089a418d96e133795cd3e974a720610d378af2e2
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 12 06:24:14 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Feb 12 06:24:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=089a418d

eclass/cargo.eclass: minor fixes

fix typo.
fix supported eapis docstring.
fix variable type.
add myself to authors.

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 eclass/cargo.eclass | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index 7f7a681f6f5..e763ac3468c 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -6,7 +6,8 @@
 # [email protected]
 # @AUTHOR:
 # Doug Goldstein <[email protected]>
-# @SUPPORTED_EAPIS: 6 7
+# Georgy Yakovlev <[email protected]>
+# @SUPPORTED_EAPIS: 7
 # @BLURB: common functions and variables for cargo builds
 
 if [[ -z ${_CARGO_ECLASS} ]]; then
@@ -51,7 +52,7 @@ ECARGO_VENDOR="${ECARGO_HOME}/gentoo"
 # other src_ functions of this eclass.
 # note that cargo_gen_config is automatically called by cargo_src_unpack.
 
-# @VARIABLE: myfeatures
+# @ECLASS_VARIABLE: myfeatures
 # @DEFAULT_UNSET
 # @DESCRIPTION:
 # Optional cargo features defined as bash array.
@@ -119,7 +120,7 @@ cargo_crate_uris() {
 # Cargo can also be configured through environment variables in addition to 
the TOML syntax below.
 # For each configuration key below of the form foo.bar the environment 
variable CARGO_FOO_BAR
 # can also be used to define the value.
-# Environment variables will take precedent over TOML configuration,
+# Environment variables will take precedence over TOML configuration,
 # and currently only integer, boolean, and string keys are supported.
 # For example the build.jobs key can also be defined by CARGO_BUILD_JOBS.
 # Or setting CARGO_TERM_VERBOSE=false in make.conf will make build quieter.

Reply via email to