BSD Ports

devel/p5-Data-Sah-Coerce 0.054 FreeBSD

Coercion rules for Data::Sah

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
108.4 KiB, 299.5 KiB installed

Description

Data::Sah::Coerce contains a standard set of coercion rules for Data::Sah. It is separated from the Data-Sah distribution and can be used independently.

A coercion rule is put in Data::Sah::Coerce::$COMPILER::To_$TARGET_TYPE::From_$SOURCE_TYPE::DESCRIPTION module, for example: Data::Sah::Coerce::perl::To_date::From_float::epoch for converting date from integer (Unix epoch) or Data::Sah::Coerce::perl::To_date::From_str::iso8601 for converting date from ISO8601 strings like "2016-05-15".

Basically, a coercion rule will provide an expression (expr_match) that evaluates to true when data can be coerced, and an expression (expr_coerce) to actually coerce/convert data to the target type. This rule can be combined with other rules to form the final coercion code.

In the other systems

The newest version among them is 0.054, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/p5-Data-Sah-Coerce0.054 newestnone known-[email protected]-
HardenedBSDdevel/p5-Data-Sah-Coerce0.054 newestno data-[email protected]-
GhostBSDdevel/p5-Data-Sah-Coerce0.054 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Data-Sah-Coerce

From the ports tree:

cd /usr/ports/devel/p5-Data-Sah-Coerce/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Data-Sah-Coerce>0:devel/p5-Data-Sah-Coerce

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0540.054--0.054
FreeBSD:14:quarterly0.0540.054n/a0.0540.054
FreeBSD:15:latest0.0540.054n/a--
FreeBSD:15:quarterly0.0540.054n/an/an/a
FreeBSD:16:latest0.0540.054n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 6

Runtime 6

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 16
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 94
  • %%SITE_PERL%%/Data/Sah/Coerce.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_bool/From_float/zero_one.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_bool/From_str/common_words.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_date/From_float/epoch.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_date/From_obj/date.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_date/From_str/date_parse.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_datenotime/From_float/epoch.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_datenotime/From_obj/date.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_datenotime/From_str/date_parse.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_datetime/From_float/epoch.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_datetime/From_obj/date.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_datetime/From_str/date_parse.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_duration/From_float/seconds.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_duration/From_str/iso8601.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/js/To_timeofday/From_str/hms.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_bool/From_str/common_words.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_date/From_float/epoch.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_date/From_float/epoch_always.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_date/From_float/epoch_always_jakarta.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_date/From_float/epoch_always_local.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_date/From_float/epoch_jakarta.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_date/From_float/epoch_local.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_date/From_obj/datetime.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_date/From_obj/time_moment.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_date/From_str/iso8601.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_datenotime/From_float/epoch.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_datenotime/From_float/epoch_always.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_datenotime/From_obj/datetime.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_datenotime/From_obj/time_moment.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_datenotime/From_str/iso8601.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_datetime/From_float/epoch.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_datetime/From_float/epoch_always.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_datetime/From_obj/datetime.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_datetime/From_obj/time_moment.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_datetime/From_str/iso8601.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_duration/From_float/seconds.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_duration/From_obj/datetime_duration.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_duration/From_str/hms.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_duration/From_str/human.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_duration/From_str/iso8601.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_float/From_str/percent.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_int/From_str/percent.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_num/From_str/percent.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_timeofday/From_obj/date_timeofday.pm
  • %%SITE_PERL%%/Data/Sah/Coerce/perl/To_timeofday/From_str/hms.pm
  • %%SITE_PERL%%/Data/Sah/CoerceCommon.pm
  • %%SITE_PERL%%/Data/Sah/CoerceJS.pm
  • %%PERL5_MAN3%%/Data::Sah::Coerce.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_bool::From_float::zero_one.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_bool::From_str::common_words.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_date::From_float::epoch.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_date::From_obj::date.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_date::From_str::date_parse.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_datenotime::From_float::epoch.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_datenotime::From_obj::date.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_datenotime::From_str::date_parse.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_datetime::From_float::epoch.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_datetime::From_obj::date.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_datetime::From_str::date_parse.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_duration::From_float::seconds.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_duration::From_str::iso8601.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::js::To_timeofday::From_str::hms.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_bool::From_str::common_words.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_date::From_float::epoch.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_date::From_float::epoch_always.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_date::From_float::epoch_always_jakarta.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_date::From_float::epoch_always_local.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_date::From_float::epoch_jakarta.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_date::From_float::epoch_local.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_date::From_obj::datetime.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_date::From_obj::time_moment.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_date::From_str::iso8601.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_datenotime::From_float::epoch.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_datenotime::From_float::epoch_always.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_datenotime::From_obj::datetime.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_datenotime::From_obj::time_moment.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_datenotime::From_str::iso8601.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_datetime::From_float::epoch.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_datetime::From_float::epoch_always.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_datetime::From_obj::datetime.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_datetime::From_obj::time_moment.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_datetime::From_str::iso8601.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_duration::From_float::seconds.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_duration::From_obj::datetime_duration.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_duration::From_str::hms.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_duration::From_str::human.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_duration::From_str::iso8601.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_float::From_str::percent.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_int::From_str::percent.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_num::From_str::percent.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_timeofday::From_obj::date_timeofday.3.gz
  • %%PERL5_MAN3%%/Data::Sah::Coerce::perl::To_timeofday::From_str::hms.3.gz
  • %%PERL5_MAN3%%/Data::Sah::CoerceCommon.3.gz
  • %%PERL5_MAN3%%/Data::Sah::CoerceJS.3.gz
distinfo 1
FileSizeSHA256
Data-Sah-Coerce-0.054.tar.gz4647552e6f8702a5eb55b5dbfcf8118341ee31896f96b2fb6a3700b282ef2fc98ee29
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.