diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-08-06 18:33:02 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-08-06 18:33:02 +0000 |
| commit | 50f4682abe296562a6419507658be04e5c909e06 (patch) | |
| tree | a34da00eff933dd88c7f0ecd70ead91ff9ebd876 /dev-php | |
| parent | 2c1537076bd74c7b8b6c520e56f426f1ca3deaac (diff) | |
| download | baldeagleos-repo-50f4682abe296562a6419507658be04e5c909e06.tar.gz baldeagleos-repo-50f4682abe296562a6419507658be04e5c909e06.tar.xz baldeagleos-repo-50f4682abe296562a6419507658be04e5c909e06.zip | |
Updating liguros repo
Diffstat (limited to 'dev-php')
| -rw-r--r-- | dev-php/PEAR-HTTP_Request2/Manifest | 1 | ||||
| -rw-r--r-- | dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.4.1.ebuild | 33 | ||||
| -rw-r--r-- | dev-php/PHPMailer/Manifest | 1 | ||||
| -rw-r--r-- | dev-php/PHPMailer/PHPMailer-6.1.7.ebuild | 73 | ||||
| -rw-r--r-- | dev-php/adodb/Manifest | 3 | ||||
| -rw-r--r-- | dev-php/adodb/adodb-5.20.15.ebuild | 40 | ||||
| -rw-r--r-- | dev-php/adodb/adodb-5.20.18.ebuild (renamed from dev-php/adodb/adodb-5.20.17.ebuild) | 0 | ||||
| -rw-r--r-- | dev-php/composer/Manifest | 1 | ||||
| -rw-r--r-- | dev-php/composer/composer-1.10.10.ebuild | 48 | ||||
| -rw-r--r-- | dev-php/igbinary/Manifest | 2 | ||||
| -rw-r--r-- | dev-php/igbinary/igbinary-3.1.4.ebuild (renamed from dev-php/igbinary/igbinary-3.0.1.ebuild) | 14 | ||||
| -rw-r--r-- | dev-php/pecl-dio/Manifest | 1 | ||||
| -rw-r--r-- | dev-php/pecl-dio/pecl-dio-0.2.0.ebuild | 24 | ||||
| -rw-r--r-- | dev-php/pecl-mongodb/Manifest | 1 | ||||
| -rw-r--r-- | dev-php/pecl-mongodb/pecl-mongodb-1.8.0.ebuild | 55 |
15 files changed, 247 insertions, 50 deletions
diff --git a/dev-php/PEAR-HTTP_Request2/Manifest b/dev-php/PEAR-HTTP_Request2/Manifest index d8db0d0742b6..b7c04151b4c4 100644 --- a/dev-php/PEAR-HTTP_Request2/Manifest +++ b/dev-php/PEAR-HTTP_Request2/Manifest @@ -1 +1,2 @@ DIST HTTP_Request2-2.3.0.tgz 119717 BLAKE2B f12972b2423258016f4f4ef8888b5aa1d56bb47146cc6e21f74edfd2e3cd8ae69a1830b4a203990e1346554f2a6e9538e8d5feae27cceadc8465b018dd34ff37 SHA512 52fc2768f3c5afe6fd4505d427255e467b5b7cac8a4116cbabc3f1c0ffe6f1bd061a9c9b31de2ebbd4a7844ae73085ab0d52adf905dce28eb31197117657d77b +DIST HTTP_Request2-2.4.1.tgz 125380 BLAKE2B 0037938211432be52af8851b015f8c8ef73225fbbc1727e6e647d2e9632fa471a73ae14c4f8c0ea636fb97339dfd53da91bd391543bc855dc9a123ca7a707965 SHA512 9a65aee4c4f724a84815d683522225d36a8e30fc1f5dbbe6b4681ec264b4fb711573bd6d2ec6ddc228c9e259ffbeeb6816aadba155530e969c7bfac4e0617e2b diff --git a/dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.4.1.ebuild b/dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.4.1.ebuild new file mode 100644 index 000000000000..b1f6817200a1 --- /dev/null +++ b/dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.4.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +DESCRIPTION="Provides an easy way to perform HTTP requests" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="+curl +fileinfo +ssl test +zlib" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*[curl?,fileinfo?,ssl?,zlib?] +>=dev-php/PEAR-Net_URL2-2.2.0" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +src_prepare() { + sed -i "s~@data_dir@~${EPREFIX}/usr/share/php/data~" HTTP/Request2/CookieJar.php || die + default +} + +src_test() { + phpunit tests || die +} + +src_install() { + php-pear-r2_src_install + insinto "/usr/share/php/data/${PHP_PEAR_PKG_NAME}" + doins data/* +} diff --git a/dev-php/PHPMailer/Manifest b/dev-php/PHPMailer/Manifest index 156f23296ca7..c6730556d128 100644 --- a/dev-php/PHPMailer/Manifest +++ b/dev-php/PHPMailer/Manifest @@ -1,2 +1,3 @@ DIST PHPMailer-5.2.28.tar.gz 159284 BLAKE2B 866a38c60ac55cbd8aefec5ad82211575e672578ddff1af435e676c7058b0a090884f3e5f2c1e6f30c94b01e393f982f644e578ea22c931ffb8a93be717e379b SHA512 c2dd762b8958d1dc68fec52d7daae7337e05cadcbcf9e67c27247c808877cf3132e80cf6d4c9c577f8ad9203e433282e45f2166bccce025bcc4477724eb7036f DIST PHPMailer-6.1.6.tar.gz 94769 BLAKE2B 6689f4429c0847de41016325553d58d544f78d5f8a94d9014841435a3cf161e4e10b14fe2cbb61c737bf75d87f2dc4cde66885c06a0b6992a472f0f46fe5dd6b SHA512 25530e6c5513e89729a5b253565143a5a9a35ee5f7813637eee18ca1d604cb83625f7beb106e56536f681d7ec4332fcd3cddcac5da7c73f730db1b056ba5b2e4 +DIST PHPMailer-6.1.7.tar.gz 95102 BLAKE2B 8a1a09aa8f1c82900d881cf82e4a44705afbabc2f38b7bcf8b069a23c426f690dfbebd30c27a30dfbd8a3ad10e75e88fab4fa064bd44308b837455b84a41cad9 SHA512 4b37e11bb99966b8151b64a469125f249091c9b57ef729549735f37869fbaf1a1fb1a3f9d19822c824e909e8b53b696d3cb0d5180683e94968145a968622c2e8 diff --git a/dev-php/PHPMailer/PHPMailer-6.1.7.ebuild b/dev-php/PHPMailer/PHPMailer-6.1.7.ebuild new file mode 100644 index 000000000000..e27c5fd93328 --- /dev/null +++ b/dev-php/PHPMailer/PHPMailer-6.1.7.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Full-featured email creation and transfer class for PHP" +HOMEPAGE="https://github.com/PHPMailer/PHPMailer" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# To help out the Composer children, the tests and examples are missing +# from the release tarballs. +IUSE="doc idn ssl" + +# The ctype and filter extensions get used unconditionally, with no +# fallback and no "extension missing" exception. All of the other +# extensions are technically optional, depending on how you use +# PHPMailer and whether or not you're willing to settle for fallback +# implementations. +# +# The insane dependency string is to prevent the ctype and filter +# extensions from being provided by one version (i.e. slot) of PHP, +# while intl and unicode are provided by another. +RDEPEND=" + ssl? ( + idn? ( dev-lang/php:*[ctype,filter,intl,ssl,unicode] ) + !idn? ( dev-lang/php:*[ctype,filter,ssl] ) + ) + !ssl? ( + idn? ( dev-lang/php:*[ctype,filter,intl,unicode] ) + !idn? ( dev-lang/php:*[ctype,filter] ) + )" +BDEPEND="doc? ( dev-php/phpDocumentor )" + +src_prepare() { + # OAuth.php relies on a (now non-nonexistent) autoloader. We remove + # it early so that we don't generate documentation for it later on. + rm src/OAuth.php || die 'failed to remove src/OAuth.php' + eapply_user +} + +src_compile() { + if use doc; then + phpdoc --filename="src/*.php" \ + --target="./html" \ + --cache-folder="${T}" \ + --title="${PN}" \ + --sourcecode \ + --force \ + --progressbar \ + || die "failed to generate API documentation" + fi +} + +src_install() { + # The PHPMailer class loads its language files + # using a relative path, so we need to keep the "src" here. + insinto "/usr/share/php/${PN}" + doins -r language src + + dodoc README.md SECURITY.md + use doc && dodoc -r html/* +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog "Upstream no longer provides an autoloader, so you will need" + elog "to include each source file (for example: PHPMailer.php," + elog "Exception.php,...) that you need." +} diff --git a/dev-php/adodb/Manifest b/dev-php/adodb/Manifest index 027fcb460792..86909035976f 100644 --- a/dev-php/adodb/Manifest +++ b/dev-php/adodb/Manifest @@ -1,3 +1,2 @@ DIST adodb-5.20.14.tar.gz 465896 BLAKE2B acd8494141584b0c02c2e30aa59b3916ae811b8095ca724d22f44ed2cb1456b8e8afc7ff9af41e7476f4a93809e762c44a175fd3775b69654107813342b3a47a SHA512 fa9b764742f3edf15e79da7a34ca52b19f51454fa20bc963cce963cdd40f7e78671e993cd672a21e9917aa2440c63601fbf768b5259dccb64b458a5be6f4b0eb -DIST adodb-5.20.15.tar.gz 466749 BLAKE2B ca232e15094eaf728dd82b449cfded4f84fc773e5dbe1a06b7bb15fc18487080131c52d7ae9d77e6a401bfd53baa7875810c94b6bda615d0a836a715914de9d7 SHA512 87c6f508f49a54e436b56d47d3c0b2801f4f022876013a2ffa23e751cc4c7aa83aa359e51acc4f8351fd596ad4f5d71326204ae3d57514c4354f68669e412c73 -DIST adodb-5.20.17.tar.gz 466901 BLAKE2B 86e6cc7ae383c698e889925679d1a1f8ace181fe82a178e527ea169f1d21e83844563707e707968522de8bdc180eeb103793fa0468a38f924f29ac4b96310c50 SHA512 c8850f4e330dc058564b59c8a73e0687e1c9d1c56f617b4bbd99aee83e7047626d436c903caf913b11784be1528bb55e442e6365732f8d4bec82edb029831bd6 +DIST adodb-5.20.18.tar.gz 467003 BLAKE2B ea0b007359a4fdada0fface3d5af82c335f2e7efeacdbb66be37914d76bff2783b58b2318531c527d13c3c358800803385c660c8f9372cf4a49269ed7e0c7d51 SHA512 09b04987e20a674a202be3889523b3bada578ea01f07830fed15afafb046687004b4e305a6abf2af795a7b0e3563f6e8afec5b0189f21e5c74b5e84bfbee1cd9 diff --git a/dev-php/adodb/adodb-5.20.15.ebuild b/dev-php/adodb/adodb-5.20.15.ebuild deleted file mode 100644 index f16a3af534d9..000000000000 --- a/dev-php/adodb/adodb-5.20.15.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="ADOdb" -DESCRIPTION="Database abstraction layer for PHP" -HOMEPAGE="https://github.com/ADOdb" -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -# If you want to be picky, we should require that PHP be built with at -# least one database driver enabled; otherwise adodb isn't going to be -# able to do anything. But, the database USE flags for dev-lang/php are -# a mess. What we would *like* to do is have a set of USE flags for -# adodb that then propagate to PHP itself... for example, adodb[mysql] -# could require php[mysql]. To do that would require that we duplicate -# the database USE flag mess for adodb -- not desirable. Instead we punt -# and let the user install adodb unconditionally. If he doesn't have -# database support in PHP, it just won't work. -RDEPEND="dev-lang/php:*" - -S="${WORKDIR}/${MY_PN}-${PV}" - -src_install() { - DOCS="README.md docs/changelog*.md xmlschema*.dtd session/*.sql" - DOCS+=" session/*.txt session/*.xml pear/auth_adodb_example.php" - DOCS+=" pear/readme.Auth.txt" - - dodoc $DOCS - rm -f $DOCS || die "failed to remove docs before installation" - - insinto "/usr/share/php/${PN}" - doins *.php - doins -r contrib datadict drivers lang pear perf replicate session xsl -} diff --git a/dev-php/adodb/adodb-5.20.17.ebuild b/dev-php/adodb/adodb-5.20.18.ebuild index a1cd6765bdcf..a1cd6765bdcf 100644 --- a/dev-php/adodb/adodb-5.20.17.ebuild +++ b/dev-php/adodb/adodb-5.20.18.ebuild diff --git a/dev-php/composer/Manifest b/dev-php/composer/Manifest index 0229922e0f38..efd9736b8221 100644 --- a/dev-php/composer/Manifest +++ b/dev-php/composer/Manifest @@ -1,4 +1,5 @@ DIST composer-1.10.1.tar.gz 421852 BLAKE2B a40f59ab0af5eba777f1926bab78e55fd1973e53b324eec73fdca70678fc1cfe6f892790a61a66dbdbe07caa03343bfd109318daec99c2c18707785c6bf149e0 SHA512 ebc3ee48bf0d2597e7221e9ac0ab7188e7a99096d5dacdee4176b4c7b4d252d079c117b5bd9131ff38d8963f95930fa9c83fa51ed542d4f7d58276561de1f2b8 +DIST composer-1.10.10.tar.gz 426836 BLAKE2B 46266e0338e4bad201d6f025ffb3ae6a4441543cb6aeec27502e43127cb6e109a2824960f774d2996b231e469639a6fa6f58f831e82f6a7313364049ddb626e7 SHA512 a859026dc2b6dc5f3bf8a03f305b7eb59339bc13148036c3b23c24a1136cc53c50217277d8877987e441e3de80d97d771d014f2a60e76bb09513827be2ce71e7 DIST composer-1.10.5.tar.gz 423065 BLAKE2B 0c8595f3583a692f89294455984aeff2ad9cbf2a39541355cbb736e717baacae8245fa81e6b9fde11dd5bb56ad3a074262f6f8ecb65b4bef9c782ef39887deec SHA512 cdadb2d146afcc140316b83d3b4f4c018d79e8222f6a6207cdd52db75ae9c78e787a509d88a3fe113f8218df2ace56ba2dd043e1b6e6c3dbb5129fd51d8e9925 DIST composer-1.10.6.tar.gz 423789 BLAKE2B 74d93e769c660f2c74e0ad5dd3ed5e5279c217552eb6d342ffd43d7fba10647865ade7b284c811f63504e0335e5655eae681cf14ae4d876eb56ff6a306c61268 SHA512 fdc209a82d3adda2728190282327b02d2b71bb9b1a80cbcda3699a826ee56451c997edac13d76e2784ebd4297d413bd46dd47b9538accd4bfe6c569464696779 DIST composer-1.10.7.tar.gz 424264 BLAKE2B 9939e4d1f29071ca4467076c13e0ceab32d10282876ebb0a76f41dd3efbd9c40a50dbf278dd0a12b2119d40ff9424c171f07381fbaadb94218b1fdf69f403fdb SHA512 81ece3314cddced101b0be491e40b60d42ef503cef4b1d5598c32f3378f10524004a7a8ef4360453a4cdaaf9d3b986ce07696de075dc424deae7703945f6d577 diff --git a/dev-php/composer/composer-1.10.10.ebuild b/dev-php/composer/composer-1.10.10.ebuild new file mode 100644 index 000000000000..29915836e3cf --- /dev/null +++ b/dev-php/composer/composer-1.10.10.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Dependency Manager for PHP" +HOMEPAGE="https://github.com/composer/composer" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/php:*[curl] + >=dev-php/ca-bundle-1.1.3 + >=dev-php/psr-log-1.1.0 + dev-php/fedora-autoloader + >=dev-php/json-schema-5.2.7 + >=dev-php/jsonlint-1.7.1 + >=dev-php/phar-utils-1.0.1 + >=dev-php/semver-1.4.2 + >=dev-php/spdx-licenses-1.5.0 + >=dev-php/symfony-console-2.8.48 + >=dev-php/symfony-filesystem-2.8.48 + >=dev-php/symfony-finder-2.8.49 + >=dev-php/symfony-process-2.8.48 + >=dev-php/xdebug-handler-1.3.1" + +src_install() { + insinto "/usr/share/${PN}" + + # Composer expects the LICENSE file to be there, and the + # easiest thing to do is to give it what it wants. + doins -r src res LICENSE + + insinto "/usr/share/${PN}/vendor" + newins "${FILESDIR}"/autoload-r1.php autoload.php + + exeinto "/usr/share/${PN}/bin" + doexe "bin/${PN}" + dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}" + + dodoc CHANGELOG.md README.md doc/*.md + dodoc -r doc/articles doc/faqs +} diff --git a/dev-php/igbinary/Manifest b/dev-php/igbinary/Manifest index 9484395f4d58..569c616d971d 100644 --- a/dev-php/igbinary/Manifest +++ b/dev-php/igbinary/Manifest @@ -1,2 +1,2 @@ -DIST igbinary-3.0.1.tar.gz 170957 BLAKE2B 2250ef228b059d5d87615412ffae3242cd757df25dc9a1bfe2a4d1dc33a417a4389abb2ab613359537a6ee3947526caded0ec584049e3d42669532b4a930afc9 SHA512 4930670ecdc1796fa73184e8f12bf570f7b1a43cb422cede056ccd1ca28fc950b00a9418519c59a9c07e346a89153b6b105e873fcfccb1365d43d4abf98804da DIST igbinary-3.1.2.tar.gz 212162 BLAKE2B c88de3abc274d0fce20a13604b51c30dcb4259a1bbfd6b6bc15abbec5b48d9c4735cd023575b9f9f2b1c81a6188676bb39032d72165eb872dc83b6daf27d16da SHA512 617442e1fc437d12666b1172ca2ae34a4d7377bff8b1d00194a159260213179e65e7e2f755a1583d2b299e3b0e90374b9021cd61ec7ac67e64018153e77af8c5 +DIST igbinary-3.1.4.tar.gz 214469 BLAKE2B 7bdab344c4cc90a1b2e1040be20af8e8d756f63515d7ddb20f5fe56cbc5bdfe19db177c07e36ffbb8a101cedb55c175d47e8ede8bcc384b7c6c8ef7c52d3ccfc SHA512 a46f822ee77877705485c58ba5286b9b74889d51509f90d46c5d4ece82f12a15e0e7b84cdb4ddcd1b5ba2cd8177fe899232f42c82f31dbb2fbef7e3388579c3d diff --git a/dev-php/igbinary/igbinary-3.0.1.ebuild b/dev-php/igbinary/igbinary-3.1.4.ebuild index 67fde3809285..e50a7e5bec71 100644 --- a/dev-php/igbinary/igbinary-3.0.1.ebuild +++ b/dev-php/igbinary/igbinary-3.1.4.ebuild @@ -1,18 +1,18 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PHP_EXT_NAME="${PN}" PHP_EXT_INI="yes" PHP_EXT_ZENDEXT="no" DOCS=( CREDITS NEWS README.md ) PHP_EXT_ECONF_ARGS=( --enable-${PN} ) -USE_PHP="php7-1 php7-2 php7-3" +USE_PHP="php7-1 php7-2 php7-3 php7-4" inherit php-ext-source-r3 -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" DESCRIPTION="A fast drop-in replacement for the standard PHP serialize" HOMEPAGE="https://github.com/igbinary/igbinary" @@ -20,7 +20,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -IUSE="" +#IUSE="" -DEPEND="" -RDEPEND="" +#DEPEND="" +#RDEPEND="" diff --git a/dev-php/pecl-dio/Manifest b/dev-php/pecl-dio/Manifest index bfc9ba2e3d38..ba26a871bd88 100644 --- a/dev-php/pecl-dio/Manifest +++ b/dev-php/pecl-dio/Manifest @@ -1 +1,2 @@ DIST dio-0.1.0.tgz 36960 BLAKE2B 0a2c1fd6289cc9606c44c81216ce8d0f63d4bbddfae554e65499f586f5aa17f419a048e97723ff365407260740d28e36ec5dae8a45e18422a7bd900ec88b60fd SHA512 6fca1c3f2d6247f5e0c52a27b49d80a6d13f9630772956ff7aa73ad45e445686502edd956346c43955cb2f858c0c0259af86c3f92b6f93309a2b90583ad8ea05 +DIST dio-0.2.0.tgz 37328 BLAKE2B e7ad6be1a4c957c155753e834d79f51b985578a03781ddbc66f05961dc270d58b20abcc74c64a0e9744d5cfbb6e545c1a7ac2bc1d54009c74f26bf786587ef49 SHA512 172c2a2a84d348d684d84ca94f23b767952461ca848cd114e899ea3fd39503a35ac0624a2a774b9dc6fd2d463d3f6aa6937e780e2faa6a0955a8594aad27ec8b diff --git a/dev-php/pecl-dio/pecl-dio-0.2.0.ebuild b/dev-php/pecl-dio/pecl-dio-0.2.0.ebuild new file mode 100644 index 000000000000..38453c8973f0 --- /dev/null +++ b/dev-php/pecl-dio/pecl-dio-0.2.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="dio" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +MY_PV=${PV/_rc/RC} +PHP_EXT_S="${WORKDIR}/${PN/pecl-/}-${MY_PV}" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Direct I/O functions for PHP" +LICENSE="PHP-3.01" +SLOT="0" +IUSE="" + +S="${PHP_EXT_S}" diff --git a/dev-php/pecl-mongodb/Manifest b/dev-php/pecl-mongodb/Manifest index abacdcf89d98..d95d8cbd5c02 100644 --- a/dev-php/pecl-mongodb/Manifest +++ b/dev-php/pecl-mongodb/Manifest @@ -3,3 +3,4 @@ DIST mongodb-1.5.5.tgz 1060017 BLAKE2B 475ca0f6a1cbd5270c9bde0f195d6092ef25441e0 DIST mongodb-1.6.0.tgz 1096156 BLAKE2B 16c3b1d07d31d29a214aba320347f8e40cfc4f0dae8b0713b02cd0e3ff98fd54b09217472f333722228efdfcae755bbdbfe58da7db89d4dda2893ba7b3b0e8bb SHA512 e75dc607bf41bb71a0fce3b73785ef4203af97a3e8b21bf70a80c2216e9530463a6aaca55b013a4fa2f3c4eb72405a25209935ea1a238475f990763af54aa641 DIST mongodb-1.7.4.tgz 1223416 BLAKE2B 9db40284eb2b70e242f26c1661923c5f33de8ab1e33a7e816863b61fcbc49040204ca556b1f384cab958f9dc2cf4e49e97840b78bd520a4e374b83210a964e5d SHA512 6805ce1d0958e24e1edf3bc9698bc1f4a9d31c26250624fd35aebf7a7d310af30050e1974cd9571f989303fce4c5522e793a8cb41388397df66e8f5fe0a648f2 DIST mongodb-1.7.5.tgz 1223892 BLAKE2B c30a217d1170c31be00259f4bb58cfea186947fa0bf1653de32e228a8eb8d3fb25b52d7a5a9e16f6b311418d977f7aa00bf96ca9d7e9ac9a8fa7b6fe05eace8f SHA512 f0565adc42659d4070e42122d02a8306f29d6d70fe0b5e9a92144df346a8c672aafdf36613435b9dc8d50db5e98c2359fdf97408c45439d4d447257b85e93122 +DIST mongodb-1.8.0.tgz 1292928 BLAKE2B 3bd9e5eb6b981010637b9e478928fa21268e1d1447f3ff345bfdb45c93637990e261c46b2ce09560cd4e284df73494dac210436cf700b588803e4ceffb8dc67c SHA512 7fd54dabde8df9533abd36d159c3da1c2b4606e7788b8a6d41faf83d0710b74885e8bfb4e1f4837a50248f3af1df2e7414b90f99227fc92c9084f779c7e68698 diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.8.0.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.8.0.ebuild new file mode 100644 index 000000000000..f2435b28dc82 --- /dev/null +++ b/dev-php/pecl-mongodb/pecl-mongodb-1.8.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="mongodb" +USE_PHP="php7-2 php7-3 php7-4" + +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-2? ( dev-lang/php:7.2[json,ssl,zlib] ) + php_targets_php7-3? ( dev-lang/php:7.3[json,ssl,zlib] ) + php_targets_php7-4? ( dev-lang/php:7.4[json,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") +} |
