Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-memcached/
Date: Mon, 07 Dec 2015 14:08:20
Message-Id: 1449497254.27f68d74269798db11371fa643014c6b7f4740d2.mjo@gentoo
1 commit: 27f68d74269798db11371fa643014c6b7f4740d2
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 26 19:53:11 2015 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 7 14:07:34 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27f68d74
7
8 dev-php/pecl-memcached: revbump to fix incorrect DOCS.
9
10 The main reason for a revision bump is to update the DOCS string
11 (which pointed to a missing file). This is a prerequisite for fixing
12 the buggy eclass that allows junk in DOCS.
13
14 In the process, some other cleanup was done:
15
16 * Change from EAPI=4 to EAPI=5.
17 * Add ChangeLog and README.markdown as DOCS.
18 * Reorder the USE_PHP flags.
19 * Drop the base.eclass inherit (this was used to apply patches).
20 * Drop the custom src_prepare (used to call base.eclass to apply patches).
21 * Add an "any slot" dependency on dev-lang/php.
22 * Shorten the description a little to fit in 80 chars.
23
24 Package-Manager: portage-2.2.20.1
25
26 .../pecl-memcached/pecl-memcached-2.2.0-r1.ebuild | 36 ++++++++++++++++++++++
27 1 file changed, 36 insertions(+)
28
29 diff --git a/dev-php/pecl-memcached/pecl-memcached-2.2.0-r1.ebuild b/dev-php/pecl-memcached/pecl-memcached-2.2.0-r1.ebuild
30 new file mode 100644
31 index 0000000..cb650d7
32 --- /dev/null
33 +++ b/dev-php/pecl-memcached/pecl-memcached-2.2.0-r1.ebuild
34 @@ -0,0 +1,36 @@
35 +# Copyright 1999-2015 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Id$
38 +
39 +EAPI=5
40 +PHP_EXT_NAME="memcached"
41 +PHP_EXT_INI="yes"
42 +PHP_EXT_ZENDEXT="no"
43 +DOCS="ChangeLog README.markdown"
44 +
45 +USE_PHP="php5-4 php5-5 php5-6"
46 +
47 +inherit php-ext-pecl-r2
48 +
49 +KEYWORDS="~amd64 ~x86"
50 +
51 +DESCRIPTION="Interface PHP with memcached via libmemcached library"
52 +LICENSE="PHP-3"
53 +SLOT="0"
54 +IUSE="+session igbinary json sasl"
55 +
56 +DEPEND="|| ( >=dev-libs/libmemcached-1.0.14 >=dev-libs/libmemcached-1.0[sasl?] )
57 + sys-libs/zlib
58 + dev-lang/php:*[session?,json?]
59 + igbinary? ( dev-php/igbinary[php_targets_php5-4?,php_targets_php5-5?,php_targets_php5-6?] )"
60 +RDEPEND="${DEPEND}"
61 +
62 +src_configure() {
63 + my_conf="--enable-memcached
64 + $(use_enable session memcached-session)
65 + $(use_enable sasl memcached-sasl)
66 + $(use_enable json memcached-json)
67 + $(use_enable igbinary memcached-igbinary)"
68 +
69 + php-ext-source-r2_src_configure
70 +}