Port details |
- p5-Data-Sah-Coerce Coercion rules for Data::Sah
- 0.054 devel
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2024-09-05 06:21:20
- Last Update: 2024-09-05 06:11:15
- Commit Hash: fb04d2c
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/dist/Data-Sah-Coerce
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Data-Sah-Coerce>0:devel/p5-Data-Sah-Coerce
- To install the port:
- cd /usr/ports/devel/p5-Data-Sah-Coerce/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Data-Sah-Coerce
- pkg install p5-Data-Sah-Coerce
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Data-Sah-Coerce
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1724084450
SHA256 (Data-Sah-Coerce-0.054.tar.gz) = 52e6f8702a5eb55b5dbfcf8118341ee31896f96b2fb6a3700b282ef2fc98ee29
SIZE (Data-Sah-Coerce-0.054.tar.gz) = 46475
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-IPC-System-Options>=0.339 : devel/p5-IPC-System-Options
- p5-JSON>=0 : converters/p5-JSON
- p5-JavaScript-QuickJS>=0 : lang/p5-JavaScript-QuickJS
- p5-Log-ger>=0.038 : devel/p5-Log-ger
- p5-Time-Duration-Parse-AsHash>=0 : devel/p5-Time-Duration-Parse-AsHash
- p5-subroutines>=0 : devel/p5-subroutines
- perl5>=5.36<5.37 : lang/perl5.36
- perl5>=5.36<5.37 : lang/perl5.36
- Test dependencies:
-
- p5-Test-Exception>=0 : devel/p5-Test-Exception
- p5-Test-Needs>=0 : devel/p5-Test-Needs
- Runtime dependencies:
-
- p5-IPC-System-Options>=0.339 : devel/p5-IPC-System-Options
- p5-JSON>=0 : converters/p5-JSON
- p5-JavaScript-QuickJS>=0 : lang/p5-JavaScript-QuickJS
- p5-Log-ger>=0.038 : devel/p5-Log-ger
- p5-Time-Duration-Parse-AsHash>=0 : devel/p5-Time-Duration-Parse-AsHash
- p5-subroutines>=0 : devel/p5-subroutines
- perl5>=5.36<5.37 : lang/perl5.36
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Data-Sah-Coerce
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 1
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.054 05 Sep 2024 06:11:15 |
Po-Chuan Hsieh (sunpoet) |
devel/p5-Data-Sah-Coerce: Add p5-Data-Sah-Coerce 0.054
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. |
Number of commits found: 1
|