From 821d3e4d82a50aa21f77427ac1f589bf6703e0d4 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Thu, 5 Aug 2021 12:00:23 +0200 Subject: Update the base template Signed-off-by: Luca Barbato Closes: https://github.com/gentoo/cargo-ebuild/pull/10 Signed-off-by: Georgy Yakovlev --- src/base.tera | 7 +++---- 1 file 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 -%} -- cgit v1.2.3-65-gdbad