commit: 981809b8d0aa95b20027695a04ef6f66337e447b
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 4 08:49:31 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Nov 4 08:49:31 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=981809b8
app-text/dos2unix: Silence stupid QA warning
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
app-text/dos2unix/dos2unix-7.3.5.ebuild | 4 +++-
app-text/dos2unix/dos2unix-7.4.1.ebuild | 3 +++
app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild | 3 +++
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild
b/app-text/dos2unix/dos2unix-7.3.5.ebuild
index d871ca54b25..1df77cff620 100644
--- a/app-text/dos2unix/dos2unix-7.3.5.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -28,6 +28,8 @@ DEPEND="
test? ( virtual/perl-Test-Simple )
dev-lang/perl"
+RESTRICT="!test? ( test )"
+
handle_locales() {
# Make sure locale list is kept up-to-date.
local detected sorted
diff --git a/app-text/dos2unix/dos2unix-7.4.1.ebuild
b/app-text/dos2unix/dos2unix-7.4.1.ebuild
index 09270293006..d57d4c02b28 100644
--- a/app-text/dos2unix/dos2unix-7.4.1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.1.ebuild
@@ -30,6 +30,9 @@ BDEPEND="
dev-lang/perl
nls? ( sys-devel/gettext )
"
+
+RESTRICT="!test? ( test )"
+
handle_locales() {
# Make sure locale list is kept up-to-date.
local detected sorted
diff --git a/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild
b/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild
index fa947c87eca..6338a7ec381 100644
--- a/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild
@@ -31,6 +31,9 @@ BDEPEND="
dev-lang/perl
nls? ( sys-devel/gettext )
"
+
+RESTRICT="!test? ( test )"
+
S="${WORKDIR}/${P/_/-}"
handle_locales() {