From c11a7b766f06375420ac3e79a2df367f58a11dcc Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Fri, 23 Sep 2022 21:35:14 +0200 Subject: dev-ml/re: seq is provided by ocaml Closes: https://bugs.gentoo.org/871993 Closes: https://bugs.gentoo.org/860387 Closes: https://bugs.gentoo.org/860273 Signed-off-by: Alfredo Tupone --- dev-ml/re/re-1.10.4-r1.ebuild | 28 ++++++++++++++++++++++++++++ dev-ml/re/re-1.10.4.ebuild | 27 --------------------------- 2 files changed, 28 insertions(+), 27 deletions(-) create mode 100644 dev-ml/re/re-1.10.4-r1.ebuild delete mode 100644 dev-ml/re/re-1.10.4.ebuild (limited to 'dev-ml') diff --git a/dev-ml/re/re-1.10.4-r1.ebuild b/dev-ml/re/re-1.10.4-r1.ebuild new file mode 100644 index 000000000000..ef5769c5cf65 --- /dev/null +++ b/dev-ml/re/re-1.10.4-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Regular expression library for OCaml" +HOMEPAGE="https://github.com/ocaml/ocaml-re" +SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz + -> ocaml-${P}.tar.gz" +S="${WORKDIR}"/ocaml-${P} + +LICENSE="LGPL-2-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !dev-ml/ocaml-re + >=dev-lang/ocaml-4.09 + !dev-ml/seq +" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-ml/ounit2 )" + +PATCHES=( "${FILESDIR}"/ounit2.patch ) diff --git a/dev-ml/re/re-1.10.4.ebuild b/dev-ml/re/re-1.10.4.ebuild deleted file mode 100644 index 21f879768cdd..000000000000 --- a/dev-ml/re/re-1.10.4.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune - -DESCRIPTION="Regular expression library for OCaml" -HOMEPAGE="https://github.com/ocaml/ocaml-re" -SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz - -> ocaml-${P}.tar.gz" -S="${WORKDIR}"/ocaml-${P} - -LICENSE="LGPL-2-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="+ocamlopt test" -RESTRICT="!test? ( test )" - -RDEPEND=" - !dev-ml/ocaml-re - dev-ml/seq:= -" -DEPEND="${RDEPEND}" -BDEPEND="test? ( dev-ml/ounit2 )" - -PATCHES=( "${FILESDIR}"/ounit2.patch ) -- cgit v1.2.3-65-gdbad