mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-php/pecl-zmq: drop USE=czmq
<net-libs/czmq-3 is going away. Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
@@ -5,7 +5,4 @@
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
<name>PHP</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="czmq">Use the czmq high level bindings</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP Bindings for ZeroMQ messaging"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="czmq"
|
||||
|
||||
RDEPEND="net-libs/zeromq czmq? ( <net-libs/czmq-3:= )"
|
||||
DEPEND="${RDEPEND} virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-php7-3-compatibility.patch )
|
||||
|
||||
src_configure() {
|
||||
local PHP_EXT_ECONF_ARGS=( $(use_with czmq) )
|
||||
php-ext-source-r3_src_configure
|
||||
}
|
||||
28
dev-php/pecl-zmq/pecl-zmq-1.1.3-r3.ebuild
Normal file
28
dev-php/pecl-zmq/pecl-zmq-1.1.3-r3.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
USE_PHP="php7-2 php7-3 php7-4"
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://github.com/mkoppanen/php-zmq.git"
|
||||
EGIT_CHECKOUT_DIR="${PHP_EXT_S}"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="PHP Bindings for ZeroMQ messaging"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
DEPEND="net-libs/zeromq"
|
||||
RDEPEND="net-libs/zeromq:="
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.1.3-php7-3-compatibility.patch )
|
||||
@@ -4,23 +4,23 @@
|
||||
EAPI="7"
|
||||
|
||||
USE_PHP="php7-2 php7-3 php7-4"
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
inherit php-ext-pecl-r3 git-r3
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://github.com/mkoppanen/php-zmq.git"
|
||||
EGIT_CHECKOUT_DIR="${PHP_EXT_S}"
|
||||
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="PHP Bindings for ZeroMQ messaging"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="czmq"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-libs/zeromq czmq? ( net-libs/czmq:= )"
|
||||
DEPEND="${RDEPEND} virtual/pkgconfig"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://github.com/mkoppanen/php-zmq.git"
|
||||
EGIT_CHECKOUT_DIR="${PHP_EXT_S}"
|
||||
|
||||
src_configure() {
|
||||
local PHP_EXT_ECONF_ARGS=( $(use_with czmq) )
|
||||
php-ext-source-r3_src_configure
|
||||
}
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
DEPEND="net-libs/zeromq"
|
||||
RDEPEND="net-libs/zeromq:="
|
||||
|
||||
Reference in New Issue
Block a user