[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Mail_mimeDecode/

2023-08-26 Thread Andreas Sturmlechner
commit: 1bcaf98f94b4ca467f2cb0f2bb262d45d77e2d8e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Aug 26 13:09:34 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Aug 26 15:09:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bcaf98f

dev-php/PEAR-Mail_mimeDecode: drop 1.5.6-r2

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../PEAR-Mail_mimeDecode-1.5.6-r2.ebuild | 20 
 1 file changed, 20 deletions(-)

diff --git a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild 
b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild
deleted file mode 100644
index 8b1020cd58be..
--- a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit php-pear-r2
-
-DESCRIPTION="Provides a class to decode mime messages (split from 
PEAR-Mail_Mime)"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=dev-php/PEAR-Mail_Mime-1.5.2"
-DEPEND="test? ( ${RDEPEND} dev-php/PEAR-PEAR )"
-
-src_test() {
-   pear run-tests tests || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Mail_mimeDecode/, dev-php/PEAR-Mail_mimeDecode/files/

2022-02-10 Thread Sam James
commit: a1b1d39235dcf73d7ccac2e6fd73a391ee3fa640
Author: Jaco Kroon  uls  co  za>
AuthorDate: Thu Feb 10 11:23:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 10 12:05:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1b1d392

dev-php/PEAR-Mail_mimeDecode: add patch for PHP8 compatibility

Closes: https://bugs.gentoo.org/833075
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jaco Kroon  uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/24144
Signed-off-by: Sam James  gentoo.org>

 .../PEAR-Mail_mimeDecode-1.5.6-r3.ebuild   | 24 ++
 ...PEAR-Mail_mimeDecode-1.5.6-r3-php8_compat.patch | 12 +++
 2 files changed, 36 insertions(+)

diff --git a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r3.ebuild 
b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r3.ebuild
new file mode 100644
index ..56773b569a82
--- /dev/null
+++ b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit php-pear-r2
+
+DESCRIPTION="Provides a class to decode mime messages (split from 
PEAR-Mail_Mime)"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=dev-php/PEAR-Mail_Mime-1.5.2"
+DEPEND="test? ( ${RDEPEND} dev-php/PEAR-PEAR )"
+
+PATCHES=(
+   "${FILESDIR}/PEAR-Mail_mimeDecode-1.5.6-r3-php8_compat.patch"
+)
+
+src_test() {
+   pear run-tests tests || die
+}

diff --git 
a/dev-php/PEAR-Mail_mimeDecode/files/PEAR-Mail_mimeDecode-1.5.6-r3-php8_compat.patch
 
b/dev-php/PEAR-Mail_mimeDecode/files/PEAR-Mail_mimeDecode-1.5.6-r3-php8_compat.patch
new file mode 100644
index ..e167af7f6a33
--- /dev/null
+++ 
b/dev-php/PEAR-Mail_mimeDecode/files/PEAR-Mail_mimeDecode-1.5.6-r3-php8_compat.patch
@@ -0,0 +1,12 @@
+https://pear.php.net/bugs/bug.php?id=23775
+--- a/Mail/mimeDecode.php
 b/Mail/mimeDecode.php
+@@ -834,7 +834,7 @@
+ 
+ // Replace encoded characters
+
+-$cb = create_function('$matches',  ' return 
chr(hexdec($matches[0]));');
++$cb = function($matches) { return chr(hexdec($matches[0])); };
+  
+ $input = preg_replace_callback( '/=([a-f0-9]{2})/i', $cb, $input);
+ 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Mail_mimeDecode/

2018-04-23 Thread Brian Evans
commit: cdfe1cc47dce15556e05e0fa786c97201e615261
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Apr 23 16:15:48 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Apr 23 17:24:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdfe1cc4

dev-php/PEAR-Mail_mimeDecode: Drop old

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 dev-php/PEAR-Mail_mimeDecode/Manifest  |  1 -
 .../PEAR-Mail_mimeDecode-1.5.5.ebuild  | 18 --
 2 files changed, 19 deletions(-)

diff --git a/dev-php/PEAR-Mail_mimeDecode/Manifest 
b/dev-php/PEAR-Mail_mimeDecode/Manifest
index 625d57bfbb7..f99b8b82881 100644
--- a/dev-php/PEAR-Mail_mimeDecode/Manifest
+++ b/dev-php/PEAR-Mail_mimeDecode/Manifest
@@ -1,2 +1 @@
-DIST Mail_mimeDecode-1.5.5.tgz 11554 BLAKE2B 
90cc9cbee9118d4cbf934fbf6f6462daeba9d494879840de6bc3f00b69062eeec25c5ac8cdc5802e7dbfb0bb6efbcaf7b9e792245b69c57f7b961008cc75e561
 SHA512 
3b000517891258c848024617cb9e811f4d39d829739b6f026e3476895b62430c86b274e0deda49532fee280b51deb02614f8b68724c80b54e4a51d04786ef43d
 DIST Mail_mimeDecode-1.5.6.tgz 13258 BLAKE2B 
7e027cf9bf2a450bde639f8c530f216cc8dfd9eab719829dedad029d98fc5c4806279d13ec3ffb5191ba23edf64ae658ca0ec8d83f116da3fafbd23d758a9f00
 SHA512 
fe46ff2542acd3b180981c7dae41a1979b2edb3bfa5ad716a1ff39a255c2c04d92a7d770ae6531e38f3b869173f576fba44410c8e03269510d71dce5fa345bd1

diff --git a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.5.ebuild 
b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.5.ebuild
deleted file mode 100644
index 13c38378f7e..000
--- a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.5.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit php-pear-r1
-
-DESCRIPTION="Provides a class to decode mime messages (split from 
PEAR-Mail_Mime)"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
-IUSE=""
-
-# >=PEAR-Mail_Mime-1.5.2 in in DEPEND to avoid blockers and circular deps
-# with this package; using PDEPEND in PEAR-Mail_Mime for the same reason
-
-DEPEND=">=dev-php/PEAR-Mail_Mime-1.5.2"



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Mail_mimeDecode/

2018-04-23 Thread Brian Evans
commit: 09b96120d6982ece6a1be526ae7cf930d7d908c9
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Apr 23 16:13:38 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Apr 23 17:24:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09b96120

dev-php/PEAR-Mail_mimeDecode: Mark 1.5.6-r2 stable for ALLARCHES

Script only package and tests pass

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild 
b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild
index adf9177c8b5..c964c6908cf 100644
--- a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild
+++ b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild
@@ -8,7 +8,7 @@ inherit php-pear-r2
 DESCRIPTION="Provides a class to decode mime messages (split from 
PEAR-Mail_Mime)"
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
 IUSE="test"
 
 RDEPEND=">=dev-php/PEAR-Mail_Mime-1.5.2"



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Mail_mimeDecode/

2018-02-19 Thread Brian Evans
commit: 8fdd771564e15a76eb2139c8619de00726c5bb66
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Feb 19 21:56:02 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Feb 19 21:56:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fdd7715

dev-php/PEAR-Mail_mimeDecode: Revbump to enable tests

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 ...-1.5.6-r1.ebuild => PEAR-Mail_mimeDecode-1.5.6-r2.ebuild} | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r1.ebuild 
b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild
similarity index 69%
rename from dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r1.ebuild
rename to dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild
index 5485056b129..adf9177c8b5 100644
--- a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r1.ebuild
+++ b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,11 +9,11 @@ DESCRIPTION="Provides a class to decode mime messages (split 
from PEAR-Mail_Mime
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
+IUSE="test"
 
 RDEPEND=">=dev-php/PEAR-Mail_Mime-1.5.2"
+DEPEND="test? ( ${RDEPEND} dev-php/PEAR-PEAR )"
 
-#src_install() {
-#  insinto /usr/share/php
-#  doins -r Mail
-#}
+src_test() {
+   pear run-tests tests || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Mail_mimeDecode/

2017-03-19 Thread Brian Evans
commit: 43837e8520ae4b529a6aaf00b329fb4bab35eac3
Author: Brian Evans  gentoo  org>
AuthorDate: Sun Mar 19 14:14:41 2017 +
Commit: Brian Evans  gentoo  org>
CommitDate: Sun Mar 19 14:26:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43837e85

dev-php/PEAR-Mail_mimeDecode: Revision bump to fix WORKDIR wrt bug 613122

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 .../PEAR-Mail_mimeDecode-1.5.6-r1.ebuild   | 19 +
 .../PEAR-Mail_mimeDecode-1.5.6.ebuild  | 31 --
 2 files changed, 19 insertions(+), 31 deletions(-)

diff --git a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r1.ebuild 
b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r1.ebuild
new file mode 100644
index 000..5485056b129
--- /dev/null
+++ b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit php-pear-r2
+
+DESCRIPTION="Provides a class to decode mime messages (split from 
PEAR-Mail_Mime)"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-php/PEAR-Mail_Mime-1.5.2"
+
+#src_install() {
+#  insinto /usr/share/php
+#  doins -r Mail
+#}

diff --git a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6.ebuild 
b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6.ebuild
deleted file mode 100644
index 2cbc3227201..000
--- a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="${PN#PEAR-}"
-DESCRIPTION="Provides a class to decode mime messages (split from 
PEAR-Mail_Mime)"
-HOMEPAGE="http://pear.php.net/package/Mail_mimeDecode;
-SRC_URI="http://pear.php.net/get/${MY_PN}-${PV}.tgz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
-
-DEPEND="dev-lang/php:* >=dev-php/pear-1.8.1 >=dev-php/PEAR-Mail_Mime-1.5.2"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_install() {
-   insinto /usr/share/php
-   doins -r Mail
-}
-
-pkg_postinst() {
-   peardev install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null
-}
-
-pkg_postrm() {
-   peardev uninstall -nrO --force pear.php.net/${MY_PN}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Mail_mimeDecode/

2016-10-05 Thread Brian Evans
commit: c06669956f9ceeb682b61c0535c8aac3b607f939
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Oct  5 16:52:08 2016 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Oct  5 16:52:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0666995

dev-php/PEAR-Mail_mimeDecode: Version bump

Includes fixes for preg_match /e deprecation in PHP 7

Package-Manager: portage-2.3.1

 dev-php/PEAR-Mail_mimeDecode/Manifest  |  1 +
 .../PEAR-Mail_mimeDecode-1.5.6.ebuild  | 32 ++
 2 files changed, 33 insertions(+)

diff --git a/dev-php/PEAR-Mail_mimeDecode/Manifest 
b/dev-php/PEAR-Mail_mimeDecode/Manifest
index d0f22e7..af1e108 100644
--- a/dev-php/PEAR-Mail_mimeDecode/Manifest
+++ b/dev-php/PEAR-Mail_mimeDecode/Manifest
@@ -1 +1,2 @@
 DIST Mail_mimeDecode-1.5.5.tgz 11554 SHA256 
e58d162b326ce7687f0e23790124511d56b521a2b465d5481385a5a857c16188 SHA512 
3b000517891258c848024617cb9e811f4d39d829739b6f026e3476895b62430c86b274e0deda49532fee280b51deb02614f8b68724c80b54e4a51d04786ef43d
 WHIRLPOOL 
6906dcc9609402785e711efdcddb9306683e33b901432a07936671bbf7d153ec41b9b6a182118db965ee50fc5e2f8b9bcaef45deebc39660d1eab58281457a44
+DIST Mail_mimeDecode-1.5.6.tgz 13258 SHA256 
8323344fb2e3266339675adee6b373dcb9a41c730f34f4141ffe891f2c9818f7 SHA512 
fe46ff2542acd3b180981c7dae41a1979b2edb3bfa5ad716a1ff39a255c2c04d92a7d770ae6531e38f3b869173f576fba44410c8e03269510d71dce5fa345bd1
 WHIRLPOOL 
4fb80ab222886441f891bf68e6e46eb6a25a4092b694f95776b8e26f0db5f9be497373e064732f014deae094c3185e3faf0eb084e85918c4358552af64934732

diff --git a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6.ebuild 
b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6.ebuild
new file mode 100644
index ..e332cc5
--- /dev/null
+++ b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN="${PN#PEAR-}"
+DESCRIPTION="Provides a class to decode mime messages (split from 
PEAR-Mail_Mime)"
+HOMEPAGE="http://pear.php.net/package/Mail_mimeDecode;
+SRC_URI="http://pear.php.net/get/${MY_PN}-${PV}.tgz;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/php:* >=dev-php/pear-1.8.1 >=dev-php/PEAR-Mail_Mime-1.5.2"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_install() {
+   insinto /usr/share/php
+   doins -r Mail
+}
+
+pkg_postinst() {
+   peardev install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null
+}
+
+pkg_postrm() {
+   peardev uninstall -nrO --force pear.php.net/${MY_PN}
+}