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:
Thomas Deutschmann
2020-11-24 14:11:17 +01:00
parent 01f5ad8ee1
commit f305b8dd7a
4 changed files with 41 additions and 41 deletions

View File

@@ -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>

View File

@@ -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
}

View 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 )

View File

@@ -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:="