diff options
Diffstat (limited to 'dev-php/PEAR-HTTP_Request2')
-rw-r--r-- | dev-php/PEAR-HTTP_Request2/Manifest | 2 | ||||
-rw-r--r-- | dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.5.0.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-php/PEAR-HTTP_Request2/Manifest b/dev-php/PEAR-HTTP_Request2/Manifest index cbd0ea3e284d..4a0b64e0e3ca 100644 --- a/dev-php/PEAR-HTTP_Request2/Manifest +++ b/dev-php/PEAR-HTTP_Request2/Manifest @@ -1,7 +1,9 @@ DIST HTTP_Request2-2.3.0.tgz 119717 BLAKE2B f12972b2423258016f4f4ef8888b5aa1d56bb47146cc6e21f74edfd2e3cd8ae69a1830b4a203990e1346554f2a6e9538e8d5feae27cceadc8465b018dd34ff37 SHA512 52fc2768f3c5afe6fd4505d427255e467b5b7cac8a4116cbabc3f1c0ffe6f1bd061a9c9b31de2ebbd4a7844ae73085ab0d52adf905dce28eb31197117657d77b DIST HTTP_Request2-2.4.1.tgz 125380 BLAKE2B 0037938211432be52af8851b015f8c8ef73225fbbc1727e6e647d2e9632fa471a73ae14c4f8c0ea636fb97339dfd53da91bd391543bc855dc9a123ca7a707965 SHA512 9a65aee4c4f724a84815d683522225d36a8e30fc1f5dbbe6b4681ec264b4fb711573bd6d2ec6ddc228c9e259ffbeeb6816aadba155530e969c7bfac4e0617e2b DIST HTTP_Request2-2.4.2.tgz 125530 BLAKE2B 3e614e45e40b075930781b9e3cc0ed657f10056aa40bce28910ae9499e9db39a6f36410f632254061a002818343b4454639f4b48f23687e0db665b204275ad0c SHA512 c122df64f3f87d562fd4f818b3f02f7639dc907f724d034c420ddeabc5295d0a94d77221287349bcb7a790a97cf7c9b078d9a8086a476789eae906c6e124c910 +DIST HTTP_Request2-2.5.0.tgz 126988 BLAKE2B 5d1f4f2e3e9b800377c14688529ea322084f126c388f675b5d33ae99ba9d3a10e5da0e30d92984f1ba40e92da908917362e459f7b8415e61a85ad797ca38411f SHA512 a333109077758c0899e74e1037484e749825c87f182e2388bb9a0a7e0a881b1f1aec7b9f7a327ff428e32f874df263e7b4b7714be4d8f86cac9370f31aff2d0f EBUILD PEAR-HTTP_Request2-2.3.0-r1.ebuild 748 BLAKE2B eac409077cece70cf089434db484e182c2ba8938255a890e038648063d0b4addb26fae086bb32ac7ee371cd867c612def08fdcc59ce945d57965059d9a453a4f SHA512 796bca65c5e0aa1f97f2e8beccff6d1390f3a145feee1e97e6cc50b44af106055932219feb867f98be0f394f45112043d2de59aa8aaa95877998ce0806cbb252 EBUILD PEAR-HTTP_Request2-2.4.1.ebuild 751 BLAKE2B 86fcc0f813e1c16087ea92b29b83f560477500cca8c965c49f2ec9bc3ab680c2718ecfb78e4fa76dc57a22543f3a067773b3987213e9cdcd72378591fd3b382f SHA512 17a44ec6535910f7ccd32c2133dd8c984f2e0c31b4a4d49fc5b8cdf80799f536be080d452ce5d7572653a59398c05aaf876b12aca06fba591fb9bc421ac570fa EBUILD PEAR-HTTP_Request2-2.4.2.ebuild 751 BLAKE2B 86fcc0f813e1c16087ea92b29b83f560477500cca8c965c49f2ec9bc3ab680c2718ecfb78e4fa76dc57a22543f3a067773b3987213e9cdcd72378591fd3b382f SHA512 17a44ec6535910f7ccd32c2133dd8c984f2e0c31b4a4d49fc5b8cdf80799f536be080d452ce5d7572653a59398c05aaf876b12aca06fba591fb9bc421ac570fa +EBUILD PEAR-HTTP_Request2-2.5.0.ebuild 838 BLAKE2B 1676711c2cb6338810040be26b5365b97fad62e723626f01c0db136c97acb37bda6921c073eb3f15b9434bd7687ed69e4901cd6a436f98ff83c9d08b88f11998 SHA512 a25a40127458372bd22b36c968994a460d451d9d935943c75ac7dbef2e021862d2d44c17b67f710f2d93761c5775434cb735f71c90df5d8e8df8e7c290571eac MISC metadata.xml 584 BLAKE2B 047561372464da70d52c405b145dc141a4104b42986b2adb4286af5ea62ad3c13572c5fd5dedbcdeaa369ecf7d1371f6c0d3f3e9ba37d79acb77800680470e9c SHA512 00292c513e1457d9b02432425097e9f5124b92aa365578f882a94d5d9466d93f6190945e705489a3527236c5cc9572a5ced705f99f8e2f718272eb793024f36f diff --git a/dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.5.0.ebuild b/dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.5.0.ebuild new file mode 100644 index 000000000000..890fa326e01c --- /dev/null +++ b/dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.5.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 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" + +# We don't have Yoast\PHPUnitPolyfills in Gentoo +# and we would need to patch sources to find it +RESTRICT="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/* +} |