public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-memcached/
Date: Sat,  4 Feb 2017 15:57:28 +0000 (UTC)	[thread overview]
Message-ID: <1486223814.842f169aa7566dbbfa4701e1d6ad98e9097d36c0.mjo@gentoo> (raw)

commit:     842f169aa7566dbbfa4701e1d6ad98e9097d36c0
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 15:54:25 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 15:56:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=842f169a

dev-php/pecl-memcached: new version 3.0.0 replacing the snapshot.

Gentoo-Bug: 588608
Package-Manager: portage-2.3.3

 dev-php/pecl-memcached/Manifest                    |  2 +-
 ...20161206.ebuild => pecl-memcached-3.0.0.ebuild} | 45 ++++++++++------------
 2 files changed, 22 insertions(+), 25 deletions(-)

diff --git a/dev-php/pecl-memcached/Manifest b/dev-php/pecl-memcached/Manifest
index c8dae4b..2c0c100 100644
--- a/dev-php/pecl-memcached/Manifest
+++ b/dev-php/pecl-memcached/Manifest
@@ -1,2 +1,2 @@
 DIST memcached-2.2.0.tgz 70449 SHA256 17b9600f6d4c807f23a3f5c45fcd8775ca2e61d6eda70370af2bef4c6e159f58 SHA512 61207d3f8c11b0620dbcb20fb2ebb6d1fc10159a7e879ee91556a303c3dcdf3d2571e8dda5efcbed77ff779f5c9b226aa48800630b9e7781cd964126b848c356 WHIRLPOOL 1114a4c4371cfb42e3e4cb991980b32894f438abacf61c6da3dd6d9742c93e20df7691287c852c17dfe8261046227d73b1887c0b7b9c03a0e895a713005dc95a
-DIST pecl-memcached-3.0.0_alpha1_pre20161206.tar.gz 82102 SHA256 c9f158b8cb978495c89b615eb06098b24be0c501e757522dcc5357aeda6cb326 SHA512 c72c58223c8e780496f2fdfc727661efd5b5f3ae2a6bd2efa582591a9a8fae092ae5b89cac08e285bbe5175cb21f03168a605ad8bfefe9d290e97c613d2ba242 WHIRLPOOL cf3c8240982b26248079ceae96f56c906d9b741ec1b76d03ad4bad04a0598beea884dd0f89dbf9c12ffa487fc97062741a3ab69157440415e42367f02a2d7daa
+DIST pecl-memcached-3.0.0.tar.gz 83732 SHA256 15b8de6688a7a7c08c4893102918955a34f68edf7a64eed871f9f2b5e683d244 SHA512 ddc6b6fbdd55c6cdf64b9a7833142ea43eb974ecaae3437b30ed731f0ddbf4108b46ea5eb01a197788978273bdff31da6a0c0fb0354335b85618d98ba070bfec WHIRLPOOL 378b873dc5e944d0d8a9367f29b9746fcf0e15226f6b4a2eb1916e07fefcec0ce5229351f5796dc1513a2104565c6c04957ed9202133c111aad5ebb8e6c08b74

diff --git a/dev-php/pecl-memcached/pecl-memcached-3.0.0_alpha1_pre20161206.ebuild b/dev-php/pecl-memcached/pecl-memcached-3.0.0.ebuild
similarity index 59%
rename from dev-php/pecl-memcached/pecl-memcached-3.0.0_alpha1_pre20161206.ebuild
rename to dev-php/pecl-memcached/pecl-memcached-3.0.0.ebuild
index afad9a7..5965182 100644
--- a/dev-php/pecl-memcached/pecl-memcached-3.0.0_alpha1_pre20161206.ebuild
+++ b/dev-php/pecl-memcached/pecl-memcached-3.0.0.ebuild
@@ -4,41 +4,36 @@
 
 EAPI=6
 PHP_EXT_NAME="memcached"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
+PHP_EXT_PECL_PKG="php-memcached" # Needed when SRC_URI is Github.
 DOCS=( ChangeLog README.markdown )
 
-USE_PHP="php5-6 php7-0 php7-1"
-
-inherit php-ext-source-r3 vcs-snapshot
-
-USE_PHP="php7-0 php7-1"
-
-SRC_URI="https://github.com/php-memcached-dev/php-memcached/archive/e65be324557eda7167c4831b4bfb1ad23a152beb.tar.gz -> ${P}.tar.gz"
-HOMEPAGE="http://pecl.php.net/package/memcached"
-KEYWORDS="~amd64 ~x86"
+USE_PHP="php5-6 php7-0 php7-1" # Pretend to support all three targets...
+inherit php-ext-pecl-r3
+USE_PHP="php7-0 php7-1" # But only truly build for these two.
 
 DESCRIPTION="Interface PHP with memcached via libmemcached library"
+# Usually set in the eclass, but this release made it to github first.
+SRC_URI="https://github.com/php-memcached-dev/php-memcached/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="PHP-3"
 SLOT="7"
-IUSE="+session igbinary json sasl"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples igbinary json sasl +session "
 
 COMMON_DEPEND=">=dev-libs/libmemcached-1.0.14[sasl?]
 	sys-libs/zlib
 	igbinary? ( dev-php/igbinary[php_targets_php7-0?] )"
 
-DEPEND="php_targets_php7-0? ( ${COMMON_DEPEND} dev-lang/php:7.0[session?,json?] )
-	php_targets_php7-1? ( ${COMMON_DEPEND} dev-lang/php:7.1[session?,json?] )"
-RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-memcached:0[php_targets_php5-6] )"
-
-src_unpack(){
-	if use php_targets_php7-0 || use php_targets_php7-1 ; then
-		vcs-snapshot_src_unpack
-		php-ext-source-r3_src_unpack
-	else
-		S="${WORKDIR}"
-	fi
-}
+DEPEND="
+	php_targets_php7-0? (
+		${COMMON_DEPEND} dev-lang/php:7.0[session?,json?]
+	)
+	php_targets_php7-1? (
+		${COMMON_DEPEND} dev-lang/php:7.1[session?,json?]
+	)"
+RDEPEND="${DEPEND}
+	php_targets_php5-6? (
+		dev-php/pecl-memcached:0[php_targets_php5-6]
+	)"
 
 src_prepare(){
 	if use php_targets_php7-0 || use php_targets_php7-1 ; then
@@ -59,6 +54,8 @@ src_configure() {
 }
 
 src_install(){
+	use examples && dodoc -r server-example
+
 	if use php_targets_php7-0 || use php_targets_php7-1 ; then
 		php-ext-source-r3_src_install
 	fi


             reply	other threads:[~2017-02-04 15:57 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-04 15:57 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-18 15:09 [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-memcached/ Sam James
2024-11-13 12:47 Michael Orlitzky
2024-11-13 11:10 Arthur Zamarin
2024-11-11 13:00 Sam James
2024-11-11 13:00 Sam James
2024-11-11 13:00 Sam James
2024-11-10  2:26 Michael Orlitzky
2024-11-10  2:26 Michael Orlitzky
2023-10-23 21:41 Michael Orlitzky
2023-07-06  6:08 Sam James
2022-10-26 19:56 Conrad Kostecki
2022-08-01 12:11 Joonas Niilola
2022-08-01 12:11 Joonas Niilola
2022-08-01  8:02 Agostino Sarubbo
2022-08-01  8:02 Agostino Sarubbo
2022-05-16 23:31 Sam James
2022-05-03 17:30 Brian Evans
2022-03-18 18:06 Brian Evans
2021-11-23 15:18 Brian Evans
2021-08-27 15:31 Brian Evans
2021-01-11 15:05 Brian Evans
2020-11-03 12:58 Sam James
2020-10-28 16:18 Sam James
2020-10-28 16:18 Sam James
2020-10-26 16:12 Thomas Deutschmann
2020-02-11 18:15 Brian Evans
2020-01-28 17:31 Brian Evans
2020-01-28 17:31 Brian Evans
2019-12-12 15:21 Brian Evans
2019-12-09 23:33 Thomas Deutschmann
2019-11-28 21:02 Thomas Deutschmann
2019-11-26  1:04 Aaron Bauman
2019-11-17 21:54 Thomas Deutschmann
2019-11-17 21:01 Thomas Deutschmann
2019-11-03 13:59 Mikle Kolyada
2019-06-06  6:51 Agostino Sarubbo
2019-06-04 19:37 Brian Evans
2019-06-04 19:37 Brian Evans
2019-06-04 16:22 Brian Evans
2019-02-22 15:05 Brian Evans
2019-02-22 15:05 Brian Evans
2019-01-14 15:28 Thomas Deutschmann
2018-04-18 21:30 Aaron Bauman
2017-12-04 17:55 Brian Evans
2017-12-04 17:55 Brian Evans
2017-03-26  0:08 Michael Orlitzky
2017-03-04 15:06 Brian Evans
2017-03-04 13:46 Agostino Sarubbo
2017-03-04 13:38 Agostino Sarubbo
2017-01-12 21:37 Brian Evans
2016-12-12 21:07 Michael Orlitzky
2016-12-12 16:23 Brian Evans
2016-07-14 21:03 Brian Evans
2016-02-14 10:11 Agostino Sarubbo
2016-01-23 17:34 Agostino Sarubbo
2015-12-25 16:20 Agostino Sarubbo
2015-12-07 14:08 Michael Orlitzky
2015-12-07 10:02 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1486223814.842f169aa7566dbbfa4701e1d6ad98e9097d36c0.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox