diff options
Diffstat (limited to 'dev-php/xdebug')
-rw-r--r-- | dev-php/xdebug/Manifest | 2 | ||||
-rw-r--r-- | dev-php/xdebug/xdebug-3.0.3.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-php/xdebug/Manifest b/dev-php/xdebug/Manifest index ab0f8088e81e..285534a82678 100644 --- a/dev-php/xdebug/Manifest +++ b/dev-php/xdebug/Manifest @@ -3,7 +3,9 @@ AUX 3.0-xdebug.ini 1207 BLAKE2B 5ebcd3d89e1f49ea67c517d9fe6f552b82341e47cc1d46f0 DIST xdebug-2.9.6.tar.gz 436208 BLAKE2B 00cfb42c41bfb44f285b97779d6ba625641fc34494465e9e791ab5458c6a608e432df0ad45c561df2f8c9aba04ab34b3a98bb5e6bfb92ace39a3ad4145f3514a SHA512 13ed07a1489ba7bc0b4e85bf56306c733e7894cea8cb442649635196606b12d92e5618ab2485e7cde4aaee2ac6752993aecd933c24fd64b5113ef619339403d2 DIST xdebug-2.9.8.tar.gz 438295 BLAKE2B 8645052faceb354817ddb448f46af5b849507d31255b43ac59bcef4ece7837ef835ae2ad624ed8a95f8f98d552ef0e7195a4ade7df9176bc300d855a0156f405 SHA512 c431d51a0d9c5ac1c7fc529c2819db480cbfff6f65c35c3c0dbef4e78427aa28ede164f397f92c409e58e386a6be34ecd2ded0ee35e01df1cbf92a49fd2f2aab DIST xdebug-3.0.2.tar.gz 435761 BLAKE2B 0476d29b3a960d83fd0818098a3d076f48f4d67057a2b6ec79571b011a9f364b18d3319771ad18e7145aa0f0f45fab7ed13d814b863731abe1721aafa8b59408 SHA512 723e00885a49a5626870cc4cb0f7fd49a3173c8d4e9b4022009430fdeaa1b152828de18e6e7fa709be8bb11989c89dc2d9940de9cc3d592174b5dafbc3d2c52d +DIST xdebug-3.0.3.tar.gz 437261 BLAKE2B 7ccfa8acbbe8b40eb086c9d4f47d363ec52850f5b0b91480bebfa416d7b88edf20deb6ee5fb5514dd1885f7a5b77c4b18caecf958d7dcf463c44c259d0fe2b89 SHA512 2ea5c6e2d6481aeeb5b2d8e39f5c5686d9b7480aea0c159f3da6e830700594b24129c1c4242ff8413b52aa2ed0ea872bf72a17fe23facb69c1cae75a917bde5d EBUILD xdebug-2.9.6.ebuild 1194 BLAKE2B 3bc713d7a87b093287f00a41372c72c0245d7a8db887c90110eb047df2a1511d0aa313623c289839668fbc8d79e9a53be4d90ef3de02e8a0b087dcecfd1d066b SHA512 ca1870abca6bf2f68ee42cbd81db5eb65cf91d2fde533f1dd7eb14b5067f830b134716115629270d415e8ec5d0a0653a175a40f36c6f37a3a9ea9e6ad1c8215d EBUILD xdebug-2.9.8.ebuild 1198 BLAKE2B c248c825f3437ff09276529712c5baac9d2e8067842cdab6c62779939c9accc53d18e5bd6b650a6a7df98b3fff633686d89a276e001fce3fee45e35d77353d33 SHA512 ea107d25c3d47c2f1b8f62a689d7d796ef7c76b7301f991f3162770a5a4cd9232e392234e9c21342a1aac3a4d2bf3aaa912d58df132ca09ed60d9a1da59fd7f3 EBUILD xdebug-3.0.2-r1.ebuild 1539 BLAKE2B af6fa2bcce4eb467ce2d27f32d30ab0c6b064869d4dc2ba1409fd6d40fc0cbcf0cffe4679b174f93eb8a0ac657d518ae14f0acd66830d3d9c9996c6d8976ebf3 SHA512 7ba76f4089b5955252daa240ba838340d2d7eefa6223380d7b8df5d4af0e3a38732908517e520da516b63fc68b46d0f845b71d788c617435d575099b9201e2ea +EBUILD xdebug-3.0.3.ebuild 1539 BLAKE2B af6fa2bcce4eb467ce2d27f32d30ab0c6b064869d4dc2ba1409fd6d40fc0cbcf0cffe4679b174f93eb8a0ac657d518ae14f0acd66830d3d9c9996c6d8976ebf3 SHA512 7ba76f4089b5955252daa240ba838340d2d7eefa6223380d7b8df5d4af0e3a38732908517e520da516b63fc68b46d0f845b71d788c617435d575099b9201e2ea MISC metadata.xml 239 BLAKE2B 9b7c5dcb74289073481cf07031b7a92f32496cc1097becb074d74a8fbb8133de429ce1baf284e446e44132943c8b32e6b824570f15828588e42ea49ef5661f00 SHA512 2181b874bfe8cd31e7730d8207e26cfd2f272eaf2d1b57ae0faff126347a5298fa1c506d9107e1da9736c8a0ed9c8c339e4d9509a8726b79dbe86e073c12dee0 diff --git a/dev-php/xdebug/xdebug-3.0.3.ebuild b/dev-php/xdebug/xdebug-3.0.3.ebuild new file mode 100644 index 000000000000..c4a24b3dd8dc --- /dev/null +++ b/dev-php/xdebug/xdebug-3.0.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PHP_EXT_NAME="xdebug" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="yes" +PHP_EXT_INIFILE="3.0-xdebug.ini" + +USE_PHP="php7-3 php7-4 php8-0" +PHP_EXT_NEEDED_USE="-threads(-)" + +MY_PV="${PV/_/}" +MY_PV="${MY_PV/rc/RC}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +inherit php-ext-source-r3 + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" + +DESCRIPTION="A PHP debugging and profiling extension" +HOMEPAGE="https://xdebug.org/" +# Using tarball from GitHub for tests +#SRC_URI="https://pecl.php.net/get/${PN}-${MY_PV}.tgz" +SRC_URI="https://github.com/xdebug/xdebug/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Xdebug" +SLOT="0" +IUSE="" + +# Tests are known to fail +RESTRICT="test" + +DEPEND="" +RDEPEND="${DEPEND}" +DOCS=( README.rst CREDITS ) +PHP_EXT_ECONF_ARGS=() + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + TEST_PHP_EXECUTABLE="${PHPCLI}" \ + TEST_PHP_CGI_EXECUTABLE="${PHPCGI}" \ + TEST_PHPDBG_EXECUTABLE="${PHPCLI}dbg" \ + "${PHPCLI}" run-xdebug-tests.php + done +} + +pkg_postinst() { + ewarn "We have set xdebug.mode to off, as xdebug can be" + ewarn "installed as a dependency, and not all users will want xdebug to be" + ewarn "enabled by default. If you want to enable it, you should edit the" + ewarn "ini file and set xdebug.mode to one or more modes e.g. develop,debug,trace" + elog "" + elog "The 3.0 major release changes many options." + elog "Review https://xdebug.org/docs/upgrade_guide for differences from 2.x" +} |