From ba2d8ee2d9aa69fadccac2ad9b4cd6dba642d486 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Thu, 30 Apr 2020 09:49:09 +1200 Subject: [PATCH] dev-perl/Authen-DigestMD5: -r bump for EAPI7 - EAPI7 - Move digest-md5-auth.pl to be an example - Add USE="examples" - Parallel tests - Remove empty variable assignments Package-Manager: Portage-2.3.97, Repoman-2.3.22 Signed-off-by: Kent Fredric --- .../Authen-DigestMD5-0.40.0-r2.ebuild | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dev-perl/Authen-DigestMD5/Authen-DigestMD5-0.40.0-r2.ebuild diff --git a/dev-perl/Authen-DigestMD5/Authen-DigestMD5-0.40.0-r2.ebuild b/dev-perl/Authen-DigestMD5/Authen-DigestMD5-0.40.0-r2.ebuild new file mode 100644 index 000000000000..811b8de8e55e --- /dev/null +++ b/dev-perl/Authen-DigestMD5/Authen-DigestMD5-0.40.0-r2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=SALVA +DIST_VERSION=0.04 +DIST_EXAMPLES=("examples/*") +inherit perl-module + +DESCRIPTION="SASL DIGEST-MD5 authentication (RFC2831)" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +src_prepare() { + mkdir -p examples || die "Can't mkdir examples" + mv -v digest-md5-auth.pl examples/ || die "Can't move digest-md5-auth.pl" + sed -i -r -e 's|^(digest-md5-auth.pl)|examples/\1|' MANIFEST || die "Can't fix manifest" + perl-module_src_prepare +} -- 2.26.2