public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-memcached/
Date: Sun, 17 Nov 2019 21:01:41 +0000 (UTC)	[thread overview]
Message-ID: <1574024488.897128f5151a0310a5a261f4b87359f1d83f1260.whissi@gentoo> (raw)

commit:     897128f5151a0310a5a261f4b87359f1d83f1260
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 20:47:00 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 21:01:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=897128f5

dev-php/pecl-memcached: bump to v3.1.4

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-php/pecl-memcached/Manifest                    |  1 +
 dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild | 75 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/dev-php/pecl-memcached/Manifest b/dev-php/pecl-memcached/Manifest
index b4ba9efd79b..577e0cd3430 100644
--- a/dev-php/pecl-memcached/Manifest
+++ b/dev-php/pecl-memcached/Manifest
@@ -1,3 +1,4 @@
 DIST memcached-2.2.0.tgz 70449 BLAKE2B dca76bfb993c647860ae2ce648580e6131c6df30d30def9a1f907fce06621f3d5a21b93605da9fc50bda542fd950317a5a398d6bf0db85f61469cfb5e9757566 SHA512 61207d3f8c11b0620dbcb20fb2ebb6d1fc10159a7e879ee91556a303c3dcdf3d2571e8dda5efcbed77ff779f5c9b226aa48800630b9e7781cd964126b848c356
 DIST memcached-3.0.4.tgz 78776 BLAKE2B ce2539e2e4960217d9ee3b50ed5625214d4b22c4d7e64595fdbfa2d130bce0402a67561f76a50690991996d84f16f926f27a057722bfab66ba3c388772ed77a8 SHA512 d0a0f9e99cbcc6829528554551dfacf0d943d54d4be60c9da708de82913a2a0bed7c51d594ae3ecf0c13b56064739f074ce6ada5d7433bdc7e26e8caf9cf5ca2
 DIST memcached-3.1.3.tgz 82673 BLAKE2B ccb9267cbd974337b7cd8836ab6e35c4fd9398d731dcd333bcb664b91037d1775651e6bb5d00b602767834681289064ede678ea2e6e3641631bba4990a380dee SHA512 9c09648c26011c5e749bee1a556c976e6e5e648dc65580e7caa296dab79e3764edf1408f96edcaca5efb0229320c86fcfa0422e55d486beb6466892f7e08c4a3
+DIST memcached-3.1.4.tgz 82920 BLAKE2B 67eb2a26453aa3253ab0d1327023da9318d7af6eb4d935f2c9f1d3da0b1590c58dbcbbea24c491eed6161a9e0462651c749a6e333e98a8cb26432c360ce805d0 SHA512 df1d2c2182c6d3565b929bb55e25a5285c0d5cf8b0fbb75417d756898970abc2b9c4d87e8bb8382d9d4fd62227de3838996c971525fb8a90bf503f025fc6f9f7

diff --git a/dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild b/dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild
new file mode 100644
index 00000000000..16ce44e3d85
--- /dev/null
+++ b/dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PHP_EXT_NAME="memcached"
+DOCS=( ChangeLog README.markdown )
+
+USE_PHP="php5-6 php7-1 php7-2 php7-3" # Pretend to support all four targets...
+inherit php-ext-pecl-r3
+USE_PHP="php7-1 php7-2 php7-3" # But only truly build for these three.
+
+DESCRIPTION="Interface PHP with memcached via libmemcached library"
+LICENSE="PHP-3"
+SLOT="7"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="examples igbinary json sasl +session test"
+
+COMMON_DEPEND=">=dev-libs/libmemcached-1.0.14[sasl?]
+	sys-libs/zlib
+"
+
+RDEPEND="
+	php_targets_php7-1? (
+		${COMMON_DEPEND} dev-lang/php:7.1[session?,json?]
+		igbinary? ( dev-php/igbinary[php_targets_php7-1(-)] )
+	)
+	php_targets_php7-2? (
+		${COMMON_DEPEND} dev-lang/php:7.2[session?,json?]
+		igbinary? ( dev-php/igbinary[php_targets_php7-2(-)] )
+	)
+	php_targets_php7-3? (
+		${COMMON_DEPEND} dev-lang/php:7.3[session?,json?]
+		igbinary? ( dev-php/igbinary[php_targets_php7-3(-)] )
+	)"
+DEPEND="${RDEPEND} test? ( net-misc/memcached )"
+RDEPEND="${RDEPEND} php_targets_php5-6? ( dev-php/pecl-memcached:0[php_targets_php5-6(-)] )"
+
+src_prepare(){
+	if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
+		php-ext-source-r3_src_prepare
+	else
+		default_src_prepare
+	fi
+}
+
+src_configure() {
+	local PHP_EXT_ECONF_ARGS="--enable-memcached
+		$(use_enable session memcached-session)
+		$(use_enable sasl memcached-sasl)
+		$(use_enable json memcached-json)
+		$(use_enable igbinary memcached-igbinary)"
+
+	php-ext-source-r3_src_configure
+}
+
+src_test() {
+	if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
+		local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 )
+		[[ ${EUID} == 0 ]] && memcached_opts+=( -u portage )
+		memcached "${memcached_opts[@]}" || die "Can't start memcached test server"
+
+		local exit_status
+		php-ext-source-r3_src_test
+		exit_status=$?
+
+		kill "$(<"${T}/memcached.pid")"
+		return ${exit_status}
+	fi
+}
+
+src_install(){
+	if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
+		php-ext-source-r3_src_install
+	fi
+}


             reply	other threads:[~2019-11-17 21:01 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-17 21:01 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-23 21:41 [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-memcached/ 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-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-02-04 15:57 Michael Orlitzky
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=1574024488.897128f5151a0310a5a261f4b87359f1d83f1260.whissi@gentoo \
    --to=whissi@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