From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22BA6158086 for ; Thu, 7 Oct 2021 19:03:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 513F3E0844; Thu, 7 Oct 2021 19:03:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39FFBE0844 for ; Thu, 7 Oct 2021 19:03:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E49634338F for ; Thu, 7 Oct 2021 19:03:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BEC25143 for ; Thu, 7 Oct 2021 19:03:29 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1633632948.b734a6418f3fd689fa24d2e5ad72725756295278.gyakovlev@gentoo> Subject: [gentoo-commits] proj/cargo-ebuild:master commit in: / X-VCS-Repository: proj/cargo-ebuild X-VCS-Files: cargo-ebuild-template.tera X-VCS-Directories: / X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: b734a6418f3fd689fa24d2e5ad72725756295278 X-VCS-Branch: master Date: Thu, 7 Oct 2021 19:03:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fc61b7e7-78e7-4d87-9903-d22f269280e0 X-Archives-Hash: aaaa604f278617c0d0b7a8ac4c01fa06 commit: b734a6418f3fd689fa24d2e5ad72725756295278 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Oct 7 18:55:31 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Oct 7 18:55:48 2021 +0000 URL: https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=b734a641 cargo-ebuild-template.tera: add template for bumps Signed-off-by: Georgy Yakovlev gentoo.org> cargo-ebuild-template.tera | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/cargo-ebuild-template.tera b/cargo-ebuild-template.tera new file mode 100644 index 0000000..c10a25b --- /dev/null +++ b/cargo-ebuild-template.tera @@ -0,0 +1,37 @@ +{% extends "base.tera" %} +{%- block header -%} +# Copyright 2017-{{ this_year }} Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Auto-Generated by cargo-ebuild {{ cargo_ebuild_ver }} +{% endblock %} + +{% set homepage = 'https://github.com/gentoo/cargo-ebuild' %} +HOMEPAGE={%- block homepage -%}"{{ homepage }}"{%- endblock %} +SRC_URI={%- block src_uri -%}{% raw -%}"https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2 + $(cargo_crate_uris)"{%- endraw %}{%- endblock %} +KEYWORDS={% block keyword -%}"~amd64 ~arm64 ~ppc64"{%- endblock %} + +{% block variables %} +DEPEND=" + dev-libs/libgit2:= + dev-libs/openssl:0= + net-libs/libssh2:= +" + +RDEPEND="${DEPEND}" + +QA_FLAGS_IGNORED="usr/bin/cargo-ebuild" +{% endblock %} + +{% block phases %} +src_configure() { + export LIBGIT2_SYS_USE_PKG_CONFIG=1 LIBSSH2_SYS_USE_PKG_CONFIG=1 PKG_CONFIG_ALLOW_CROSS=1 + cargo_src_configure +} + +src_install() { + cargo_src_install + einstalldocs +} +{% endblock %}