commit:     821d3e4d82a50aa21f77427ac1f589bf6703e0d4
Author:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  5 10:00:23 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Aug 25 15:11:29 2021 +0000
URL:        https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=821d3e4d

Update the base template

Signed-off-by: Luca Barbato <lu_zero <AT> gentoo.org>
Closes: https://github.com/gentoo/cargo-ebuild/pull/10
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 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 -%}

Reply via email to