From patchwork Fri Nov 18 17:52:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 15588 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79A0EC4332F for ; Fri, 18 Nov 2022 17:52:30 +0000 (UTC) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mx.groups.io with SMTP id smtpd.web10.49.1668793945037893943 for ; Fri, 18 Nov 2022 09:52:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ikMQodXb; spf=pass (domain: gmail.com, ip: 209.85.214.175, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f175.google.com with SMTP id jn7so3344412plb.13 for ; Fri, 18 Nov 2022 09:52:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=WApGqkHI/Cj5t6Ujg/nlXc2pDxZXNMDnadCVbALvgSg=; b=ikMQodXbMoeV8xzDNC2qyz/cCEKTsqCVMCeTsFgpzM9lOYtxaSmTJUwnH22OW5NRFu yuba5O9NXeUGEsqAy12KBaIRdGWiLtTA1x/Tac07JODk8UIbdZueoUCVMb6x4rCVEJIe gegKhN8dK9E8pT+Zw4uRNQ13PL5CnXfsbvKH/PjeApoPs91hGP79l16AzMaL67BXwioq hhzxswX7Vq9GS5W4XLNKK7+e+PrD2GwrA96Q9CJ7k+rFxQk4ZZ58i0sgnyMqwSAQo8Wq QeQmzij88HXnRHWYaxgDMmO/776wkL5nVWhr8Rh+ZvvL8VFIZWqdN+My5zhKpN7wYvMy obXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WApGqkHI/Cj5t6Ujg/nlXc2pDxZXNMDnadCVbALvgSg=; b=1eyyhdcLqMvI7dls4R1UpkL9wXC37eFULu3xj2/tmJyfTv7SOOA7gQctIs20RE9dOM ra9XR2Kvr9qjv0GtI6XFUf6S/2dhUs2xENAfjR4G+GGySrGot4bJggZS/8TwKMko+M6i 1g+py9aShjLqbG8eHBdq7n+xanBWhTJzVe7npCgStYeyNgBEIS1XpUruL8QGc2OljXlG v8wO7H3Hvpc1nbr1ewMD1n6yS8WZfQe5yCgqo8XshLeSlJ6N2jWG1NelMieoSQxvZ0m+ D9xi/v5ZwqMG18oftWrGCzkkoGswL8SeIPg32FDLZlIwShCRka7X/kqfpUXKRWrWcsqT OiRQ== X-Gm-Message-State: ANoB5pkXAo7O9tia4q7JyAraNmswzbtJXJFz90ECwb8GnojwHO0D2Iuj W1BxujohFzwrr5Fj152Xu3y9MJrgEjqfTQ== X-Google-Smtp-Source: AA0mqf7xGIqmeVi7z4PrTn/RtHCbjnC3MpwZ53tEVYIAinjFCj9B4JXxLOTuhTRu5RLTLjzi6YFh0g== X-Received: by 2002:a17:90a:71c5:b0:213:b0e:ede8 with SMTP id m5-20020a17090a71c500b002130b0eede8mr14776725pjs.89.1668793943945; Fri, 18 Nov 2022 09:52:23 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:6693:e191:c3fe:39ff]) by smtp.gmail.com with ESMTPSA id k28-20020aa79d1c000000b0056c702a370dsm3443173pfp.117.2022.11.18.09.52.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 09:52:23 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/5] mirrors.bbclass: update CPAN_MIRROR Date: Fri, 18 Nov 2022 09:52:03 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Nov 2022 17:52:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/173483 Both of these redirect to https://cpan.metacpan.org/: http://cpan.metacpan.org/ http://search.cpan.org/CPAN/ Signed-off-by: Tim Orling --- meta/classes-global/mirrors.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/classes-global/mirrors.bbclass b/meta/classes-global/mirrors.bbclass index 8b984de3bfe..cda431ce891 100644 --- a/meta/classes-global/mirrors.bbclass +++ b/meta/classes-global/mirrors.bbclass @@ -67,8 +67,7 @@ osc://.*/.* http://sources.openembedded.org/ \ https?://.*/.* http://sources.openembedded.org/ \ ftp://.*/.* http://sources.openembedded.org/ \ npm://.*/?.* http://sources.openembedded.org/ \ -${CPAN_MIRROR} http://cpan.metacpan.org/ \ -${CPAN_MIRROR} http://search.cpan.org/CPAN/ \ +${CPAN_MIRROR} https://cpan.metacpan.org/ \ https?://downloads.yoctoproject.org/releases/uninative/ https://mirrors.kernel.org/yocto/uninative/ \ https?://downloads.yoctoproject.org/mirror/sources/ https://mirrors.kernel.org/yocto-sources/ \ " From patchwork Fri Nov 18 17:52:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 15589 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B36CC433FE for ; Fri, 18 Nov 2022 17:52:30 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web11.60.1668793950140637232 for ; Fri, 18 Nov 2022 09:52:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qCdZ71mN; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id y13so5560968pfp.7 for ; Fri, 18 Nov 2022 09:52:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=f3/wS6+j5QTgyNRc7rqq3i9c+AbJ9idXHhz3Q9Jl2uE=; b=qCdZ71mNGQ6uhO+jYjZsveVlY7Z4lvgilF4/5U6Yx4/bSvgQ0hAgwel8joJjQiXeSz GcQbhK/mbq9ccaTwuFxAehADO90Qis8qv7VCUN401m4ZuOooqkzoVQtA2AHRtdTidM6m /iEklxi+s/KNPeMLcEnAe4X9wwHbPiHM8Ye9r7qg5eBS/oHeZHwHlxDBkl+0TxJ3hobA DiUBAcseu/C2ukEW/7pMuwpQ4jMjTqVBiOwUGCm8JLCWs84RX50v46lJw7FcYsP/coLp yK9HaWZBZI9VIBpOjFvEbNPn9M4a1dSXOFTEUA9OiSg4Q2W2yIOHuSca5yk5O6h/lies z2SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=f3/wS6+j5QTgyNRc7rqq3i9c+AbJ9idXHhz3Q9Jl2uE=; b=CgTHHP7O+YyqnbHfRg5bJ3rXGexqJmj4/IoTJsh/ymL48fsF6b5xFuTysindX0gQyS Q8uVA2V/VDUkQFuLM6Z66llu+1ZbZ3tEN1b1Atrg9xXtt8N+vucicKhHk5TBqAj4SLjQ JJYo/y8ryqH/q7EUE7FDyUpY7E/YENyFVFac+g4ANaJSTG3afAqK0PZ9yW5NEld71a/7 gLiopNkGiqrM/B6zxI/IAiiTZh7qJ9nz7B3lSH0lEPUsypDLU5hfGv8PbWxg810JdPl5 5/oNkH3kkDcpGDyyXSgix0GFsUeD0zR2ttWpfVJgzzcbwTS1+t0V9SBCfvV6M12lewy5 GAYg== X-Gm-Message-State: ANoB5plTst8BA4+yfBPG7EXMOaK4902cwXq3tUnNzADV4eOVl9UvkAQw 0bH8VoooCenFR+xYYv1o2evQwYMvEGTwvg== X-Google-Smtp-Source: AA0mqf6f9Zd4PyVnLhZZBqz4Dqu1cf1Mrdq6wZ1QAsKX7aCskxrPEEJhTQRbEdKMD017CfTmhbG64w== X-Received: by 2002:a62:ea18:0:b0:56c:2d:1e56 with SMTP id t24-20020a62ea18000000b0056c002d1e56mr9093956pfh.41.1668793949131; Fri, 18 Nov 2022 09:52:29 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:6693:e191:c3fe:39ff]) by smtp.gmail.com with ESMTPSA id k28-20020aa79d1c000000b0056c702a370dsm3443173pfp.117.2022.11.18.09.52.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 09:52:28 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/5] libtry-tiny-perl: add recipe for 0.31 Date: Fri, 18 Nov 2022 09:52:04 -0800 Message-Id: <6e0d78434526a2e1d54dcf57cadb3a87bf65c22a.1668793524.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Nov 2022 17:52:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/173484 Try::Tiny - Minimal try/catch with proper preservation of $@ https://metacpan.org/release/ETHER/Try-Tiny-0.31 * Dependency for libtest-fatal-perl * Add self as maintainer * Add to ptest-packagelists.inc (fast) Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 1 + .../distro/include/ptest-packagelists.inc | 1 + .../perl/libtry-tiny-perl_0.31.bb | 36 +++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 5b7ce77c3cc..141578a7a99 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -396,6 +396,7 @@ RECIPE_MAINTAINER:pn-libtirpc = "Anuj Mittal " RECIPE_MAINTAINER:pn-libtool = "Robert Yang " RECIPE_MAINTAINER:pn-libtool-cross = "Robert Yang " RECIPE_MAINTAINER:pn-libtool-native = "Robert Yang " +RECIPE_MAINTAINER:pn-libtry-tiny-perl = "Tim Orling " RECIPE_MAINTAINER:pn-libucontext = "Khem Raj " RECIPE_MAINTAINER:pn-libunistring = "Anuj Mittal " RECIPE_MAINTAINER:pn-libunwind = "Bruce Ashfield " diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 3c9ff43bd9b..b0925e13dd0 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -34,6 +34,7 @@ PTESTS_FAST = "\ libssh2-ptest \ libtimedate-perl-ptest \ libtest-needs-perl-ptest \ + libtry-tiny-perl-ptest \ liburi-perl-ptest \ libusb1-ptest \ libxml-namespacesupport-perl-ptest \ diff --git a/meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb b/meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb new file mode 100644 index 00000000000..a3728d84356 --- /dev/null +++ b/meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb @@ -0,0 +1,36 @@ +SUMMARY = "Try::Tiny - Minimal try/catch with proper preservation of $@" +DESCRIPTION = "This module provides bare bones try/catch/finally statements \ +that are designed to minimize common mistakes with eval blocks, and NOTHING \ +else." +HOMEPAGE = "https://github.com/p5sagit/Try-Tiny" +BUGTRACKER = "https://rt.cpan.org/Public/Dist/Display.html?Name=Try-Tiny" +SECTION = "libs" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENCE;md5=5dc332c2d4aade55f5db244681000091" + +SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Try-Tiny-${PV}.tar.gz" + +SRC_URI[sha256sum] = "3300d31d8a4075b26d8f46ce864a1d913e0e8467ceeba6655d5d2b2e206c11be" + +S = "${WORKDIR}/Try-Tiny-${PV}" + +inherit cpan ptest-perl + +RDEPENDS:${PN} += "\ + perl-module-carp \ + perl-module-constant \ + perl-module-exporter \ +" +RRECOMMENDS:${PN} += "\ + perl-module-sub-util \ +" +RDEPENDS:${PN}-ptest += "\ + perl-module-extutils-makemaker \ + perl-module-extutils-mm-unix \ + perl-module-file-spec \ + perl-module-if \ + perl-module-test-more \ +" + +BBCLASSEXTEND = "native nativesdk" From patchwork Fri Nov 18 17:52:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 15590 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78C11C433FE for ; Fri, 18 Nov 2022 17:52:40 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web11.60.1668793950140637232 for ; Fri, 18 Nov 2022 09:52:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L83YlGgG; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id y13so5561089pfp.7 for ; Fri, 18 Nov 2022 09:52:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=1tXrULKcBkZxVgjzRxoFMmjvk2qVYkiEbUJq0dVfR9E=; b=L83YlGgGi485cINwtYMwlSI6YxmwIH3taFvNs6h41MmGuwtRauSCdW2KIYGK03wNV5 gNxr3BYhG0PHI5rlkm9NDqj1RvOLRsFgl/etdZcOpFCyT1FEmv76WRqNC3MyCI3XIp7s Owp4qJ1p+ADCJcHXlSGI1QNEnqm/Xk1q0lh9buALM/lXjA2GW4oVnP7KN4gr9l00pvk8 8Y/0+GVQo1swgwos1ItQQPmSXjO4Rz/IqzwMX86w+CESCfFUV280fvzHfW/opUXsToQo Z8NC54ghTZOew2q+cUgF9qVHzGadFZsDNOtYB6viUFvqMtRFVtDmTt+R+Ss7cWgnY6wf oKOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1tXrULKcBkZxVgjzRxoFMmjvk2qVYkiEbUJq0dVfR9E=; b=F3LhlCr7Ecn6r34WtF5HqjrHsx9gT+xptB4BNUycGNyhiaeVqYKhC21/Jvf6Ufg/SX zH0HiFCp2d6s+hlFntICd+tnrensgs2eqIC5QKC3hwwFMNidFlM+TxsXZixqQ2zoFF6R MRl9T3F9HKKTjwuVS+w0ERX9MfRwcqSoBq7iGjj07Lxf4HFsWjzplobvluIkSFJ/XryV ocIEWam/JTyl31S6zi0ehbCkDr0qUhIkmD2dbBgfDq4mpXco7Fl4owpcafnS+Cizn984 ktZkVYRlRWnj3SRjMVR45/auJ12t39uf3dnyp4mDIOSBJG056y94LHfP2yod/zoH6Oh1 pw4w== X-Gm-Message-State: ANoB5pkgxEHJUe6j/e7DN77MNBSlRSFaQ1vRp8VWkHa1TBjaU9Ok/3MU ps8DLOUzaBtQEzcpFz5zsbZj4PhcdHwEhw== X-Google-Smtp-Source: AA0mqf4MH8cZRd6LCLYDY0/Gg5B8BuHBoaNgZXQrd8YJWbDYcui6HPD6vA5PDLWBtHGTQTX7TTOh0w== X-Received: by 2002:a63:145e:0:b0:473:c377:b82 with SMTP id 30-20020a63145e000000b00473c3770b82mr7873593pgu.113.1668793952082; Fri, 18 Nov 2022 09:52:32 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:6693:e191:c3fe:39ff]) by smtp.gmail.com with ESMTPSA id k28-20020aa79d1c000000b0056c702a370dsm3443173pfp.117.2022.11.18.09.52.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 09:52:31 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH 3/5] libtest-fatal-perl: add recipe for 0.016 Date: Fri, 18 Nov 2022 09:52:05 -0800 Message-Id: <74ae6498d65b11537ea8547d1a5206d2c6aec78a.1668793524.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Nov 2022 17:52:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/173485 Test::Fatal - incredibly simple helpers for testing code with exceptions https://metacpan.org/release/RJBS/Test-Fatal-0.016 * Dependency for liburi-perl ptest. * Add self as maintainer * Add to ptest-packages.inc (fast) Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 1 + .../distro/include/ptest-packagelists.inc | 1 + .../perl/libtest-fatal-perl_0.016.bb | 36 +++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 141578a7a99..42e705bda95 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -389,6 +389,7 @@ RECIPE_MAINTAINER:pn-libsoup-2.4 = "Anuj Mittal " RECIPE_MAINTAINER:pn-libssh2 = "Unassigned " RECIPE_MAINTAINER:pn-libssp-nonshared = "Khem Raj " RECIPE_MAINTAINER:pn-libtasn1 = "Anuj Mittal " +RECIPE_MAINTAINER:pn-libtest-fatal-perl = "Tim Orling " RECIPE_MAINTAINER:pn-libtest-needs-perl = "Tim Orling " RECIPE_MAINTAINER:pn-libtheora = "Alexander Kanavin " RECIPE_MAINTAINER:pn-libtimedate-perl = "Tim Orling " diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index b0925e13dd0..983f1dd72a5 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -33,6 +33,7 @@ PTESTS_FAST = "\ libpcre-ptest \ libssh2-ptest \ libtimedate-perl-ptest \ + libtest-fatal-perl-ptest \ libtest-needs-perl-ptest \ libtry-tiny-perl-ptest \ liburi-perl-ptest \ diff --git a/meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb b/meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb new file mode 100644 index 00000000000..6d36c94eeb5 --- /dev/null +++ b/meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb @@ -0,0 +1,36 @@ +SUMMARY = "Incredibly simple helpers for testing code with exceptions" +DESCRIPTION = "Test::Fatal is an alternative to the popular Test::Exception.\ +It does much less, but should allow greater flexibility in testing \ +exception-throwing code with about the same amount of typing." +HOMEPAGE = "https://github.com/rjbs/Test-Fatal" +BUGTRACKER = "https://github.com/rjbs/Test-Fatal/issues" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=f7c73bf24be1bc7759bde9c15000db6c" + +SRC_URI = "${CPAN_MIRROR}/authors/id/R/RJ/RJBS/Test-Fatal-${PV}.tar.gz" + +SRC_URI[sha256sum] = "7283d430f2ba2030b8cd979ae3039d3f1b2ec3dde1a11ca6ae09f992a66f788f" + +S = "${WORKDIR}/Test-Fatal-${PV}" + +inherit cpan ptest-perl + +RDEPENDS:${PN} += "\ + libtry-tiny-perl \ + perl-module-carp \ + perl-module-exporter \ + perl-module-test-builder \ +" + +RDEPENDS:${PN}-ptest += "\ + perl-module-extutils-makemaker \ + perl-module-extutils-mm-unix \ + perl-module-file-spec \ + perl-module-overload \ + perl-module-test-builder-tester \ + perl-module-test-more \ +" + +BBCLASSEXTEND = "native nativesdk" From patchwork Fri Nov 18 17:52:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 15591 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CC8DC43217 for ; Fri, 18 Nov 2022 17:52:40 +0000 (UTC) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mx.groups.io with SMTP id smtpd.web11.64.1668793956362074936 for ; Fri, 18 Nov 2022 09:52:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RoLX9xG4; spf=pass (domain: gmail.com, ip: 209.85.216.46, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f46.google.com with SMTP id u6-20020a17090a5e4600b0021881a8d264so3390622pji.4 for ; Fri, 18 Nov 2022 09:52:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=lEzRHXRebGsw5rAnDkQ9+6EJGG7HbrCk77OKrN3Jnhs=; b=RoLX9xG4RPyEI/xrC48KQzn9nHLzc3OdxRWfd9KP5xwEjoYi5fHHPA3jnl2Ki9pgE7 AkfcOSqQ6J520m1zO2XA3ban0YcC35+xmgxiTxKoCfRwI6scQYGRwcaE+IcKt9iEghf5 PnlPvGjvMms5+6FK4jitbrh0cxZZLUooaxvh2W2ZZwiNPxQaxEg70wQNnuHxxftTIzng WGqn3BTqoxxEtfIIGPdVVZvdv8mNwFEXk9tkJHfP1RBitEdyMfEEN8WLpkkd0RKwP0MZ 5skE9kJ88wQuy9JjZ8rImkWmrHbbXUmDa1U6mz/sUowie9yECa+ZOd47rG4qD4AbG3rl 7gZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lEzRHXRebGsw5rAnDkQ9+6EJGG7HbrCk77OKrN3Jnhs=; b=Cex1VfnEDyw7y6xYgLuWABK/uvbcdRlTdzzqOGTo+FaqIZnQqnTMojIGmPICdoaqUl eqhXqA975S6DU/LOAvPN+Mli4yRppOmb5t4fCM5E+HwT77ixRFoYQjvhC2j78c8DhlZL L/nyk8S3g+ZtXf6CkP0blK7utbHy87pJ+ry4Yct+9s0OzsPQ6rPjpcI731vHXLljIiOB vTbaGUo8PdxsjkJP2m4rs/7KXfzn0VyPWTT6xkEKZNyJGiCpyALOCC1VxSQd1k/E2wnY Q8+3rxxwpE74M052qBStD7x9/U8xuIw8fnDzAD3a4NjjpI02GbxhnprvgGEHmKBq0eFq J7Sw== X-Gm-Message-State: ANoB5pkg5HJyH89IQQkrQNE0KuqxsZMxDhfkciHoGoGJrU52buTNoWJo 2Fc4y0foBPw4jK7EJ/Xlhxocmzp+7PYaiw== X-Google-Smtp-Source: AA0mqf5lySXf2GT2UdYSqUB36wJesHV06ZVGPl/UDPyKZQRalZVuCs6uPqK2t/IBNZFgB/Ow0kZP/g== X-Received: by 2002:a17:902:8b89:b0:186:9c43:5969 with SMTP id ay9-20020a1709028b8900b001869c435969mr648686plb.32.1668793955331; Fri, 18 Nov 2022 09:52:35 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:6693:e191:c3fe:39ff]) by smtp.gmail.com with ESMTPSA id k28-20020aa79d1c000000b0056c702a370dsm3443173pfp.117.2022.11.18.09.52.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 09:52:34 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH 4/5] libtest-warnings-perl: move from meta-perl Date: Fri, 18 Nov 2022 09:52:06 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Nov 2022 17:52:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/173486 liburi-perl in oe-core now RDEPENDS on libtest-warnings-perl for ptest * Update HOMEPAGE; fix syntax * Add SUMMARY * Add BUGTRACKER * Use CPAN_MIRROR for SRC_URI * Use actual LICENCE file for LIC_FILES_CHKSUM * Add RDEPENDS * Add RDEPENDS on perl-modules for ptest - Too many hidden dependencies that fail silently, but pass with full perl-modules * Add self as maintainer * Add to ptest-packagelists (fast) Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 1 + .../distro/include/ptest-packagelists.inc | 1 + .../perl/libtest-warnings-perl_0.031.bb | 39 +++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 42e705bda95..75931516323 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -391,6 +391,7 @@ RECIPE_MAINTAINER:pn-libssp-nonshared = "Khem Raj " RECIPE_MAINTAINER:pn-libtasn1 = "Anuj Mittal " RECIPE_MAINTAINER:pn-libtest-fatal-perl = "Tim Orling " RECIPE_MAINTAINER:pn-libtest-needs-perl = "Tim Orling " +RECIPE_MAINTAINER:pn-libtest-warnings-perl = "Tim Orling " RECIPE_MAINTAINER:pn-libtheora = "Alexander Kanavin " RECIPE_MAINTAINER:pn-libtimedate-perl = "Tim Orling " RECIPE_MAINTAINER:pn-libtirpc = "Anuj Mittal " diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 983f1dd72a5..cf1b57e1867 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -35,6 +35,7 @@ PTESTS_FAST = "\ libtimedate-perl-ptest \ libtest-fatal-perl-ptest \ libtest-needs-perl-ptest \ + libtest-warnings-perl-ptest \ libtry-tiny-perl-ptest \ liburi-perl-ptest \ libusb1-ptest \ diff --git a/meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb b/meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb new file mode 100644 index 00000000000..e03deaf15fa --- /dev/null +++ b/meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb @@ -0,0 +1,39 @@ +# Copyright (C) 2020 Jens Rehsack +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "Test::Warnings - Test for warnings and the lack of them" +DESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there are no \ +warnings generated by your tests, combined with the convenience of \ +\\"done_testing\\" to not have to declare a test count, you'll have discovered \ +that these two features do not play well together, as the test count will \ +be calculated *before* the warnings test is run, resulting in a TAP error. \ +(See "examples/test_nowarnings.pl" in this distribution for a \ +demonstration.)" +HOMEPAGE = "https://github.com/karenetheridge/Test-Warnings" +BUGTRACKER = "https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Warnings" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://LICENCE;md5=6f2b02f39e7d359efd9525fbc56c84a1" + +SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz" + +SRC_URI[sha256sum] = "1e542909fef305e45563e9878ea1c3b0c7cef1b28bb7ae07eba2e1efabec477b" + +S = "${WORKDIR}/Test-Warnings-${PV}" + +inherit cpan ptest-perl + +RDEPENDS:${PN} += "\ + perl-module-test-builder \ +" + +# Many hidden dependencies and mysterious failures occur without full perl-modules +RDEPENDS:${PN}-ptest += "perl-modules" + +do_install_ptest_perl:append () { + cp -r ${B}/t/lib ${D}${PTEST_PATH}/t/ + chown -R root:root ${D}${PTEST_PATH}/t/lib +} + +BBCLASSEXTEND = "native nativesdk" From patchwork Fri Nov 18 17:52:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 15592 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C0B6C4332F for ; Fri, 18 Nov 2022 17:52:40 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web11.68.1668793960182848885 for ; Fri, 18 Nov 2022 09:52:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ilXof8O/; spf=pass (domain: gmail.com, ip: 209.85.214.172, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f172.google.com with SMTP id y10so4013607plp.3 for ; Fri, 18 Nov 2022 09:52:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=vrFobkdI/lA5c/QDgZr78nL3CRUZqhPM6Z09CegKhjo=; b=ilXof8O/BbAXtmIi75Qp3/+nSx+3HojjrsNTzNy0IJa/2VuqPCeUQf2NXf06HpamiD x7EYXkUx6nLy5hOl2IgyZpGRNhurJCL0iu8hC/kKQiH+akveke5VBb1ptyCdbAil4umu b1IZ/XtPV5yrzEpkQ9uyz5aqOLrSJK+VkVRKyHUG0ZIomeaNgSN3heXIiVQmVMr7onn+ SkqUH3RN4akAv6oWhjpkOkTaGoxE9UPCNBCeZHbDWOVIkvd0LJd2rzhlfep4XQXwBYKk isrz1CU4BOCEVvBNps5kSs33WqdwxsTkuvSxbT7SlvxJkIKTgmri/XejxojXj7JHb2Si xlpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vrFobkdI/lA5c/QDgZr78nL3CRUZqhPM6Z09CegKhjo=; b=0iiPFHXyDe8lb9iu2uug+RaSMlCdFKssuys9fn03Qkpdev/A3h0AuwGd2JHy9A44ud GFrcpVFMS2nNXANfkZ6Ep2oIK2a42J1GOR/3NfrOqv1Ha7hLVYYOsSXw05FJNKET15FD 3NRWzVXPmCLlvR3Dp84t1XCnUiVX3V/BWoCeW8r9ml+pGO6GPpN5tgFZcqzA6TCBGUT3 N9Q27l5WELFGiEk3eZZ6781EsalZObaoQ3kQkTEyUBxiyEOl9b5sOiEvY8XKxW1GraY9 k8qmOv2m1ie22MTu/LPiFaAyP9DBzAv2uvDAIzUNMajyTdCPgFD11lGWNcYiXx+zxFgO 4W/g== X-Gm-Message-State: ANoB5pksZ6w1BL691C3Ct+hSIEw+CIBaPh1g1EltsM0pSSbHIVFSc3Wh JpKOwbxDD8/7E/AcxfaJmxtUkhAPP1xXdQ== X-Google-Smtp-Source: AA0mqf5I3U6WzkE8txrZAui3w1Z4wbXQ2AvL3tHJykrgBA0HFuGeumqrSGdevKHpcGsvv0mNKWvozg== X-Received: by 2002:a17:902:e04b:b0:186:94b8:5980 with SMTP id x11-20020a170902e04b00b0018694b85980mr562159plx.113.1668793958977; Fri, 18 Nov 2022 09:52:38 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:6693:e191:c3fe:39ff]) by smtp.gmail.com with ESMTPSA id k28-20020aa79d1c000000b0056c702a370dsm3443173pfp.117.2022.11.18.09.52.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 09:52:38 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH 5/5] liburi-perl: upgrade 5.08 -> 5.17 Date: Fri, 18 Nov 2022 09:52:07 -0800 Message-Id: <28ed7318cfe4c40768995e201360a87f2309f248.1668793524.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Nov 2022 17:52:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/173487 * Author changed back from ETHER to OALDERS * Use CPAN_MIRROR for SRC_URI * Update HOMEPAGE * Update RPEPENDS for -ptest * Patch to skip TODO test cases For changes, see: https://metacpan.org/release/OALDERS/URI-5.17/changes License-Update: whitespace changes Signed-off-by: Tim Orling --- .../0001-Skip-TODO-test-cases-that-fail.patch | 110 ++++++++++++++++++ ...iburi-perl_5.08.bb => liburi-perl_5.17.bb} | 34 +++--- 2 files changed, 130 insertions(+), 14 deletions(-) create mode 100644 meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch rename meta/recipes-devtools/perl/{liburi-perl_5.08.bb => liburi-perl_5.17.bb} (65%) diff --git a/meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch b/meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch new file mode 100644 index 00000000000..68ccd061202 --- /dev/null +++ b/meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch @@ -0,0 +1,110 @@ +From 858daa5047b00e7d5aa795302a9fad5504c8f0b9 Mon Sep 17 00:00:00 2001 +From: Tim Orling +Date: Thu, 17 Nov 2022 16:33:20 -0800 +Subject: [PATCH] Skip TODO test cases that fail + +TODO cases report as "not ok" with ptest-runner + +Upstream-Status: Inappropriate [ptest-runner specific] + +Signed-off-by: Tim Orling + +--- + t/escape-char.t | 20 ++++++++++---------- + t/iri.t | 18 +++++++++--------- + t/mailto.t | 12 ++++++------ + 3 files changed, 25 insertions(+), 25 deletions(-) + +diff --git a/t/escape-char.t b/t/escape-char.t +index c6ce79c..5e62ad5 100644 +--- a/t/escape-char.t ++++ b/t/escape-char.t +@@ -6,16 +6,16 @@ use warnings; + use Test::More; + use URI (); + +-TODO: { +- my $str = "http://foo/\xE9"; +- utf8::upgrade($str); +- my $uri = URI->new($str); +- +- local $TODO = 'URI::Escape::escape_char misunderstands utf8'; +- +- # http://foo/%C3%A9 +- is("$uri", 'http://foo/%E9', 'correctly created a URI from a utf8-upgraded string'); +-} ++#TODO: { ++# my $str = "http://foo/\xE9"; ++# utf8::upgrade($str); ++# my $uri = URI->new($str); ++# ++# local $TODO = 'URI::Escape::escape_char misunderstands utf8'; ++# ++# # http://foo/%C3%A9 ++# is("$uri", 'http://foo/%E9', 'correctly created a URI from a utf8-upgraded string'); ++#} + + { + my $str = "http://foo/\xE9"; +diff --git a/t/iri.t b/t/iri.t +index 2eb64b2..9c663c9 100644 +--- a/t/iri.t ++++ b/t/iri.t +@@ -6,7 +6,7 @@ use Test::More; + use Config qw( %Config ); + + if (defined $Config{useperlio}) { +- plan tests=>26; ++ plan tests=>24; + } else { + plan skip_all=>'this perl doesn\'t support PerlIO layers'; + } +@@ -60,17 +60,17 @@ is $u->as_iri, "http://➡.ws/"; + # draft-duerst-iri-bis.txt examples (section 3.7.1): + is(URI->new("http://www.example.org/D%C3%BCrst")->as_iri, "http://www.example.org/D\xFCrst"); + is(URI->new("http://www.example.org/D%FCrst")->as_iri, "http://www.example.org/D%FCrst"); +-TODO: { +- local $TODO = "some chars (like U+202E, RIGHT-TO-LEFT OVERRIDE) need to stay escaped"; +-is(URI->new("http://xn--99zt52a.example.org/%e2%80%ae")->as_iri, "http://\x{7D0D}\x{8C46}.example.org/%e2%80%ae"); +-} ++#TODO: { ++# local $TODO = "some chars (like U+202E, RIGHT-TO-LEFT OVERRIDE) need to stay escaped"; ++#is(URI->new("http://xn--99zt52a.example.org/%e2%80%ae")->as_iri, "http://\x{7D0D}\x{8C46}.example.org/%e2%80%ae"); ++#} + + # try some URLs that can't be IDNA encoded (fallback to encoded UTF8 bytes) + $u = URI->new("http://" . ("ü" x 128)); + is $u, "http://" . ("%C3%BC" x 128); + is $u->host, ("\xC3\xBC" x 128); +-TODO: { +- local $TODO = "should ihost decode UTF8 bytes?"; +- is $u->ihost, ("ü" x 128); +-} ++#TODO: { ++# local $TODO = "should ihost decode UTF8 bytes?"; ++# is $u->ihost, ("ü" x 128); ++#} + is $u->as_iri, "http://" . ("ü" x 128); +diff --git a/t/mailto.t b/t/mailto.t +index 79e9a13..c68cfb2 100644 +--- a/t/mailto.t ++++ b/t/mailto.t +@@ -48,12 +48,12 @@ $u = URI->new('mailto:user+detail@example.com'); + is $u->to, 'user+detail@example.com', 'subaddress with `+` parsed correctly'; + is $u, 'mailto:user+detail@example.com', '... and stringification works'; + +-TODO: { +- local $TODO = "We can't handle quoted local parts without properly parsing the email addresses"; +- $u = URI->new('mailto:"foo bar+baz"@example.com'); +- is $u->to, '"foo bar+baz"@example.com', 'address with quoted local part containing spaces is parsed correctly'; +- is $u, 'mailto:%22foo%20bar+baz%22@example.com', '... and stringification works'; +-} ++#TODO: { ++# local $TODO = "We can't handle quoted local parts without properly parsing the email addresses"; ++# $u = URI->new('mailto:"foo bar+baz"@example.com'); ++# is $u->to, '"foo bar+baz"@example.com', 'address with quoted local part containing spaces is parsed correctly'; ++# is $u, 'mailto:%22foo%20bar+baz%22@example.com', '... and stringification works'; ++#} + + # RFC 5321 (4.1.3) - Address Literals + diff --git a/meta/recipes-devtools/perl/liburi-perl_5.08.bb b/meta/recipes-devtools/perl/liburi-perl_5.17.bb similarity index 65% rename from meta/recipes-devtools/perl/liburi-perl_5.08.bb rename to meta/recipes-devtools/perl/liburi-perl_5.17.bb index 5428c9ddf9f..5e15004dd0f 100644 --- a/meta/recipes-devtools/perl/liburi-perl_5.08.bb +++ b/meta/recipes-devtools/perl/liburi-perl_5.17.bb @@ -2,19 +2,17 @@ SUMMARY = "Perl module to manipulate and access URI strings" DESCRIPTION = "This package contains the URI.pm module with friends. \ The module implements the URI class. URI objects can be used to access \ and manipulate the various components that make up these strings." - -HOMEPAGE = "http://search.cpan.org/dist/URI/" +HOMEPAGE = "https://metacpan.org/dist/URI" SECTION = "libs" LICENSE = "Artistic-1.0 | GPL-1.0-or-later" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c453e94fae672800f83bc1bd7a38b53f" - -DEPENDS += "perl" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d8ca5f628bf2cd180bc4fa044cb8ef41" -SRC_URI = "http://www.cpan.org/authors/id/E/ET/ETHER/URI-${PV}.tar.gz" +SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz \ + file://0001-Skip-TODO-test-cases-that-fail.patch \ + " -SRC_URI[md5sum] = "cdbbf8f8ccdec5c162c8505077a35c2c" -SRC_URI[sha256sum] = "7e2c6fe3b1d5947da334fa558a96e748aaa619213b85bcdce5b5347d4d26c46e" +SRC_URI[sha256sum] = "5f7e42b769cb27499113cfae4b786c37d49e7c7d32dbb469602cd808308568f8" S = "${WORKDIR}/URI-${PV}" @@ -33,18 +31,26 @@ do_install:prepend() { rm -rf ${B}/t/file.t } -RDEPENDS:${PN} += "perl-module-integer perl-module-mime-base64" +RDEPENDS:${PN} += "\ + perl-module-integer \ + perl-module-mime-base64 \ +" + RDEPENDS:${PN}-ptest += " \ + libtest-fatal-perl \ libtest-needs-perl \ - perl-module-test-more \ - perl-module-test \ - perl-module-utf8 \ - perl-module-extutils-makemaker \ - perl-module-net-domain \ + libtest-warnings-perl \ perl-module-encode \ + perl-module-encode-encoding \ + perl-module-extutils-makemaker \ perl-module-extutils-mm-unix \ perl-module-file-spec-functions \ + perl-module-net-domain \ perl-module-perlio \ + perl-module-perlio-encoding \ + perl-module-test \ + perl-module-test-more \ + perl-module-utf8 \ " BBCLASSEXTEND = "native"