diff options
author | 2021-08-05 12:00:23 +0200 | |
---|---|---|
committer | 2021-08-25 08:11:29 -0700 | |
commit | 821d3e4d82a50aa21f77427ac1f589bf6703e0d4 (patch) | |
tree | 41de7ea5f7e3d2b4d22dc77c2a091fae98618a9d | |
parent | Document the templating support (diff) | |
download | cargo-ebuild-821d3e4d82a50aa21f77427ac1f589bf6703e0d4.tar.gz cargo-ebuild-821d3e4d82a50aa21f77427ac1f589bf6703e0d4.tar.bz2 cargo-ebuild-821d3e4d82a50aa21f77427ac1f589bf6703e0d4.zip |
Update the base template
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Closes: https://github.com/gentoo/cargo-ebuild/pull/10
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r-- | src/base.tera | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/base.tera b/src/base.tera index e1f4571..0c88c77 100644 --- a/src/base.tera +++ b/src/base.tera @@ -1,10 +1,10 @@ {%- block header -%} -# Copyright 2017-{{ this_year }} Gentoo Authors +# Copyright {{ this_year }} Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Auto-Generated by cargo-ebuild {{ cargo_ebuild_ver }} {% endblock %} -EAPI={%- block eapi -%}7{%- endblock %} +EAPI={%- block eapi -%}8{%- endblock %} {% block crates -%} CRATES=" @@ -19,14 +19,13 @@ DESCRIPTION={%- block description -%}"{{ description | trim }}"{%- endblock %} # Double check the homepage as the cargo_metadata crate # does not provide this value so instead repository is used HOMEPAGE={%- block homepage -%}"{{ homepage }}"{%- endblock %} -SRC_URI={%- block src_uri -%}{% raw -%}"$(cargo_crate_uris ${CRATES})"{%- endraw %}{%- endblock %} +SRC_URI={%- block src_uri -%}{% raw -%}"$(cargo_crate_uris)"{%- endraw %}{%- endblock %} # License set may be more restrictive as OR is not respected # use cargo-license for a more accurate license picture LICENSE={%- block license -%}"{{ license }}"{%- endblock %} SLOT={%- block slot -%}"0"{%- endblock %} KEYWORDS={%- block keyword -%}"~amd64"{%- endblock %} {% block variables -%} -RESTRICT="mirror" {%- endblock %} {%- block phases -%} |