diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2024-07-11 20:33:03 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-07-11 21:43:35 +0300 |
commit | 434a93edbf2f4848ff6b480055c3f2e8580424f5 (patch) | |
tree | 0fece689b9af69be04107ad9a8bb955a8fc359f5 /dev-php | |
parent | dev-php/PEAR-MIME_Type: treeclean (diff) | |
download | gentoo-434a93edbf2f4848ff6b480055c3f2e8580424f5.tar.gz gentoo-434a93edbf2f4848ff6b480055c3f2e8580424f5.tar.bz2 gentoo-434a93edbf2f4848ff6b480055c3f2e8580424f5.zip |
dev-php/PEAR-Mail: treeclean
Bug: https://bugs.gentoo.org/933998
Bug: https://bugs.gentoo.org/774807
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/PEAR-Mail/Manifest | 1 | ||||
-rw-r--r-- | dev-php/PEAR-Mail/PEAR-Mail-1.5.0.ebuild | 27 | ||||
-rw-r--r-- | dev-php/PEAR-Mail/files/PEAR-Mail-1.5.0-fix-tests.patch | 74 | ||||
-rw-r--r-- | dev-php/PEAR-Mail/metadata.xml | 12 |
4 files changed, 0 insertions, 114 deletions
diff --git a/dev-php/PEAR-Mail/Manifest b/dev-php/PEAR-Mail/Manifest deleted file mode 100644 index 796d8c6be6e3..000000000000 --- a/dev-php/PEAR-Mail/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST Mail-1.5.0.tgz 23221 BLAKE2B fad07a2cbf2188f6f0dea3705ca5bd72d05505e2a9968f2b43c94045027e2506941e17854ef13cf65bc2ff99218e3663b0859e93563036bcbefa7911cc4f2b84 SHA512 07462b920a879182cb06576c6c91a52d1c0411afcefe9d701ae57633eb28cc0f08f163e9b808c00c38cfd7e886fc17ac4e7151dfda5905396b7819b365afa919 diff --git a/dev-php/PEAR-Mail/PEAR-Mail-1.5.0.ebuild b/dev-php/PEAR-Mail/PEAR-Mail-1.5.0.ebuild deleted file mode 100644 index 70419d195b00..000000000000 --- a/dev-php/PEAR-Mail/PEAR-Mail-1.5.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit php-pear-r2 edos2unix - -DESCRIPTION="Class that provides multiple interfaces for sending emails" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm ~hppa ppc64 ~s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=">=dev-php/PEAR-Net_SMTP-1.4.1" -BDEPEND="test? ( ${RDEPEND} dev-php/PEAR-PEAR )" - -src_prepare() { - # test files are DOS line-endings and default patch strips without this line - patch -p1 --binary < "${FILESDIR}/PEAR-Mail-1.5.0-fix-tests.patch" - default -} - -src_test() { - peardev run-tests tests || die -} diff --git a/dev-php/PEAR-Mail/files/PEAR-Mail-1.5.0-fix-tests.patch b/dev-php/PEAR-Mail/files/PEAR-Mail-1.5.0-fix-tests.patch deleted file mode 100644 index 121d2299206e..000000000000 --- a/dev-php/PEAR-Mail/files/PEAR-Mail-1.5.0-fix-tests.patch +++ /dev/null @@ -1,74 +0,0 @@ -diff --git a/tests/9137.phpt b/tests/9137.phpt
-index ba54c05..2e4c0a5 100644
---- a/tests/9137.phpt
-+++ b/tests/9137.phpt
-@@ -18,7 +18,8 @@ for ($i = 0; $i < count($addresses); $i++) {
- $address = "\"" . addslashes($addresses[$i]['name']) . "\" ".
- "<".$addresses[$i]['email'].">";
-
-- $parsedAddresses = Mail_RFC822::parseAddressList($address);
-+ $parser = new Mail_RFC822();
-+ $parsedAddresses = $parser->parseAddressList($address);
- if (is_a($parsedAddresses, 'PEAR_Error')) {
- echo $address." :: Failed to validate\n";
- } else {
-diff --git a/tests/9137_2.phpt b/tests/9137_2.phpt
-index cc9dcbc..9c3c32d 100644
---- a/tests/9137_2.phpt
-+++ b/tests/9137_2.phpt
-@@ -18,7 +18,8 @@ $addresses = array(
- for ($i = 0; $i < count($addresses); $i++) {
- // construct the address
- $address = $addresses[$i]['raw'];
-- $parsedAddresses = Mail_RFC822::parseAddressList($address);
-+ $parser = new Mail_RFC822();
-+ $parsedAddresses = $parser->parseAddressList($address);
- if (PEAR::isError($parsedAddresses)) {
- echo $address." :: Failed to validate\n";
- } else {
-diff --git a/tests/bug17178.phpt b/tests/bug17178.phpt
-index 4572dda..425f329 100644
---- a/tests/bug17178.phpt
-+++ b/tests/bug17178.phpt
-@@ -4,7 +4,8 @@ Mail_RFC822::parseAddressList does not accept RFC-valid group syntax
- <?php
- require "Mail/RFC822.php";
-
--var_dump(Mail_RFC822::parseAddressList("empty-group:;","invalid",false,false));
-+$parser = new Mail_RFC822();
-+var_dump($parser->parseAddressList("empty-group:;","invalid",false,false));
-
- --EXPECT--
- array(0) {
-diff --git a/tests/bug17317.phpt b/tests/bug17317.phpt
-index 331e803..045a939 100644
---- a/tests/bug17317.phpt
-+++ b/tests/bug17317.phpt
-@@ -4,9 +4,10 @@ Mail_RFC822::parseAddressList invalid periods in mail address
- <?php
- require "Mail/RFC822.php";
-
--$result[] = Mail_RFC822::parseAddressList('.name@example.com');
--$result[] = Mail_RFC822::parseAddressList('name.@example.com');
--$result[] = Mail_RFC822::parseAddressList('name..name@example.com');
-+$parser = new Mail_RFC822();
-+$result[] = $parser->parseAddressList('.name@example.com');
-+$result[] = $parser->parseAddressList('name.@example.com');
-+$result[] = $parser->parseAddressList('name..name@example.com');
-
- foreach ($result as $r) {
- if (is_a($r, 'PEAR_Error')) {
-diff --git a/tests/validateQuotedString.phpt b/tests/validateQuotedString.phpt
-index 8b892bd..e0adb79 100644
---- a/tests/validateQuotedString.phpt
-+++ b/tests/validateQuotedString.phpt
-@@ -5,7 +5,8 @@ Mail_RFC822::parseAddressList simple tests
- require_once 'Mail/RFC822.php';
- $address_string = '"Joe Doe \(from Somewhere\)" <doe@example.com>, postmaster@example.com, root';
-
--$address_array = Mail_RFC822::parseAddressList($address_string, "example.com");
-+$parser = new Mail_RFC822();
-+$address_array = $parser->parseAddressList($address_string, "example.com");
-
- foreach ($address_array as $val) {
- echo "mailbox : " . $val->mailbox . "\n";
diff --git a/dev-php/PEAR-Mail/metadata.xml b/dev-php/PEAR-Mail/metadata.xml deleted file mode 100644 index 4e7922456651..000000000000 --- a/dev-php/PEAR-Mail/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>php-bugs@gentoo.org</email> - <name>PHP</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="pear">Mail</remote-id> - </upstream> -</pkgmetadata> |