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 06044138334 for ; Mon, 21 Oct 2019 22:48:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0C01E0ADD; Mon, 21 Oct 2019 22:48:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B8B88E0ADD for ; Mon, 21 Oct 2019 22:48:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6084734C1AB for ; Mon, 21 Oct 2019 22:48:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9126893 for ; Mon, 21 Oct 2019 22:48:37 +0000 (UTC) From: "Nick Sarnie" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nick Sarnie" Message-ID: <1571698099.665e6f88f1e6c8b1838e4169038dfca8935fcfb0.sarnex@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/vulkan-headers/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/vulkan-headers/vulkan-headers-9999.ebuild X-VCS-Directories: dev-util/vulkan-headers/ X-VCS-Committer: sarnex X-VCS-Committer-Name: Nick Sarnie X-VCS-Revision: 665e6f88f1e6c8b1838e4169038dfca8935fcfb0 X-VCS-Branch: master Date: Mon, 21 Oct 2019 22:48:37 +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: 0ea21cea-27c3-4119-8eec-8cbcbb590a74 X-Archives-Hash: def2a76a6ba4bb53e614a802dc3b348c commit: 665e6f88f1e6c8b1838e4169038dfca8935fcfb0 Author: Peter Levine gmail com> AuthorDate: Mon Oct 21 01:35:35 2019 +0000 Commit: Nick Sarnie gentoo org> CommitDate: Mon Oct 21 22:48:19 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=665e6f88 dev-util/vulkan-headers: Update versioning scheme Allow the live ebuild to be used as a template for all the others. If SNAPSHOT_COMMIT is defined, it is used for a snapshot build. Otherwise, PV is used for a standard release build. Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Nick Sarnie gentoo.org> dev-util/vulkan-headers/vulkan-headers-9999.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild index 46c065902b6..5c5a041b9c2 100644 --- a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild +++ b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild @@ -9,10 +9,16 @@ if [[ "${PV}" == "9999" ]]; then EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Headers.git" inherit git-r3 else - EGIT_COMMIT="b1577d5fbd5424c863710aa156aaafa77cae3de8" + if [[ -z ${SNAPSHOT_COMMIT} ]]; then + MY_PV=v${PV} + MY_P=Vulkan-Headers-${PV} + else + MY_PV=${SNAPSHOT_COMMIT} + MY_P=Vulkan-Headers-${SNAPSHOT_COMMIT} + fi KEYWORDS="~amd64 ~x86" - SRC_URI="https://github.com/KhronosGroup/Vulkan-Headers/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/Vulkan-Headers-${EGIT_COMMIT}" + SRC_URI="https://github.com/KhronosGroup/Vulkan-Headers/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/${MY_P} fi DESCRIPTION="Vulkan Header files and API registry"