From owner-dev-commits-ports-all@freebsd.org Sun May 30 20:02:41 2021 Return-Path: <owner-dev-commits-ports-all@freebsd.org> Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D8B2B63394B; Sun, 30 May 2021 20:02:41 +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 4FtTqP5shTz3mTy; Sun, 30 May 2021 20:02:41 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 B12EA23066; Sun, 30 May 2021 20:02:41 +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 14UK2fiV075420; Sun, 30 May 2021 20:02:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14UK2fXt075419; Sun, 30 May 2021 20:02:41 GMT (envelope-from git) Date: Sun, 30 May 2021 20:02:41 GMT Message-Id: <202105302002.14UK2fXt075419@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> Subject: git: f28cc52c2795 - main - devel/p5-CLI-Osprey: Add p5-CLI-Osprey 0.08 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: f28cc52c27954318ca9d34608850b57c585c4d3b Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository <dev-commits-ports-all.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/dev-commits-ports-all>, <mailto:dev-commits-ports-all-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/dev-commits-ports-all/> List-Post: <mailto:dev-commits-ports-all@freebsd.org> List-Help: <mailto:dev-commits-ports-all-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/dev-commits-ports-all>, <mailto:dev-commits-ports-all-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 30 May 2021 20:02:41 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f28cc52c27954318ca9d34608850b57c585c4d3b commit f28cc52c27954318ca9d34608850b57c585c4d3b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-05-30 19:52:09 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-05-30 19:52:09 +0000 devel/p5-CLI-Osprey: Add p5-CLI-Osprey 0.08 CLI::Osprey is a module to assist in writing commandline applications with M* OO modules (Moose, Moo, Mo). With it, you structure your app as one or more modules, which get instantiated with the commandline arguments as attributes. Arguments are parsed using Getopt::Long::Descriptive, and both long and short help messages as well as complete manual pages are automatically generated. An app can be a single command with options, or have sub-commands (like git). Sub-commands can be defined as modules (with options of their own) or as simple coderefs. WWW: https://metacpan.org/release/CLI-Osprey --- devel/Makefile | 1 + devel/p5-CLI-Osprey/Makefile | 28 ++++++++++++++++++++++++++++ devel/p5-CLI-Osprey/distinfo | 3 +++ devel/p5-CLI-Osprey/pkg-descr | 10 ++++++++++ devel/p5-CLI-Osprey/pkg-plist | 10 ++++++++++ 5 files changed, 52 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 5389ef0d005a..982f8efe81c7 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1788,6 +1788,7 @@ SUBDIR += p5-CHI SUBDIR += p5-CHI-Driver-DBI SUBDIR += p5-CLASS + SUBDIR += p5-CLI-Osprey SUBDIR += p5-CPAN-Changes SUBDIR += p5-CPAN-Checksums SUBDIR += p5-CPAN-DistnameInfo diff --git a/devel/p5-CLI-Osprey/Makefile b/devel/p5-CLI-Osprey/Makefile new file mode 100644 index 000000000000..dfdc6cde7193 --- /dev/null +++ b/devel/p5-CLI-Osprey/Makefile @@ -0,0 +1,28 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= CLI-Osprey +PORTVERSION= 0.08 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= MooX::Options + MooX::Cmd + Sanity + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Getopt-Long-Descriptive>=0.100:devel/p5-Getopt-Long-Descriptive \ + p5-Module-Runtime>=0:devel/p5-Module-Runtime \ + p5-Moo>=0:devel/p5-Moo \ + p5-Path-Tiny>=0:devel/p5-Path-Tiny +TEST_DEPENDS= p5-Capture-Tiny>=0.48:devel/p5-Capture-Tiny + +USES= perl5 +USE_PERL5= modbuildtiny + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-CLI-Osprey/distinfo b/devel/p5-CLI-Osprey/distinfo new file mode 100644 index 000000000000..1dbf8bdbcc35 --- /dev/null +++ b/devel/p5-CLI-Osprey/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1622213910 +SHA256 (CLI-Osprey-0.08.tar.gz) = f7480523dbdf2c2b53789c06a8bd91cf6579bb8cc5678e72ea8a1faaab30d19a +SIZE (CLI-Osprey-0.08.tar.gz) = 21310 diff --git a/devel/p5-CLI-Osprey/pkg-descr b/devel/p5-CLI-Osprey/pkg-descr new file mode 100644 index 000000000000..cbc41f4b787f --- /dev/null +++ b/devel/p5-CLI-Osprey/pkg-descr @@ -0,0 +1,10 @@ +CLI::Osprey is a module to assist in writing commandline applications with M* OO +modules (Moose, Moo, Mo). With it, you structure your app as one or more +modules, which get instantiated with the commandline arguments as attributes. +Arguments are parsed using Getopt::Long::Descriptive, and both long and short +help messages as well as complete manual pages are automatically generated. An +app can be a single command with options, or have sub-commands (like git). +Sub-commands can be defined as modules (with options of their own) or as simple +coderefs. + +WWW: https://metacpan.org/release/CLI-Osprey diff --git a/devel/p5-CLI-Osprey/pkg-plist b/devel/p5-CLI-Osprey/pkg-plist new file mode 100644 index 000000000000..3e586fc51b95 --- /dev/null +++ b/devel/p5-CLI-Osprey/pkg-plist @@ -0,0 +1,10 @@ +%%SITE_PERL%%/CLI/Osprey.pm +%%SITE_PERL%%/CLI/Osprey/Descriptive.pm +%%SITE_PERL%%/CLI/Osprey/Descriptive/Usage.pm +%%SITE_PERL%%/CLI/Osprey/InlineSubcommand.pm +%%SITE_PERL%%/CLI/Osprey/Role.pm +%%PERL5_MAN3%%/CLI::Osprey.3.gz +%%PERL5_MAN3%%/CLI::Osprey::Descriptive.3.gz +%%PERL5_MAN3%%/CLI::Osprey::Descriptive::Usage.3.gz +%%PERL5_MAN3%%/CLI::Osprey::InlineSubcommand.3.gz +%%PERL5_MAN3%%/CLI::Osprey::Role.3.gz