commit:     2b8ff5a267e522f1f9b34b712518501c4308eed9
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Sat Dec 15 00:05:25 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Dec 16 23:30:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b8ff5a2

dev-php/pecl-mongodb: bump to 1.5.3

Closes: https://bugs.gentoo.org/673086
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10640
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-php/pecl-mongodb/Manifest                  |  1 +
 dev-php/pecl-mongodb/pecl-mongodb-1.5.3.ebuild | 40 ++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-php/pecl-mongodb/Manifest b/dev-php/pecl-mongodb/Manifest
index d103b201f84..8dc6a6d7def 100644
--- a/dev-php/pecl-mongodb/Manifest
+++ b/dev-php/pecl-mongodb/Manifest
@@ -6,3 +6,4 @@ DIST mongodb-1.3.3.tgz 925476 BLAKE2B 
845abd4c7cf5dbb1fb3b04c5fc4070f0a360874ac5
 DIST mongodb-1.4.1.tgz 1037836 BLAKE2B 
eb31be94e1508a860d88d44e3e6714bea62a34eb999285a2e40082a0b66b617d380adbbf56614244eb567b8939dae223b0553d425e608d05d86cd3232441b59d
 SHA512 
4c053917ba6e178e114a4aafcd20ec505694bd96575235485e1524f1063d17ea1c446c86b7eb70d0c25db4ae6338d71fb33aa9df647ce1c80a17f539362230b0
 DIST mongodb-1.4.4.tgz 1043458 BLAKE2B 
bb159170fe6696f996a69d1a3ffbfbc66016e6f31a8c53022e836fb3c21554bd4b74f263b11c4ad78fd6e17b8ec75d551fbe65612778d3d44c9fb1c049f84e5a
 SHA512 
fe54b169593d8cddc0318ae6e40f833796b8745a45917446ce360604bb1ceb7b3242498ac9ca6a6be1389a735c12786b0542ba29655ff42a0c96e16a4a0b68cb
 DIST mongodb-1.5.2.tgz 1057139 BLAKE2B 
59ace4f5eb172bcdd2d6aba6b4a136da4ed2abfd432a9532862464f5e0082f8bfb12cf312f1860a638ba72bb1f08a187356eedf62971ebdb84e588f7d817204d
 SHA512 
189fb18cb36873dbbcd5803c1ccc37d5ecaf9412e76051bcebf1a492a40c13cfa518df5e45c4c57781eb79ab512c9403c54344a7593d89571a3965cd327ac15a
+DIST mongodb-1.5.3.tgz 1059580 BLAKE2B 
23bd5f6b0f218cf55bd5713a770f3990d5c1492925623712583356d8aee42a1b47519b93ba64036aaf98f97ab4b1b30de9d8aa39659f2575c4f4dba3892d574d
 SHA512 
35704e75bd7867a436d953c00c7560c9a08a4fa8f3555d7cc00aeda34e87c6c7aa7ecc1d7f674747e34f4f8dac35d320f6317e60229528ea9782bbe669bafec0

diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.5.3.ebuild 
b/dev-php/pecl-mongodb/pecl-mongodb-1.5.3.ebuild
new file mode 100644
index 00000000000..0e9d13b342a
--- /dev/null
+++ b/dev-php/pecl-mongodb/pecl-mongodb-1.5.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PHP_EXT_NAME="mongodb"
+USE_PHP="php5-6 php7-0 php7-1 php7-2"
+
+inherit php-ext-pecl-r3
+
+DESCRIPTION="MongoDB database driver for PHP"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl sasl"
+
+RDEPEND="
+       php_targets_php5-6? ( dev-lang/php:5.6[json,ssl,zlib] )
+       php_targets_php7-0? ( dev-lang/php:7.0[json,ssl,zlib] )
+       php_targets_php7-1? ( dev-lang/php:7.1[json,ssl,zlib] )
+       php_targets_php7-2? ( dev-lang/php:7.2[json,ssl,zlib] )
+       >=dev-libs/libbson-1.13.0
+       >=dev-libs/mongo-c-driver-1.13.0[sasl?,ssl]
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
+       sasl? ( dev-libs/cyrus-sasl )
+"
+# pkgconfig needed if system libraries are used for bson and libmongoc
+DEPEND="${RDEPEND} virtual/pkgconfig"
+
+src_configure() {
+       local PHP_EXT_ECONF_ARGS=(
+               --enable-mongodb
+               --with-libbson
+               --with-libmongoc
+               --with-mongodb-sasl=$(usex sasl)
+       )
+       php-ext-source-r3_src_configure
+}

Reply via email to