commit:     794a5e58f623a968a09439083aec4b1530546d1d
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 14:26:35 2023 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 14:28:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794a5e58

www-apps/moodle: Depend on either php 8.1 or 8.2

Closes: https://bugs.gentoo.org/915583

Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 www-apps/moodle/{moodle-4.2.3.ebuild => moodle-4.2.3-r1.ebuild} | 5 ++++-
 www-apps/moodle/{moodle-4.3.ebuild => moodle-4.3-r1.ebuild}     | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/www-apps/moodle/moodle-4.2.3.ebuild 
b/www-apps/moodle/moodle-4.2.3-r1.ebuild
similarity index 94%
rename from www-apps/moodle/moodle-4.2.3.ebuild
rename to www-apps/moodle/moodle-4.2.3-r1.ebuild
index a92c23129f71..96e58da8e115 100644
--- a/www-apps/moodle/moodle-4.2.3.ebuild
+++ b/www-apps/moodle/moodle-4.2.3-r1.ebuild
@@ -39,7 +39,10 @@ IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts"
 # and the moodle documentation for other possibilities.
 DEPEND=""
 RDEPEND="
-       dev-lang/php:8.1[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
+       || (
+               
dev-lang/php:8.1[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
+               
dev-lang/php:8.2[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
+       )
        virtual/httpd-php
        virtual/cron"
 

diff --git a/www-apps/moodle/moodle-4.3.ebuild 
b/www-apps/moodle/moodle-4.3-r1.ebuild
similarity index 94%
rename from www-apps/moodle/moodle-4.3.ebuild
rename to www-apps/moodle/moodle-4.3-r1.ebuild
index a92c23129f71..96e58da8e115 100644
--- a/www-apps/moodle/moodle-4.3.ebuild
+++ b/www-apps/moodle/moodle-4.3-r1.ebuild
@@ -39,7 +39,10 @@ IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts"
 # and the moodle documentation for other possibilities.
 DEPEND=""
 RDEPEND="
-       dev-lang/php:8.1[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
+       || (
+               
dev-lang/php:8.1[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
+               
dev-lang/php:8.2[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
+       )
        virtual/httpd-php
        virtual/cron"
 

Reply via email to