mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
net-mail/grepmail: drop 5.30.33-r2
Closes: https://bugs.gentoo.org/430128 Closes: https://bugs.gentoo.org/635756 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST grepmail-5.3033.tar.gz 536791 BLAKE2B 400cc3c30a291f6075d343522a4f506997e3328c2adda2cfa7d4449052ce5bd6112fc06a44f8359def6358c716422b5c33353c7247dd6b5cf6c5a0502a2c34d6 SHA512 58fb63c42b534ba32d8224753cd11701adc3ab6eeca838753982cd6fdc46c05142eeb34106ae585b48698c299648cc2e0135215900ce28dd7c84921c8ad7831f
|
||||
DIST grepmail-5.3111.tar.gz 560547 BLAKE2B 88c9e841aed419ae428c45dd9a1bfb294076d73a3635e06b50a1f5b3bb3d2d447a8c586054b80ad793ccd6b2b2cb16394486d044f988c5760c04f9fe2da0e73e SHA512 50df6585ecebb838a2b60c048e66588d7a161a88256ffce2c7313e61d32751739b3c30a64deb43dcd2a5933970cacc812fbb2dbd9f91a8ac34012e0581cd2962
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
Description: Fix FTBFS with libmail-mbox-messageparser-perl 1.5002
|
||||
From 1.5002, it does not return "No data on standard input" anymore.
|
||||
Author: Vincent Legout <vincent@legout.info>
|
||||
Last-Update: 2010-04-28
|
||||
Bug-Debian: http://bugs.debian.org/549782
|
||||
Bug-Gentoo: https://bugs.gentoo.org/296657
|
||||
|
||||
--- grepmail/t/nonexistent_mailbox.t
|
||||
+++ grepmail/t/nonexistent_mailbox.t
|
||||
@@ -13,21 +13,15 @@
|
||||
=> ['none','no_such_file'],
|
||||
"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
|
||||
" | grepmail pattern"
|
||||
- => ['none','no_data'],
|
||||
+ => ['none','none'],
|
||||
"grepmail -E $single_quote\$email =~ /pattern/$single_quote no_such_file"
|
||||
=> ['none','no_such_file'],
|
||||
"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
|
||||
" | grepmail -E $single_quote\$email =~ /pattern/$single_quote"
|
||||
- => ['none','no_data'],
|
||||
+ => ['none','none'],
|
||||
);
|
||||
|
||||
my %expected_errors = (
|
||||
-"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
|
||||
- " | grepmail pattern"
|
||||
- => 1,
|
||||
-"$^X -MExtUtils::Command -e cat no_such_file 2>" . devnull() .
|
||||
- " | grepmail -E $single_quote\$email =~ /pattern/$single_quote"
|
||||
- => 1,
|
||||
);
|
||||
|
||||
my %localization = (
|
||||
@@ -1,17 +0,0 @@
|
||||
Description: Fix bug with midnight
|
||||
Author: Manuel Prinz <manuel@debian.org>
|
||||
Last-Update: 2010-02-22
|
||||
Bug-Debian: http://bugs.debian.org/559588
|
||||
Bug-Gentoo: https://bugs.gentoo.org/355067
|
||||
|
||||
--- grepmail/grepmail
|
||||
+++ grepmail/grepmail
|
||||
@@ -397,7 +397,7 @@
|
||||
if (eval 'require Date::Manip')
|
||||
{
|
||||
my ($version_number) = $Date::Manip::VERSION =~ /^(\d+\.\d+)/;
|
||||
- Date::Manip::Date_Init("TodayIsMidnight=1") if $version_number >= 5.43;
|
||||
+ Date::Manip::Date_Init("TodayIsMidnight=1") if $version_number >= 5.43 and $version_number < 6;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit versionator perl-module
|
||||
|
||||
MY_P="${PN}-$(delete_version_separator 2)"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="Search normal or compressed mailbox using a regular expression or dates"
|
||||
HOMEPAGE="https://github.com/coppit/grepmail"
|
||||
SRC_URI="mirror://sourceforge/grepmail/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Inline
|
||||
dev-perl/TimeDate
|
||||
dev-perl/Date-Manip
|
||||
virtual/perl-Digest-MD5
|
||||
>=dev-perl/Mail-Mbox-MessageParser-1.40.01
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
"
|
||||
# test? ( dev-perl/Mail-Mbox-MessageParser )
|
||||
|
||||
# 100% failure on running
|
||||
DIST_TEST="skip"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/5.30.33-fix_nonexistent_mailbox_test.patch
|
||||
"${FILESDIR}"/5.30.33-midnight.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL ||
|
||||
die "Can't patch Makefile.PL for 5.26 dot-in-inc"
|
||||
perl-module_src_prepare
|
||||
}
|
||||
Reference in New Issue
Block a user