commit:     adda557b380f0fe8aa556f21b46dad360e57bb97
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 29 16:49:51 2021 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Wed Sep 29 16:52:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adda557b

dev-php/swoole-async: Fix build dependencies

swoole-async needs a specific version of dev-php/swoole to compile and work
Revbump to ensure those using it get what is necessary

Closes: https://bugs.gentoo.org/705492
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>

 .../{swoole-async-4.4.12.ebuild => swoole-async-4.4.12-r1.ebuild}    | 5 +++--
 .../{swoole-async-4.4.16.ebuild => swoole-async-4.4.16-r1.ebuild}    | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-php/swoole-async/swoole-async-4.4.12.ebuild 
b/dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild
similarity index 81%
rename from dev-php/swoole-async/swoole-async-4.4.12.ebuild
rename to dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild
index 845bfc568cc..aa4fbdf97a3 100644
--- a/dev-php/swoole-async/swoole-async-4.4.12.ebuild
+++ b/dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -26,7 +26,8 @@ SLOT="0"
 # Tests will require pre-configured endpoint
 RESTRICT="test"
 
-DEPEND=">=dev-php/swoole-4.3"
+# This will only compile with the same version of dev-php/swoole
+DEPEND="~dev-php/swoole-${PV}[php_targets_php7-1(-)?,php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]"
 
 RDEPEND="${DEPEND}"
 

diff --git a/dev-php/swoole-async/swoole-async-4.4.16.ebuild 
b/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
similarity index 81%
rename from dev-php/swoole-async/swoole-async-4.4.16.ebuild
rename to dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
index 09b9d48a22e..aa4fbdf97a3 100644
--- a/dev-php/swoole-async/swoole-async-4.4.16.ebuild
+++ b/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -26,7 +26,8 @@ SLOT="0"
 # Tests will require pre-configured endpoint
 RESTRICT="test"
 
-DEPEND=">=dev-php/swoole-4.3"
+# This will only compile with the same version of dev-php/swoole
+DEPEND="~dev-php/swoole-${PV}[php_targets_php7-1(-)?,php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]"
 
 RDEPEND="${DEPEND}"
 

Reply via email to