1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

devel/p5-Config-AWS: Add p5-Config-AWS 0.10

Config::AWS is a small distribution with generic methods to correctly parse the
contents of config files for the AWS CLI client as described in the AWS
documentation.

Although it is common to see these files parsed as standard INI files, this is
not appropriate since AWS config files have an idiosyncratic format for nested
values (as shown in the link above).

Standard INI parsers (like Config::INI) are not made to parse this sort of
structure (nor should they). So Config::AWS exists to provide a suitable and
lightweight ad-hoc parser that can be used in other applications.

WWW: https://metacpan.org/dist/Config-AWS
This commit is contained in:
Po-Chuan Hsieh 2022-04-18 07:39:03 +08:00
parent b17f2f1d39
commit 9cfefedd40
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 46 additions and 0 deletions

View File

@ -2001,6 +2001,7 @@
SUBDIR += p5-Complete-Sequence
SUBDIR += p5-Complete-Util
SUBDIR += p5-Config-AST
SUBDIR += p5-Config-AWS
SUBDIR += p5-Config-Any
SUBDIR += p5-Config-ApacheFormat
SUBDIR += p5-Config-Auto

View File

@ -0,0 +1,27 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= Config-AWS
PORTVERSION= 0.10
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Parse AWS config files
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Exporter-Tiny>=1:devel/p5-Exporter-Tiny \
p5-Path-Tiny>=0.076:devel/p5-Path-Tiny \
p5-Ref-Util>=0:devel/p5-Ref-Util
TEST_DEPENDS= p5-Test2-Suite>=0:devel/p5-Test2-Suite
USES= perl5
USE_PERL5= modbuildtiny
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1650228640
SHA256 (Config-AWS-0.10.tar.gz) = 27be65b5b0a9fe94d32da60003cd9348199319908c0ba8ab17167170b3864d19
SIZE (Config-AWS-0.10.tar.gz) = 21988

View File

@ -0,0 +1,13 @@
Config::AWS is a small distribution with generic methods to correctly parse the
contents of config files for the AWS CLI client as described in the AWS
documentation.
Although it is common to see these files parsed as standard INI files, this is
not appropriate since AWS config files have an idiosyncratic format for nested
values (as shown in the link above).
Standard INI parsers (like Config::INI) are not made to parse this sort of
structure (nor should they). So Config::AWS exists to provide a suitable and
lightweight ad-hoc parser that can be used in other applications.
WWW: https://metacpan.org/dist/Config-AWS

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/Config/AWS.pm
%%PERL5_MAN3%%/Config::AWS.3.gz