From nobody Sat Aug 27 10:30:32 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MFCdh4dbNz4b4XZ; Sat, 27 Aug 2022 10:30:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MFCdh4DJYz3w34; Sat, 27 Aug 2022 10:30:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596232; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VzO3KuMZWvAKnebDyFNajvqQ61bFtHsy6xzrdpaNuyY=; b=G5v3Rfy7ckLc1IGCRqE/RhQ4N5g2qYF4xdx3N2XO8RV6UerZyjYbrFqP52TyytsoTZGKLw GCUIuhOEU8EO8fjPK2gu8DXnaMinjtt/NojYZoVHUTYgAkZRTaZWiIJL02lXMflvsrz50K hN2+/AxsnJGcyCoRD3W7SnWLRDeoqvPsvrIRL0a3wur54qIYq4lb9iGIkNiFov6p4ZAqlI x1Wmr13A3lDK8RKI950miyu+OcWPIVwUWPRyHchv3f4bHYTbVa8q7IiynX+Ast+gUfwlF8 xkQqfXfD51eZiFpV3/Rujk9EjKnUjbCed+kSamVcvtFmhZj1w+zdnGhkLmn/FA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MFCdh2kQ0zjpG; Sat, 27 Aug 2022 10:30:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27RAUWxG046888; Sat, 27 Aug 2022 10:30:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27RAUWjf046887; Sat, 27 Aug 2022 10:30:32 GMT (envelope-from git) Date: Sat, 27 Aug 2022 10:30:32 GMT Message-Id: <202208271030.27RAUWjf046887@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: f101560ae9bd - main - devel/p5-Test-Lib: Add p5-Test-Lib 0.003 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f101560ae9bdc5a32dac66ead540617d30caad5b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596232; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VzO3KuMZWvAKnebDyFNajvqQ61bFtHsy6xzrdpaNuyY=; b=Dsi436q/naSHsDvuy2UE1u2iRWVh7Z9xzgMK5eQBjml/kJdcq7autN5mnuxSnoRsVsORoH e+C39lBsB5pfaF2DeyvVzipJ9HIzQx2sQlLrHs8ySz7Uv01W4eUmPFxs6bCEvgT7ISJOQm LdsTlsZhM8EV4alvKFr9m7iIsFUZWgO72Wb9wqYLjSo3ZlixD0cXuEVF+RVstV2U6SJJza weW1GU7EV7/mHGDu3IJSnh+aeur1pALNBhAzCtLTSk0edRHHTKjklp+RpFgvtP+xluB4qC /2a1o0d40RRo7RxK81y2SApAI+qa9r9mobprbUB4/J6RCrUuIJezJGmnPmpFAQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661596232; a=rsa-sha256; cv=none; b=E0bX+PLLCCQ/33MTW6Z6aDhXK5rYh0gtvTThDIJdR89gN0phc7sDWYgV9snNwJFvjq/fXb eyhEyVB5N4AxzKfJCYoTlf99k82ey2OpR0+x3anF14jQcpRsNiynkSPZQKX91p02MuIEvq A2gIZygR5byE1q0bykBGl7CGZhpHzy4wV59bRGn3aKj7ar3o4fX+cZJRG/lOAahaF7q4Vk Lop6UfDiA2WHm1Defe4TMtOdjlbVqWPhtrQkhUFZMSW0n6rfQy8++m7aJ18m/k4niqTDl8 0XYU9HMS22PqzjQNjvC5gtA5RrMvNUmYrSXNQZFzN1uzZway7Crakv6JEx+NLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f101560ae9bdc5a32dac66ead540617d30caad5b commit f101560ae9bdc5a32dac66ead540617d30caad5b Author: Po-Chuan Hsieh AuthorDate: 2022-08-27 10:10:10 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-08-27 10:10:10 +0000 devel/p5-Test-Lib: Add p5-Test-Lib 0.003 Test::Lib searches upward from the calling module for a directory t with a lib directory inside it, and adds it to the module search path. Looks upward up to 5 directories. This is intended to be used in test modules either directly in t or in a subdirectory to find their included testing libraries located in t/lib. WWW: https://metacpan.org/dist/Test-Lib --- devel/Makefile | 1 + devel/p5-Test-Lib/Makefile | 19 +++++++++++++++++++ devel/p5-Test-Lib/distinfo | 3 +++ devel/p5-Test-Lib/pkg-descr | 6 ++++++ devel/p5-Test-Lib/pkg-plist | 2 ++ 5 files changed, 31 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 820ce57719dd..7922f5874a32 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3440,6 +3440,7 @@ SUBDIR += p5-Test-Lazy SUBDIR += p5-Test-LeakTrace SUBDIR += p5-Test-LectroTest + SUBDIR += p5-Test-Lib SUBDIR += p5-Test-LoadAllModules SUBDIR += p5-Test-Log-Log4perl SUBDIR += p5-Test-Log4perl diff --git a/devel/p5-Test-Lib/Makefile b/devel/p5-Test-Lib/Makefile new file mode 100644 index 000000000000..53008d207fda --- /dev/null +++ b/devel/p5-Test-Lib/Makefile @@ -0,0 +1,19 @@ +PORTNAME= Test-Lib +PORTVERSION= 0.003 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Use libraries from a t/lib directory + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/devel/p5-Test-Lib/distinfo b/devel/p5-Test-Lib/distinfo new file mode 100644 index 000000000000..951f32046388 --- /dev/null +++ b/devel/p5-Test-Lib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660576668 +SHA256 (Test-Lib-0.003.tar.gz) = d84b48d92567cba3d0afb1e8175aab836bfa8a838e19ac9080cabc2e3f9dc9f5 +SIZE (Test-Lib-0.003.tar.gz) = 10518 diff --git a/devel/p5-Test-Lib/pkg-descr b/devel/p5-Test-Lib/pkg-descr new file mode 100644 index 000000000000..2b79114fcac5 --- /dev/null +++ b/devel/p5-Test-Lib/pkg-descr @@ -0,0 +1,6 @@ +Test::Lib searches upward from the calling module for a directory t with a lib +directory inside it, and adds it to the module search path. Looks upward up to 5 +directories. This is intended to be used in test modules either directly in t or +in a subdirectory to find their included testing libraries located in t/lib. + +WWW: https://metacpan.org/dist/Test-Lib diff --git a/devel/p5-Test-Lib/pkg-plist b/devel/p5-Test-Lib/pkg-plist new file mode 100644 index 000000000000..12d365134ae1 --- /dev/null +++ b/devel/p5-Test-Lib/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Test/Lib.pm +%%PERL5_MAN3%%/Test::Lib.3.gz