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 298071396D1 for ; Fri, 8 Sep 2017 11:11:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62AE2E0D82; Fri, 8 Sep 2017 11:11:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 44BBEE0D49 for ; Fri, 8 Sep 2017 11:11:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 2FCA034175E for ; Fri, 8 Sep 2017 11:11:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9BC228FDA for ; Fri, 8 Sep 2017 11:11:48 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1504868972.ea9746eefda566501099367b226fd38c5a0f45e4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:eapi7-ver commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/eapi7-ver.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ea9746eefda566501099367b226fd38c5a0f45e4 X-VCS-Branch: eapi7-ver Date: Fri, 8 Sep 2017 11:11:48 +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-Archives-Salt: f14eaf90-5d91-45b3-9dd4-3cfe77a4f835 X-Archives-Hash: 0385a9859634d57cad31787601801df8 commit: ea9746eefda566501099367b226fd38c5a0f45e4 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 8 11:09:32 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Sep 8 11:09:32 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea9746ee eapi7-ver.eclass: Reserve ver_test eclass/eapi7-ver.eclass | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/eclass/eapi7-ver.eclass b/eclass/eapi7-ver.eclass index fdaaac6d096..c82da6192c9 100644 --- a/eclass/eapi7-ver.eclass +++ b/eclass/eapi7-ver.eclass @@ -167,3 +167,15 @@ ver_rs() { local IFS= echo "${comp[*]}" } + +# @FUNCTION: ver_test +# @USAGE: [] +# @DESCRIPTION: +# Check if the relation is true. If is not specified, +# default to ${PVR}. can be -gt, -ge, -eq, -ne, -le, -lt. +# Both versions must conform to the PMS version syntax (with optional +# revision parts), and the comparison is performed according to +# the algorithm specified in the PMS. +ver_test() { + die "${FUNCNAME}: not implemented" +}