Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/swoole-async/
Date: Wed, 29 Sep 2021 16:53:38
Message-Id: 1632934369.adda557b380f0fe8aa556f21b46dad360e57bb97.grknight@gentoo
1 commit: adda557b380f0fe8aa556f21b46dad360e57bb97
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 29 16:49:51 2021 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 29 16:52:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adda557b
7
8 dev-php/swoole-async: Fix build dependencies
9
10 swoole-async needs a specific version of dev-php/swoole to compile and work
11 Revbump to ensure those using it get what is necessary
12
13 Closes: https://bugs.gentoo.org/705492
14 Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
15
16 .../{swoole-async-4.4.12.ebuild => swoole-async-4.4.12-r1.ebuild} | 5 +++--
17 .../{swoole-async-4.4.16.ebuild => swoole-async-4.4.16-r1.ebuild} | 5 +++--
18 2 files changed, 6 insertions(+), 4 deletions(-)
19
20 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
21 similarity index 81%
22 rename from dev-php/swoole-async/swoole-async-4.4.12.ebuild
23 rename to dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild
24 index 845bfc568cc..aa4fbdf97a3 100644
25 --- a/dev-php/swoole-async/swoole-async-4.4.12.ebuild
26 +++ b/dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild
27 @@ -1,4 +1,4 @@
28 -# Copyright 1999-2019 Gentoo Authors
29 +# Copyright 1999-2021 Gentoo Authors
30 # Distributed under the terms of the GNU General Public License v2
31
32 EAPI="7"
33 @@ -26,7 +26,8 @@ SLOT="0"
34 # Tests will require pre-configured endpoint
35 RESTRICT="test"
36
37 -DEPEND=">=dev-php/swoole-4.3"
38 +# This will only compile with the same version of dev-php/swoole
39 +DEPEND="~dev-php/swoole-${PV}[php_targets_php7-1(-)?,php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]"
40
41 RDEPEND="${DEPEND}"
42
43
44 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
45 similarity index 81%
46 rename from dev-php/swoole-async/swoole-async-4.4.16.ebuild
47 rename to dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
48 index 09b9d48a22e..aa4fbdf97a3 100644
49 --- a/dev-php/swoole-async/swoole-async-4.4.16.ebuild
50 +++ b/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
51 @@ -1,4 +1,4 @@
52 -# Copyright 1999-2020 Gentoo Authors
53 +# Copyright 1999-2021 Gentoo Authors
54 # Distributed under the terms of the GNU General Public License v2
55
56 EAPI="7"
57 @@ -26,7 +26,8 @@ SLOT="0"
58 # Tests will require pre-configured endpoint
59 RESTRICT="test"
60
61 -DEPEND=">=dev-php/swoole-4.3"
62 +# This will only compile with the same version of dev-php/swoole
63 +DEPEND="~dev-php/swoole-${PV}[php_targets_php7-1(-)?,php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]"
64
65 RDEPEND="${DEPEND}"