From ba7a238ca9c95cb73dc1040bfe42d78dd6970126 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 8 Feb 2024 15:59:10 +0000 Subject: gentoo auto-resync : 08:02:2024 - 15:59:10 --- dev-php/Manifest.gz | Bin 35192 -> 35190 bytes dev-php/maxmind-db-reader/Manifest | 4 +- .../maxmind-db-reader-1.11.0.ebuild | 78 --------------------- .../maxmind-db-reader-1.11.1.ebuild | 78 +++++++++++++++++++++ 4 files changed, 80 insertions(+), 80 deletions(-) delete mode 100644 dev-php/maxmind-db-reader/maxmind-db-reader-1.11.0.ebuild create mode 100644 dev-php/maxmind-db-reader/maxmind-db-reader-1.11.1.ebuild (limited to 'dev-php') diff --git a/dev-php/Manifest.gz b/dev-php/Manifest.gz index 6a6d6e3a6267..0f3d35f2b525 100644 Binary files a/dev-php/Manifest.gz and b/dev-php/Manifest.gz differ diff --git a/dev-php/maxmind-db-reader/Manifest b/dev-php/maxmind-db-reader/Manifest index 17fa68a3e7dd..7faed580c5d8 100644 --- a/dev-php/maxmind-db-reader/Manifest +++ b/dev-php/maxmind-db-reader/Manifest @@ -1,3 +1,3 @@ -DIST MaxMind-DB-Reader-php-1.11.0.tar.gz 23018 BLAKE2B 28e0ad3e8440a4bfad17292e71289224dc2a8deecaf510f887637760ed931a4d90e921f369bf6e37458e9a45212af82105a42925800577228797c47604b9135a SHA512 182c57d9d799b4303e7f5a6f5b47f64b953e216290b26f5891cfc9658dc030bc1f954c48a07777c71ebb9b8f34e4c275d2af794086d33c5bee8b3fe38c1ff56f -EBUILD maxmind-db-reader-1.11.0.ebuild 2209 BLAKE2B 4c2a0280dc68d2adfdefaf485f7fb6c4ae7d1a313e755ff8cdedfce01c3e423aec3c02dd245b098a2920300c9049da757d06979f2eaec956c41dd60f5ee07819 SHA512 37c54a40db838861dd5d72a34ef6f8bc4d738472c51d0246da182003a63734d7c6002bbdc58de5129af166792616545faf558ce8319e2668069f527e8956682b +DIST MaxMind-DB-Reader-php-1.11.1.tar.gz 23346 BLAKE2B ad783bbca018befa0f4c6f282bb440baf70ad2c91da0af8fb799ae727a5fc7f9acc1f004972ccc8f358272be2d9fbe4233b0d3526347db175ccc5eb140d139d3 SHA512 86b5cf523d0036a55e79f0721b7df923236146e0d29a9dc37affd61a4ba4bc0587a724aef0654239d009bb85eae4be6e42c2d63a5d2edf682fa90abdfbd234f0 +EBUILD maxmind-db-reader-1.11.1.ebuild 2223 BLAKE2B 9eeffd69d3791e23f27ba5960e02805f7e80f48d936a85dc814c25aacbb2b81d5394db84b5347d7bfe1d5ef1e2b28e73d6d12dd1e8d21b4bec8e543141a8ba94 SHA512 d03d0f55379d48d518cf559d0aa2cb33180da20a085b57e5d1c084f863e11c8317c9386ddd016acdbba58d5d8d3588784240862ae4e81ddc01acb5b9e9995c7d MISC metadata.xml 586 BLAKE2B 69b8c42dc80e3b164f2287e0c65732ad0d5bc53ab1062e651dd85e21d5fdfb6a1e9990cd4d78077f2dcf73e2c8689e7be6a34c11cfd3ed8690a41a8a737e6246 SHA512 5604ac300486eaeb0bfd52d5a95438843b031eef15162438374e6126ace92327a64cb692a549d301f245fd6622856e973c9dbde60d2dcd398c667a9f8fa1fd5b diff --git a/dev-php/maxmind-db-reader/maxmind-db-reader-1.11.0.ebuild b/dev-php/maxmind-db-reader/maxmind-db-reader-1.11.0.ebuild deleted file mode 100644 index 6ac3d7394aeb..000000000000 --- a/dev-php/maxmind-db-reader/maxmind-db-reader-1.11.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -MY_PN="MaxMind-DB-Reader-php" -MY_P="${MY_PN}-${PV}" -S="${WORKDIR}/${MY_P}" -PHP_EXT_S="${S}/ext" -PHP_EXT_NAME="maxminddb" -PHP_EXT_OPTIONAL_USE="extension" - -USE_PHP="php8-1" - -inherit php-ext-source-r3 - -DESCRIPTION="PHP reader for the MaxMind database format" -HOMEPAGE="https://github.com/maxmind/MaxMind-DB-Reader-php" -SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="extension test" -RESTRICT="!test? ( test )" - -DEPEND="extension? ( dev-libs/libmaxminddb )" -RDEPEND="${DEPEND}" - -src_prepare() { - # We need to call eapply_user ourselves, because it may be skipped - # if either the "extension" USE flag is not set, or if the user's - # PHP_TARGETS is essentially empty. In the latter case, the eclass - # src_prepare does nothing. We only call the eclass phase conditionally - # because the correct version of e.g. "phpize" may not be there - # unless USE=extension is set. - if use extension ; then - php-ext-source-r3_src_prepare - else - default - fi -} - -src_configure() { - # The eclass phase will try to run the ./configure script even if it - # doesn't exist (in contrast to the default src_configure), so we - # need to skip it if the eclass src_prepare (that creates said - # script) is not run. - use extension && php-ext-source-r3_src_configure -} - -src_compile() { - # Avoids the same problem as in src_configure. - use extension && php-ext-source-r3_src_compile -} - -src_install() { - dodoc CHANGELOG.md README.md - insinto /usr/share/php - doins -r src/MaxMind - insinto /usr/share/php/MaxMind/Db - doins autoload.php - - use extension && php-ext-source-r3_src_install -} - -src_test() { - # The PHP API has its own set of tests that isn't shipped with the - # release tarballs at the moment (github issues 55). - use extension && php-ext-source-r3_src_test -} - -pkg_postinst() { - elog "${PN} has been installed in /usr/share/php/MaxMind/Db/." - elog "To use it in a script, require('MaxMind/Db/autoload.php')," - elog "and then most of the examples in the documentation should" - elog "work without further modification." -} diff --git a/dev-php/maxmind-db-reader/maxmind-db-reader-1.11.1.ebuild b/dev-php/maxmind-db-reader/maxmind-db-reader-1.11.1.ebuild new file mode 100644 index 000000000000..4486a2880177 --- /dev/null +++ b/dev-php/maxmind-db-reader/maxmind-db-reader-1.11.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +MY_PN="MaxMind-DB-Reader-php" +MY_P="${MY_PN}-${PV}" +S="${WORKDIR}/${MY_P}" +PHP_EXT_S="${S}/ext" +PHP_EXT_NAME="maxminddb" +PHP_EXT_OPTIONAL_USE="extension" + +USE_PHP="php8-1 php8-2 php8-3" + +inherit php-ext-source-r3 + +DESCRIPTION="PHP reader for the MaxMind database format" +HOMEPAGE="https://github.com/maxmind/MaxMind-DB-Reader-php" +SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="extension test" +RESTRICT="!test? ( test )" + +DEPEND="extension? ( dev-libs/libmaxminddb )" +RDEPEND="${DEPEND}" + +src_prepare() { + # We need to call eapply_user ourselves, because it may be skipped + # if either the "extension" USE flag is not set, or if the user's + # PHP_TARGETS is essentially empty. In the latter case, the eclass + # src_prepare does nothing. We only call the eclass phase conditionally + # because the correct version of e.g. "phpize" may not be there + # unless USE=extension is set. + if use extension ; then + php-ext-source-r3_src_prepare + else + default + fi +} + +src_configure() { + # The eclass phase will try to run the ./configure script even if it + # doesn't exist (in contrast to the default src_configure), so we + # need to skip it if the eclass src_prepare (that creates said + # script) is not run. + use extension && php-ext-source-r3_src_configure +} + +src_compile() { + # Avoids the same problem as in src_configure. + use extension && php-ext-source-r3_src_compile +} + +src_install() { + dodoc CHANGELOG.md README.md + insinto /usr/share/php + doins -r src/MaxMind + insinto /usr/share/php/MaxMind/Db + doins autoload.php + + use extension && php-ext-source-r3_src_install +} + +src_test() { + # The PHP API has its own set of tests that isn't shipped with the + # release tarballs at the moment (github issues 55). + use extension && php-ext-source-r3_src_test +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/MaxMind/Db/." + elog "To use it in a script, require('MaxMind/Db/autoload.php')," + elog "and then most of the examples in the documentation should" + elog "work without further modification." +} -- cgit v1.2.3