commit:     aaa95b088ca9506c9634f68c62fa1ec0af7fd89e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 14 23:54:31 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Mar 15 00:25:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaa95b08

sci-mathematics/coq-serapi: introduce COQ_MIN_V

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 sci-mathematics/coq-serapi/coq-serapi-0.16.3.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/coq-serapi/coq-serapi-0.16.3.ebuild 
b/sci-mathematics/coq-serapi/coq-serapi-0.16.3.ebuild
index 9b4f5a4653a6..45e829121219 100644
--- a/sci-mathematics/coq-serapi/coq-serapi-0.16.3.ebuild
+++ b/sci-mathematics/coq-serapi/coq-serapi-0.16.3.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=8
 
-COQV=8.16.0
+COQ_MIN_V=8.16.0
+COQ_MAX_V=8.17.0
 
 inherit elisp-common dune
 
@@ -13,7 +14,7 @@ HOMEPAGE="https://github.com/ejgallego/coq-serapi/";
 # The tarball in SRC_URI is comprised of <supported coq>+<package version>
 SRC_URI="https://github.com/ejgallego/${PN}/archive/${COQV}+${PV}.tar.gz
        -> ${P}.tar.gz"
-S="${WORKDIR}"/${PN}-${COQV}-${PV}
+S="${WORKDIR}"/${PN}-${COQ_MIN_V}-${PV}
 
 LICENSE="GPL-3+"
 SLOT="0/${PV}"
@@ -22,7 +23,7 @@ IUSE="emacs +ocamlopt test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-       >=sci-mathematics/coq-${COQV}:= <sci-mathematics/coq-8.17:=
+       >=sci-mathematics/coq-${COQ_MIN_V}:= <sci-mathematics/coq-${COQ_MAX_V}:=
        >=dev-ml/ppx_sexp_conv-0.13.0:=
        dev-ml/cmdliner:=
        dev-ml/ppx_compare:=

Reply via email to