diff options
-rw-r--r-- | dev-php/xdebug/Manifest | 1 | ||||
-rw-r--r-- | dev-php/xdebug/xdebug-2.7.2.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-php/xdebug/Manifest b/dev-php/xdebug/Manifest index aa8bcaab4047..f5cb7d78f79e 100644 --- a/dev-php/xdebug/Manifest +++ b/dev-php/xdebug/Manifest @@ -4,3 +4,4 @@ DIST xdebug-2.6.1.tgz 283961 BLAKE2B 4478d591591102a9efa248820831e4d43d89eb9b803 DIST xdebug-2.7.0.tar.gz 411943 BLAKE2B d01ad4f84a93356d0ce885cd0b3fb4e72bb55c7df0cb264750f91711e25955c3c5941ca40d5374ead6f4a0c2c70ec30c4133e626d5a925fe0c539541567692de SHA512 44ba3a1e7ca111250c53369df603851d84cb1ea91b691ef9f7695a6565369bf20a30e8bd2b9398ecc4440df4a566674876dd47ad8e60fe116c6784167461d5db DIST xdebug-2.7.0_rc1.tar.gz 383009 BLAKE2B f8ec78ea1214089fb59cafa8be2f8e4f90c0dbda326a707bd768238da42d23d04cc0dc8e448444e764a1bd474e3bcb98c4b6491d131a28799a01670174e8755a SHA512 38cf59f02953331f16efffa6e6cd9d730fe4b000fe6ae6e364076ae57387b01270b60b0925a516f022bed82165ab448c5c2f52d2108e0231be7a49f1e78a7dbb DIST xdebug-2.7.0_rc2.tar.gz 409026 BLAKE2B 221bb95b7c32c7339300397b4737f1f6803831bee5c5ea87ea3c56bc3d8d00dbc49946358a4f21b2bf7cc723e7b7d2dbc2502fe7f1121c2ead1567d0924ad75a SHA512 148b994094e393c7c46b384fa74ee204fa60310014b98266b966d7f7e046abf50d19b1ec2b0422c53415b70522f229d528fca20e54e6b20aaf2fe9ed5774922e +DIST xdebug-2.7.2.tar.gz 416082 BLAKE2B c84e8a7b5e2fbc0989c47d9dff8c8d52d6e44a9fea1f7be483cec60b8b75e8665c71a536d0ca0c1b835990f747cadb29900d64b5ab0f47a4be172e7e1c0d38b2 SHA512 b099904b552750b9ff09181f068deddb155c820d20f6a4dcc37579771607e4e9c43af1cf226e74c012abd188b240c46b13207b9e55bdf010a696b739f1ea5e88 diff --git a/dev-php/xdebug/xdebug-2.7.2.ebuild b/dev-php/xdebug/xdebug-2.7.2.ebuild new file mode 100644 index 000000000000..a8568aa85f52 --- /dev/null +++ b/dev-php/xdebug/xdebug-2.7.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 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="2.6.0-xdebug.ini" + +USE_PHP="php7-1 php7-2 php7-3" + +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="" + +DEPEND="" +RDEPEND="${DEPEND} + ~dev-php/xdebug-client-${PV}" +DOCS=( README.rst CREDITS ) +PHP_EXT_ECONF_ARGS=() + +pkg_postinst() { + ewarn "We have set xdebug.default_enable to 0 (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.default_enable to 1. Alternatively you can" + ewarn "call xdebug_enable() in your code." +} |