From: Michael Orlitzky Date: Mon, 27 Aug 2018 23:15:42 +0000 (-0400) Subject: dev-php/pecl-mongodb: new version 1.5.2. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c32e2ea90e5c84006607d747cbc172671085dc6;p=gentoo.git dev-php/pecl-mongodb: new version 1.5.2. Closes: https://bugs.gentoo.org/662626 Package-Manager: Portage-2.3.44, Repoman-2.3.9 --- diff --git a/dev-php/pecl-mongodb/Manifest b/dev-php/pecl-mongodb/Manifest index 4f1fb7b7f2ed..d103b201f84f 100644 --- a/dev-php/pecl-mongodb/Manifest +++ b/dev-php/pecl-mongodb/Manifest @@ -5,3 +5,4 @@ DIST mongodb-1.2.9.tgz 786049 BLAKE2B 39c1ea211fdaa116e5a25fdb17a7be8b6c375909fc DIST mongodb-1.3.3.tgz 925476 BLAKE2B 845abd4c7cf5dbb1fb3b04c5fc4070f0a360874ac566f1988025701258141a89afaa0e60c3d7166484fa37eda4ef08d94deeabdcc2ebe2a4f221dcf83aff20df SHA512 16c82ada278eac6996065d3c594237fbb8c1a7fe4e21828aa8af9ef98033cf6dfaf0fee90095e8116e946e620b551a6122238f85865a6c47d4d087f784cd54ea 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 diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild new file mode 100644 index 000000000000..05c3b280e019 --- /dev/null +++ b/dev-php/pecl-mongodb/pecl-mongodb-1.5.2.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.12.0 + >=dev-libs/mongo-c-driver-1.12.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 +}