From owner-svn-ports-head@freebsd.org Sun Mar 17 18:21:29 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52ECF1545F36; Sun, 17 Mar 2019 18:21:29 +0000 (UTC) (envelope-from sunpoet@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9F4A8AD4C; Sun, 17 Mar 2019 18:21:28 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C780CDBDF; Sun, 17 Mar 2019 18:21:28 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2HILSgR029896; Sun, 17 Mar 2019 18:21:28 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2HILRH1029892; Sun, 17 Mar 2019 18:21:27 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201903171821.x2HILRH1029892@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 17 Mar 2019 18:21:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496083 - in head/devel: . p5-Module-Loader X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . p5-Module-Loader X-SVN-Commit-Revision: 496083 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E9F4A8AD4C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Mar 2019 18:21:29 -0000 Author: sunpoet Date: Sun Mar 17 18:21:27 2019 New Revision: 496083 URL: https://svnweb.freebsd.org/changeset/ports/496083 Log: Add p5-Module-Loader 0.03 Module::Loader provides methods for finding modules in a given namespace, and then loading them. It is intended for use in situations where you're looking for plugins, and then loading one or more of them. This module was inspired by Mojo::Loader, which I have used in a number of projects. But some people were wary of requiring Mojolicious just to get a module loader, which prompted me to create Module::Loader. WWW: https://metacpan.org/release/Module-Loader Added: head/devel/p5-Module-Loader/ head/devel/p5-Module-Loader/Makefile (contents, props changed) head/devel/p5-Module-Loader/distinfo (contents, props changed) head/devel/p5-Module-Loader/pkg-descr (contents, props changed) head/devel/p5-Module-Loader/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Mar 17 18:13:09 2019 (r496082) +++ head/devel/Makefile Sun Mar 17 18:21:27 2019 (r496083) @@ -2961,6 +2961,7 @@ SUBDIR += p5-Module-Load SUBDIR += p5-Module-Load-Conditional SUBDIR += p5-Module-Loaded + SUBDIR += p5-Module-Loader SUBDIR += p5-Module-Manifest SUBDIR += p5-Module-Math-Depends SUBDIR += p5-Module-Metadata Added: head/devel/p5-Module-Loader/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Module-Loader/Makefile Sun Mar 17 18:21:27 2019 (r496083) @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Module-Loader +PORTVERSION= 0.03 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Finding and loading modules in a given namespace + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Module-Runtime>=0:devel/p5-Module-Runtime \ + p5-Path-Iterator-Rule>=0:devel/p5-Path-Iterator-Rule + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include Added: head/devel/p5-Module-Loader/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Module-Loader/distinfo Sun Mar 17 18:21:27 2019 (r496083) @@ -0,0 +1,3 @@ +TIMESTAMP = 1552830485 +SHA256 (Module-Loader-0.03.tar.gz) = 5a96fc5dc8494a0a87170a5451c53d62b801a8d9cad7cbbde5a109a8f520f3e0 +SIZE (Module-Loader-0.03.tar.gz) = 12061 Added: head/devel/p5-Module-Loader/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Module-Loader/pkg-descr Sun Mar 17 18:21:27 2019 (r496083) @@ -0,0 +1,9 @@ +Module::Loader provides methods for finding modules in a given namespace, and +then loading them. It is intended for use in situations where you're looking for +plugins, and then loading one or more of them. + +This module was inspired by Mojo::Loader, which I have used in a number of +projects. But some people were wary of requiring Mojolicious just to get a +module loader, which prompted me to create Module::Loader. + +WWW: https://metacpan.org/release/Module-Loader Added: head/devel/p5-Module-Loader/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Module-Loader/pkg-plist Sun Mar 17 18:21:27 2019 (r496083) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Module/Loader.pm +%%PERL5_MAN3%%/Module::Loader.3.gz