summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-02-11 22:24:14 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-02-11 22:24:14 -0800
commit089a418d96e133795cd3e974a720610d378af2e2 (patch)
treee46a331f526a6e8444151a9a3f2956d0e0af0d84
parentsys-fs/exfatprogs: add ~ppc64 keyword (diff)
downloadgentoo-089a418d96e133795cd3e974a720610d378af2e2.tar.gz
gentoo-089a418d96e133795cd3e974a720610d378af2e2.tar.bz2
gentoo-089a418d96e133795cd3e974a720610d378af2e2.zip
eclass/cargo.eclass: minor fixes
fix typo. fix supported eapis docstring. fix variable type. add myself to authors. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r--eclass/cargo.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index 7f7a681f6f52..e763ac3468c5 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -6,7 +6,8 @@
# rust@gentoo.org
# @AUTHOR:
# Doug Goldstein <cardoe@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7
+# Georgy Yakovlev <gyakovlev@genotoo.org>
+# @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.