summaryrefslogtreecommitdiff
path: root/dev-perl/MIME-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-09 10:33:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-09 10:33:02 +0100
commit6440e1dd038e7df4f9df7dd5127d3b1c6f39034e (patch)
tree122c8899fbcce481ff7c1deb35c872f0236affa9 /dev-perl/MIME-tools
parente7bc5cacb1abeb6806d255e2a817ab4dcb5f52b8 (diff)
gentoo auto-resync : 09:09:2023 - 10:33:01
Diffstat (limited to 'dev-perl/MIME-tools')
-rw-r--r--dev-perl/MIME-tools/MIME-tools-5.510.0-r1.ebuild43
-rw-r--r--dev-perl/MIME-tools/Manifest2
-rw-r--r--dev-perl/MIME-tools/files/MIME-tools-5.510.0-perl-5.38.patch36
3 files changed, 81 insertions, 0 deletions
diff --git a/dev-perl/MIME-tools/MIME-tools-5.510.0-r1.ebuild b/dev-perl/MIME-tools/MIME-tools-5.510.0-r1.ebuild
new file mode 100644
index 000000000000..5c0348b4b93b
--- /dev/null
+++ b/dev-perl/MIME-tools/MIME-tools-5.510.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=DSKOLL
+DIST_VERSION=5.510
+DIST_EXAMPLES=("examples/*")
+# tests fail when done in parallel
+DIST_TEST="do"
+inherit perl-module
+
+DESCRIPTION="A Perl module for parsing and creating MIME entities"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+RDEPEND="
+ >=virtual/perl-File-Path-1
+ >=virtual/perl-File-Spec-0.600.0
+ >=virtual/perl-File-Temp-0.180.0
+ virtual/perl-IO
+ >=virtual/perl-MIME-Base64-2.200.0
+ dev-perl/MailTools
+"
+BDEPEND="${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-6.420.0
+ test? (
+ dev-perl/Test-Deep
+ )
+"
+
+PERL_RM_FILES=(
+ # Author tests
+ t/02-kwalitee.t
+ t/02-pod.t
+ t/02-pod-coverage.t
+ # Fails under FEATURES="network-sandbox"
+ t/Smtpsend.t
+)
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.510.0-perl-5.38.patch
+)
diff --git a/dev-perl/MIME-tools/Manifest b/dev-perl/MIME-tools/Manifest
index 6d72e0959d23..4b488d805836 100644
--- a/dev-perl/MIME-tools/Manifest
+++ b/dev-perl/MIME-tools/Manifest
@@ -1,5 +1,7 @@
+AUX MIME-tools-5.510.0-perl-5.38.patch 1263 BLAKE2B c8c9cd1d811d35367ff1dc2cf145669b2d8a024ab7dd92e4f758a3d3fa9902ad7f41b4a3d6c224b4ce3011eac42f198930407f0d09c2cbc55a16925ff60a6e8c SHA512 154a4e142413ecde4b489250ab6b95f195e9d4d197527f7944a5b02e8fd151653e2ca0d1854fc44358594eb411342460ffc997e6b75d957577cbba13af3182ae
DIST MIME-tools-5.509.tar.gz 423714 BLAKE2B 7e11da6f97468521d2e95b9ed71941d91559844a1775597c27f60288c04daf55607a8d962afd6bdf8521187930908c97815fa5664a448d1ab902e3740197cc69 SHA512 0407b09916144eafbee0c75758306e0f44c27db0e8aabf033267f9903f676f0415de99927dcfdb69f9e9d4123d63c280f526dff92e0d97744761c888df90667a
DIST MIME-tools-5.510.tar.gz 417208 BLAKE2B d819b7e243a5edc72204c78467f0603c6be576ef5e7285b2c500ce8498ef631bbd2cc921d5d32ec7c1243da8dc20ff5c209a6682215404358f9d1e1c69c81884 SHA512 86d110cc3ed3e9744a07a7b671df713708ab70f57aea858a9570bd021102b4cea91a869239f6c40611f1b1fae190e1b6d1bd65b54914ffc3a41fdf9160977328
EBUILD MIME-tools-5.509.0-r1.ebuild 875 BLAKE2B 443d6534b747d4609cb59e8bda39f5e0f0f589e7bcad3520f01fe8de53e231f2de40aa0e7f112dfbb87807a87629ac6895f0c1a0b55a74408bc5a50cb1794409 SHA512 464746bea1332eafe4bf806616fa9504146c54180afcc6fefb8c6511d46949350caa49e4c744567fdefa505797a8d9ef88498fc1e7cfbbcf70916a05a7b8969f
+EBUILD MIME-tools-5.510.0-r1.ebuild 946 BLAKE2B e7c21758db42aa70bab5a99fb500e732f840ca485af9e57487bfe0e5c753b119c9e6cdd0bc3c9e12b8f5ec26765dd94440ed8473a541d46f1056158ed866d902 SHA512 e7a6f81fb42b444cd7bd9403675dcf000aeb415da1674fa66524c32a761b207a09ab40a5609df4ec12d0a04da6a414d1000dcd015fc19f51478f5b9780a66f30
EBUILD MIME-tools-5.510.0.ebuild 881 BLAKE2B 27d9729cbd724cd8ce4be5dda78f28180a35191606576f80ccb60dbb3a74856a42c48b2fbb80918992ef6d11f930371cd2743965e20a8819ef99800fa137006b SHA512 47e79a3ee52daa3ca582ab1517214a1dec5ef31a038c0eb17e23be2b482e97b0c44bc2b6afa78952218c704f920a22d5ba28a914aabda4c97ad628dec34148a1
MISC metadata.xml 2237 BLAKE2B 6a241d96bd9176070625612af4db82e1fe8d14da33911016252be14f7eef4326f7ea1097b93e10d384efeaa6aaf5296cda823ba7ae2feda6741676c31dfb8408 SHA512 51ff52bda7c059d66c174cacc74b7dff2fc5cbce77cc04b42a37a76728f86bec2ad0dace849e7e44a0f8f5621be6e10911343f1710bef485d9b04f686b994ec5
diff --git a/dev-perl/MIME-tools/files/MIME-tools-5.510.0-perl-5.38.patch b/dev-perl/MIME-tools/files/MIME-tools-5.510.0-perl-5.38.patch
new file mode 100644
index 000000000000..4c2cbc39129a
--- /dev/null
+++ b/dev-perl/MIME-tools/files/MIME-tools-5.510.0-perl-5.38.patch
@@ -0,0 +1,36 @@
+https://bugs.gentoo.org/913854
+https://bugs.debian.org/1040377
+https://rt.cpan.org/Public/Bug/Display.html?id=149225
+
+From 5964839271fd856076da6c7ed7822bcd39324c82 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni@debian.org>
+Date: Sat, 29 Jul 2023 18:54:01 +0100
+Subject: [PATCH] Fix MIME::QuotedPrint version parsing
+
+Perl 5.38 bundles MIME::QuotedPrint at version 3.16_01 which is not
+numeric, causing spurious warnings on usage.
+
+Bug-Debian: https://bugs.debian.org/1040377
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=149225
+Bug: https://rt.cpan.org/Ticket/Display.html?id=149225
+--- a/lib/MIME/Decoder/QuotedPrint.pm
++++ b/lib/MIME/Decoder/QuotedPrint.pm
+@@ -1,6 +1,7 @@
+ package MIME::Decoder::QuotedPrint;
+ use strict;
+ use warnings;
++use version;
+
+
+ =head1 NAME
+@@ -73,7 +74,7 @@ $VERSION = "5.510";
+ # The following code is horrible. I know. Beat me up. --dfs
+ BEGIN {
+ if (!defined(&encode_qp_threearg)) {
+- if ($::MIME::QuotedPrint::VERSION >= 3.03) {
++ if (version->parse($::MIME::QuotedPrint::VERSION) >= version->parse(3.03)) {
+ eval 'sub encode_qp_threearg ( $$$ ) { encode_qp(shift, shift, shift); }';
+ } else {
+ eval 'sub encode_qp_threearg ( $$$ ) { encode_qp(shift); }';
+--
+2.39.1