1 |
commit: 8a53636f18433712c81b056789aa92fa251a4151 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 6 14:14:49 2022 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 6 14:14:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a53636f |
7 |
|
8 |
dev-php/PHPMailer: add 6.6.4, drop 6.5.1 |
9 |
|
10 |
This new version uses EAPI=8 and drops USE=doc. It looks like building |
11 |
the API documentation requires a new version of dev-php/phpDocumentor, |
12 |
and that package has been a headache for many years. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/868549 |
15 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
16 |
|
17 |
dev-php/PHPMailer/Manifest | 2 +- |
18 |
...PMailer-6.5.1.ebuild => PHPMailer-6.6.4.ebuild} | 29 +++------------------- |
19 |
2 files changed, 4 insertions(+), 27 deletions(-) |
20 |
|
21 |
diff --git a/dev-php/PHPMailer/Manifest b/dev-php/PHPMailer/Manifest |
22 |
index 082765170b57..0ca8829c661a 100644 |
23 |
--- a/dev-php/PHPMailer/Manifest |
24 |
+++ b/dev-php/PHPMailer/Manifest |
25 |
@@ -1,2 +1,2 @@ |
26 |
DIST PHPMailer-6.5.0.tar.gz 99073 BLAKE2B dcb917233da29ab45305f7cf0405f9bb384bd4f98f062a74d94a168868d0cd92017e555bf8e7139130dd669e0a04917e3789c548b5165112d591aa403bfd56b8 SHA512 0632ec8b80c30393b00aebbadde7dd032eb2553232a100a74d69b6ed6465adf1eb3a4acca0aaf040665a978e7507aee9350b092336056ccb5306fbaea4640376 |
27 |
-DIST PHPMailer-6.5.1.tar.gz 99913 BLAKE2B bf51e2caa0ff1d113d6f96f5c1ee055bacd40f8a251302452eb2ebbe06d1f926935b5d85c1b9e85d115180473b76077f753f0c8af04aa86c86db3431c8a412f2 SHA512 0f8e9e3368edfdb67c701a0f42c548379c9528a90bc016444ebdc9614967ca421fa706b5f1b2de89a91fa98f7e535fb67da578ac6ba1b73f673ba7b45a198f0e |
28 |
+DIST PHPMailer-6.6.4.tar.gz 102883 BLAKE2B d05eca221b3058e6632ab47c3d93d5f5cc76333351c75af537642a7850c5fb77c825e53a77321e4a63d7b06e41afb468e4dd5fe2f9b5f045ae8ed6f8543ef2ac SHA512 94ef038b59f8cf840205993d994070228a4237a19c153a0a9486e68a0289468cd882b2450482bdafb15f163c526c723dff3903919de872c6888b49273b718e87 |
29 |
|
30 |
diff --git a/dev-php/PHPMailer/PHPMailer-6.5.1.ebuild b/dev-php/PHPMailer/PHPMailer-6.6.4.ebuild |
31 |
similarity index 72% |
32 |
rename from dev-php/PHPMailer/PHPMailer-6.5.1.ebuild |
33 |
rename to dev-php/PHPMailer/PHPMailer-6.6.4.ebuild |
34 |
index 48dc349297f3..ec7c08d4385e 100644 |
35 |
--- a/dev-php/PHPMailer/PHPMailer-6.5.1.ebuild |
36 |
+++ b/dev-php/PHPMailer/PHPMailer-6.6.4.ebuild |
37 |
@@ -1,7 +1,7 @@ |
38 |
-# Copyright 1999-2021 Gentoo Authors |
39 |
+# Copyright 1999-2022 Gentoo Authors |
40 |
# Distributed under the terms of the GNU General Public License v2 |
41 |
|
42 |
-EAPI=7 |
43 |
+EAPI=8 |
44 |
|
45 |
DESCRIPTION="Full-featured email creation and transfer class for PHP" |
46 |
HOMEPAGE="https://github.com/PHPMailer/PHPMailer" |
47 |
@@ -13,7 +13,7 @@ KEYWORDS="~amd64 ~x86" |
48 |
|
49 |
# To help out the Composer children, the tests and examples are missing |
50 |
# from the release tarballs. |
51 |
-IUSE="doc idn ssl" |
52 |
+IUSE="idn ssl" |
53 |
|
54 |
# The ctype and filter extensions get used unconditionally, with no |
55 |
# fallback and no "extension missing" exception. All of the other |
56 |
@@ -33,28 +33,6 @@ RDEPEND=" |
57 |
idn? ( dev-lang/php:*[ctype,filter,intl,unicode] ) |
58 |
!idn? ( dev-lang/php:*[ctype,filter] ) |
59 |
)" |
60 |
-BDEPEND="doc? ( dev-php/phpDocumentor )" |
61 |
- |
62 |
-src_prepare() { |
63 |
- default |
64 |
- |
65 |
- # OAuth.php relies on a (now non-nonexistent) autoloader. We remove |
66 |
- # it early so that we don't generate documentation for it later on. |
67 |
- rm src/OAuth.php || die 'failed to remove src/OAuth.php' |
68 |
-} |
69 |
- |
70 |
-src_compile() { |
71 |
- if use doc; then |
72 |
- phpdoc --filename="src/*.php" \ |
73 |
- --target="./html" \ |
74 |
- --cache-folder="${T}" \ |
75 |
- --title="${PN}" \ |
76 |
- --sourcecode \ |
77 |
- --force \ |
78 |
- --progressbar \ |
79 |
- || die "failed to generate API documentation" |
80 |
- fi |
81 |
-} |
82 |
|
83 |
src_install() { |
84 |
# The PHPMailer class loads its language files |
85 |
@@ -63,7 +41,6 @@ src_install() { |
86 |
doins -r language src |
87 |
|
88 |
dodoc README.md SECURITY.md |
89 |
- use doc && dodoc -r html/* |
90 |
} |
91 |
|
92 |
pkg_postinst() { |