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-mongodb/
Date: Sun, 25 Apr 2021 15:30:12 +0000 (UTC)	[thread overview]
Message-ID: <1619364609.d31ba9a9a7e819b98929554040386e7e214b3be2.whissi@gentoo> (raw)

commit:     d31ba9a9a7e819b98929554040386e7e214b3be2
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 15:28:57 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 15:30:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d31ba9a9

dev-php/pecl-mongodb: bump to v1.9.1

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

 dev-php/pecl-mongodb/Manifest                  |  1 +
 dev-php/pecl-mongodb/pecl-mongodb-1.9.1.ebuild | 55 ++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-php/pecl-mongodb/Manifest b/dev-php/pecl-mongodb/Manifest
index 682116d0c8c..b13d6baf0de 100644
--- a/dev-php/pecl-mongodb/Manifest
+++ b/dev-php/pecl-mongodb/Manifest
@@ -3,3 +3,4 @@ DIST mongodb-1.7.5.tgz 1223892 BLAKE2B c30a217d1170c31be00259f4bb58cfea186947fa0
 DIST mongodb-1.8.0.tgz 1292928 BLAKE2B 3bd9e5eb6b981010637b9e478928fa21268e1d1447f3ff345bfdb45c93637990e261c46b2ce09560cd4e284df73494dac210436cf700b588803e4ceffb8dc67c SHA512 7fd54dabde8df9533abd36d159c3da1c2b4606e7788b8a6d41faf83d0710b74885e8bfb4e1f4837a50248f3af1df2e7414b90f99227fc92c9084f779c7e68698
 DIST mongodb-1.8.1.tgz 1292453 BLAKE2B 25fe36b7d966a4dcf631764aeb93c09932cc0643e46fe5e594d9223a9d3f099b75211a813114c3e8cd4a1722da774b669ef968fdbb1d4877a81cf1f637890997 SHA512 a80682e3a90ead699a930185c3d10bc3a86b335b45891be6d41ef829fab6f2f2468adb5973735048fa98bb6aaa9c8568ba9f7df5709916d5b6f7676c77188d0c
 DIST mongodb-1.9.0.tgz 1300408 BLAKE2B 1cf6a43694e8113df8028c2663db8049421140d53124e6dcf8cb3e42daf961dc6a63cc930c765874eb1ccac13d419980d883e42ba33f3ea389b07ea006217432 SHA512 80ad3caddde045fe5e879167b2b4cfc27bdabf6d3667df4df73f33503c329b0d6bf4da6b287fe454301a9a390434eec19971059c6de8d4c9720a79fe7680366d
+DIST mongodb-1.9.1.tgz 1285984 BLAKE2B 7d3dd7635b97d142abdf0882d03f4b7a7b42b9720a8e790dae5d4cfcbee54a2f18d70641851baf9258e59ebe396336ae72956b9f6e09812f017850dbdcc3dd97 SHA512 e1ff9fba2268020862e917a38946a7f5f4cc5caf22b38e9ccf60b491cdee20f55b9643e8904cd934de48d31ca69b1c26dd86454f74572ce977669f908d4ffe51

diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.9.1.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.9.1.ebuild
new file mode 100644
index 00000000000..f214d36f5d0
--- /dev/null
+++ b/dev-php/pecl-mongodb/pecl-mongodb-1.9.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PHP_EXT_NAME="mongodb"
+USE_PHP="php7-3 php7-4 php8-0"
+
+inherit php-ext-pecl-r3
+
+DESCRIPTION="MongoDB database driver for PHP"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl sasl test"
+
+PHP_DEPEND="
+	php_targets_php7-3? ( dev-lang/php:7.3[json,ssl,zlib] )
+	php_targets_php7-4? ( dev-lang/php:7.4[json,ssl,zlib] )
+	php_targets_php8-0? ( dev-lang/php:8.0[ssl,zlib] )"
+COMMON_DEPEND="${PHP_DEPEND}
+	>=dev-libs/libbson-1.17.0
+	>=dev-libs/mongo-c-driver-1.17.0[sasl?,ssl]
+	!libressl? ( dev-libs/openssl:0= )
+	libressl? ( dev-libs/libressl:0= )
+	sasl? ( dev-libs/cyrus-sasl )"
+DEPEND="${COMMON_DEPEND}
+	test? ( dev-db/mongodb )"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="${PHP_DEPEND}
+	virtual/pkgconfig"
+
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )
+	!test? ( test )"
+
+src_configure() {
+	local PHP_EXT_ECONF_ARGS=(
+		--enable-mongodb
+		--with-libbson
+		--with-libmongoc
+		--with-mongodb-sasl=$(usex sasl)
+	)
+	php-ext-source-r3_src_configure
+}
+
+src_test() {
+	local PORT=27017
+	mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+		--dbpath="${T}" --logpath="${T}/mongod.log" || die
+	php-ext-pecl-r3_src_test
+	kill $(<"${T}/mongod.lock")
+}


             reply	other threads:[~2021-04-25 15:30 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-25 15:30 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-28  2:00 [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-mongodb/ Conrad Kostecki
2023-12-28  2:00 Conrad Kostecki
2023-09-08 19:29 Sam James
2022-03-18 18:06 Brian Evans
2021-11-28 23:36 Jakov Smolić
2021-11-08 10:11 Agostino Sarubbo
2021-07-24 16:15 Thomas Deutschmann
2021-05-03  9:06 Mikle Kolyada
2021-04-05 20:32 Thomas Deutschmann
2021-01-21 16:39 Brian Evans
2020-10-16 14:38 Thomas Deutschmann
2020-08-06 14:34 Thomas Deutschmann
2020-07-18 22:38 Sam James
2020-07-08 12:49 Thomas Deutschmann
2020-05-29  7:42 Agostino Sarubbo
2020-04-11 21:15 Thomas Deutschmann
2019-12-05 20:25 Brian Evans
2019-11-29 12:13 Thomas Deutschmann
2019-11-15 21:57 Alexys Jacob
2019-07-30 22:32 Thomas Deutschmann
2019-03-29 14:23 Michael Orlitzky
2019-03-29 14:23 Michael Orlitzky
2018-12-23 14:29 Mikle Kolyada
2018-12-22 22:25 Thomas Deutschmann
2018-12-16 23:30 Thomas Deutschmann
2018-12-16 23:30 Thomas Deutschmann
2018-08-27 23:42 Michael Orlitzky
2018-06-22 21:52 Thomas Deutschmann
2018-03-31 21:46 Aaron Bauman
2018-03-06 16:31 Brian Evans
2017-12-07 17:34 Patrice Clement
2017-10-21  7:28 Patrice Clement
2017-05-19 13:29 Brian Evans
2017-02-12  1:27 Brian Evans
2017-01-06  5:00 Michael Orlitzky
2017-01-06  5:00 Michael Orlitzky
2016-07-25 14:10 Brian Evans
2016-06-30 17:00 Brian Evans

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=1619364609.d31ba9a9a7e819b98929554040386e7e214b3be2.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