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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | devel/p5-Data-Sah-Coerce | 0.054 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Data-Sah-Coerce | 0.054 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Data-Sah-Coerce | 0.054 newest | no 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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.054 | 0.054 | - | - | 0.054 |
| FreeBSD:14:quarterly | 0.054 | 0.054 | n/a | 0.054 | 0.054 |
| FreeBSD:15:latest | 0.054 | 0.054 | n/a | - | - |
| FreeBSD:15:quarterly | 0.054 | 0.054 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.054 | 0.054 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
p5-IPC-System-Options>=0.339: devel/p5-IPC-System-Optionsp5-JSON>=0: converters/p5-JSONp5-JavaScript-QuickJS>=0: lang/p5-JavaScript-QuickJSp5-Log-ger>=0.038: devel/p5-Log-gerp5-Time-Duration-Parse-AsHash>=0: devel/p5-Time-Duration-Parse-AsHashp5-subroutines>=0: devel/p5-subroutines
Runtime 6
p5-IPC-System-Options>=0.339: devel/p5-IPC-System-Optionsp5-JSON>=0: converters/p5-JSONp5-JavaScript-QuickJS>=0: lang/p5-JavaScript-QuickJSp5-Log-ger>=0.038: devel/p5-Log-gerp5-Time-Duration-Parse-AsHash>=0: devel/p5-Time-Duration-Parse-AsHashp5-subroutines>=0: devel/p5-subroutines
Test 2
p5-Test-Exception>=0: devel/p5-Test-Exceptionp5-Test-Needs>=0: devel/p5-Test-Needs
The full lists below include those, and their dependencies in turn.
Build dependencies 16
- converters/p5-JSON
- devel/p5-Capture-Tiny
- devel/p5-Data-Dmp
- devel/p5-IO-Tty
- devel/p5-IPC-Run
- devel/p5-IPC-System-Options
- devel/p5-Log-ger
- devel/p5-Proc-ChildError
- devel/p5-Regexp-Stringify
- devel/p5-Sub-Name
- devel/p5-Time-Duration-Parse-AsHash
- devel/p5-subroutines
- lang/p5-JavaScript-QuickJS
- lang/perl5.42
- lang/quickjs
- textproc/p5-String-ShellQuote
Run dependencies 16
- converters/p5-JSON
- devel/p5-Capture-Tiny
- devel/p5-Data-Dmp
- devel/p5-IO-Tty
- devel/p5-IPC-Run
- devel/p5-IPC-System-Options
- devel/p5-Log-ger
- devel/p5-Proc-ChildError
- devel/p5-Regexp-Stringify
- devel/p5-Sub-Name
- devel/p5-Time-Duration-Parse-AsHash
- devel/p5-subroutines
- lang/p5-JavaScript-QuickJS
- lang/perl5.42
- lang/quickjs
- textproc/p5-String-ShellQuote
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
| File | Size | SHA256 |
|---|---|---|
| Data-Sah-Coerce-0.054.tar.gz | 46475 | 52e6f8702a5eb55b5dbfcf8118341ee31896f96b2fb6a3700b282ef2fc98ee29 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.