Diff pecl-memcached-3.2.0-r1 with a pecl-memcached-3.2.0_p20230419
/usr/portage/dev-php/pecl-memcached/pecl-memcached-3.2.0_p20230419.ebuild 2023-10-09 14:52:30.236368369 +0300 | ||
---|---|---|
5 | 5 |
PHP_EXT_NAME="memcached" |
6 | 6 |
DOCS=( ChangeLog README.markdown ) |
7 | 7 | |
8 |
USE_PHP="php8-0 php8-1" |
|
8 |
USE_PHP="php8-0 php8-1 php8-2" |
|
9 | 9 |
PHP_EXT_NEEDED_USE="json(+)?,session(-)?" |
10 | 10 |
MY_P="${PN/pecl-/}-${PV/_rc/RC}" |
11 | 11 |
PHP_EXT_PECL_FILENAME="${MY_P}.tgz" |
12 |
PHP_EXT_S="${WORKDIR}/${MY_P}" |
|
12 |
GH_COMMIT="6926c53ac32a579b38a0dcc3c8aec662f8cd9dd5" |
|
13 |
PHP_EXT_S="${WORKDIR}/php-memcached-${GH_COMMIT}" |
|
13 | 14 | |
14 | 15 |
inherit php-ext-pecl-r3 |
15 | 16 | |
16 | 17 |
DESCRIPTION="Interface PHP with memcached via libmemcached library" |
18 |
SRC_URI="https://github.com/php-memcached-dev/php-memcached/archive/${GH_COMMIT}.tar.gz -> ${P}.tar.gz" |
|
19 |
S="${WORKDIR}/php-memcached-${GH_COMMIT}" |
|
17 | 20 |
LICENSE="PHP-3.01" |
18 | 21 |
SLOT="7" |
19 |
KEYWORDS="amd64 arm arm64 x86" |
|
22 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
|
20 | 23 |
IUSE="igbinary json sasl +session test" |
21 | 24 | |
22 | 25 |
RESTRICT="!test? ( test )" |
23 | 26 | |
24 | 27 |
COMMON_DEPEND="|| ( dev-libs/libmemcached-awesome[sasl(-)?] >=dev-libs/libmemcached-1.0.14[sasl(-)?] ) |
25 | 28 |
sys-libs/zlib |
26 |
igbinary? ( dev-php/igbinary[php_targets_php8-0(-)?,php_targets_php8-1(-)?] ) |
|
29 |
igbinary? ( dev-php/igbinary[php_targets_php8-0(-)?,php_targets_php8-1(-)?,php_targets_php8-2(-)?] ) |
|
27 | 30 |
" |
28 | 31 |
DEPEND="${COMMON_DEPEND}" |
29 | 32 |
RDEPEND="${COMMON_DEPEND}" |
30 | 33 |
BDEPEND="${COMMON_DEPEND} test? ( net-misc/memcached )" |
31 | 34 | |
32 |
S="${WORKDIR}/${MY_P}" |
|
33 | ||
34 | 35 |
src_configure() { |
35 | 36 |
local PHP_EXT_ECONF_ARGS="--enable-memcached |
36 | 37 |
$(use_enable session memcached-session) |