net-misc/rabbitmq-server: guard against invalid versions of erlang/elixir.

Bug: https://bugs.gentoo.org/854816
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Gabriel Linder <linder.gabriel@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26111
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
This commit is contained in:
Gabriel Linder
2022-06-28 11:31:36 +02:00
committed by Alexys Jacob
parent bf2e143a56
commit 142abfbb37

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -20,18 +20,22 @@ RESTRICT="test"
RDEPEND="
acct-group/rabbitmq
acct-user/rabbitmq
>=dev-lang/erlang-22[ssl]
>=dev-lang/erlang-22[ssl] <dev-lang/erlang-25.0
"
DEPEND="${RDEPEND}
app-arch/zip
app-arch/unzip
app-text/docbook-xml-dtd:4.5
app-text/xmlto
>=dev-lang/elixir-1.10.0 <dev-lang/elixir-1.12.0
>=dev-lang/elixir-1.10.4 <dev-lang/elixir-1.13.0
dev-libs/libxslt
$(python_gen_any_dep 'dev-python/simplejson[${PYTHON_USEDEP}]')
"
python_check_deps() {
has_version -d "dev-python/simplejson[${PYTHON_USEDEP}]"
}
pkg_setup() {
python-any-r1_pkg_setup
}