diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-06 16:17:04 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-06 16:34:38 +0200 |
commit | d9e05e86c031bd3d6705e7c161dc5c10b66f8795 (patch) | |
tree | f54dc09669562076f0a3fe5e3d8e8763864ece96 /dev-php | |
parent | dev-php/pecl-dio: bump to v0.2.0 (diff) | |
download | gentoo-d9e05e86c031bd3d6705e7c161dc5c10b66f8795.tar.gz gentoo-d9e05e86c031bd3d6705e7c161dc5c10b66f8795.tar.bz2 gentoo-d9e05e86c031bd3d6705e7c161dc5c10b66f8795.zip |
dev-php/PEAR-HTTP_Request2: bump to v2.4.1
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
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 |
2 files changed, 34 insertions, 0 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/* +} |