summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Linder <linder.gabriel@gmail.com>2022-06-28 11:31:36 +0200
committerAlexys Jacob <ultrabug@gentoo.org>2022-06-28 16:43:33 +0000
commit142abfbb3771a6b96de707aba5f7f4b626c6731f (patch)
treee93a2fb04af0a1f9074369f911676986f0a8d4db /net-misc/rabbitmq-server
parentdev-util/rats: stable x86 and amd64 (diff)
downloadgentoo-142abfbb3771a6b96de707aba5f7f4b626c6731f.tar.gz
gentoo-142abfbb3771a6b96de707aba5f7f4b626c6731f.tar.bz2
gentoo-142abfbb3771a6b96de707aba5f7f4b626c6731f.zip
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>
Diffstat (limited to 'net-misc/rabbitmq-server')
-rw-r--r--net-misc/rabbitmq-server/rabbitmq-server-3.8.19-r1.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/net-misc/rabbitmq-server/rabbitmq-server-3.8.19-r1.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-3.8.19-r1.ebuild
index 2410ca43590f..85dfa8ae0db8 100644
--- a/net-misc/rabbitmq-server/rabbitmq-server-3.8.19-r1.ebuild
+++ b/net-misc/rabbitmq-server/rabbitmq-server-3.8.19-r1.ebuild
@@ -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
}