notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
p5-Data-Sah-Coerce Coercion rules for Data::Sah
0.054 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 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 search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (101 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-Data-Sah-Coerce-0.054/catalog.mk
  2. /usr/local/share/licenses/p5-Data-Sah-Coerce-0.054/LICENSE
  3. /usr/local/share/licenses/p5-Data-Sah-Coerce-0.054/ART10
  4. /usr/local/share/licenses/p5-Data-Sah-Coerce-0.054/GPLv1+
  5. lib/perl5/site_perl/Data/Sah/Coerce.pm
  6. lib/perl5/site_perl/Data/Sah/Coerce/js/To_bool/From_float/zero_one.pm
  7. lib/perl5/site_perl/Data/Sah/Coerce/js/To_bool/From_str/common_words.pm
  8. lib/perl5/site_perl/Data/Sah/Coerce/js/To_date/From_float/epoch.pm
  9. lib/perl5/site_perl/Data/Sah/Coerce/js/To_date/From_obj/date.pm
  10. lib/perl5/site_perl/Data/Sah/Coerce/js/To_date/From_str/date_parse.pm
  11. lib/perl5/site_perl/Data/Sah/Coerce/js/To_datenotime/From_float/epoch.pm
  12. lib/perl5/site_perl/Data/Sah/Coerce/js/To_datenotime/From_obj/date.pm
  13. lib/perl5/site_perl/Data/Sah/Coerce/js/To_datenotime/From_str/date_parse.pm
  14. lib/perl5/site_perl/Data/Sah/Coerce/js/To_datetime/From_float/epoch.pm
  15. lib/perl5/site_perl/Data/Sah/Coerce/js/To_datetime/From_obj/date.pm
  16. lib/perl5/site_perl/Data/Sah/Coerce/js/To_datetime/From_str/date_parse.pm
  17. lib/perl5/site_perl/Data/Sah/Coerce/js/To_duration/From_float/seconds.pm
  18. lib/perl5/site_perl/Data/Sah/Coerce/js/To_duration/From_str/iso8601.pm
  19. lib/perl5/site_perl/Data/Sah/Coerce/js/To_timeofday/From_str/hms.pm
  20. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_bool/From_str/common_words.pm
  21. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_date/From_float/epoch.pm
  22. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_date/From_float/epoch_always.pm
  23. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_date/From_float/epoch_always_jakarta.pm
  24. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_date/From_float/epoch_always_local.pm
  25. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_date/From_float/epoch_jakarta.pm
  26. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_date/From_float/epoch_local.pm
  27. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_date/From_obj/datetime.pm
  28. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_date/From_obj/time_moment.pm
  29. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_date/From_str/iso8601.pm
  30. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_datenotime/From_float/epoch.pm
  31. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_datenotime/From_float/epoch_always.pm
  32. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_datenotime/From_obj/datetime.pm
  33. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_datenotime/From_obj/time_moment.pm
  34. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_datenotime/From_str/iso8601.pm
  35. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_datetime/From_float/epoch.pm
  36. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_datetime/From_float/epoch_always.pm
  37. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_datetime/From_obj/datetime.pm
  38. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_datetime/From_obj/time_moment.pm
  39. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_datetime/From_str/iso8601.pm
  40. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_duration/From_float/seconds.pm
  41. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_duration/From_obj/datetime_duration.pm
  42. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_duration/From_str/hms.pm
  43. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_duration/From_str/human.pm
  44. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_duration/From_str/iso8601.pm
  45. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_float/From_str/percent.pm
  46. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_int/From_str/percent.pm
  47. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_num/From_str/percent.pm
  48. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_timeofday/From_obj/date_timeofday.pm
  49. lib/perl5/site_perl/Data/Sah/Coerce/perl/To_timeofday/From_str/hms.pm
  50. lib/perl5/site_perl/Data/Sah/CoerceCommon.pm
  51. lib/perl5/site_perl/Data/Sah/CoerceJS.pm
  52. lib/perl5/site_perl/man/man3/Data::Sah::Coerce.3.gz
  53. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_bool::From_float::zero_one.3.gz
  54. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_bool::From_str::common_words.3.gz
  55. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_date::From_float::epoch.3.gz
  56. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_date::From_obj::date.3.gz
  57. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_date::From_str::date_parse.3.gz
  58. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_datenotime::From_float::epoch.3.gz
  59. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_datenotime::From_obj::date.3.gz
  60. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_datenotime::From_str::date_parse.3.gz
  61. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_datetime::From_float::epoch.3.gz
  62. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_datetime::From_obj::date.3.gz
  63. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_datetime::From_str::date_parse.3.gz
  64. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_duration::From_float::seconds.3.gz
  65. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_duration::From_str::iso8601.3.gz
  66. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::js::To_timeofday::From_str::hms.3.gz
  67. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_bool::From_str::common_words.3.gz
  68. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_date::From_float::epoch.3.gz
  69. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_date::From_float::epoch_always.3.gz
  70. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_date::From_float::epoch_always_jakarta.3.gz
  71. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_date::From_float::epoch_always_local.3.gz
  72. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_date::From_float::epoch_jakarta.3.gz
  73. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_date::From_float::epoch_local.3.gz
  74. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_date::From_obj::datetime.3.gz
  75. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_date::From_obj::time_moment.3.gz
  76. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_date::From_str::iso8601.3.gz
  77. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_datenotime::From_float::epoch.3.gz
  78. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_datenotime::From_float::epoch_always.3.gz
  79. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_datenotime::From_obj::datetime.3.gz
  80. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_datenotime::From_obj::time_moment.3.gz
  81. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_datenotime::From_str::iso8601.3.gz
  82. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_datetime::From_float::epoch.3.gz
  83. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_datetime::From_float::epoch_always.3.gz
  84. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_datetime::From_obj::datetime.3.gz
  85. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_datetime::From_obj::time_moment.3.gz
  86. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_datetime::From_str::iso8601.3.gz
  87. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_duration::From_float::seconds.3.gz
  88. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_duration::From_obj::datetime_duration.3.gz
  89. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_duration::From_str::hms.3.gz
  90. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_duration::From_str::human.3.gz
  91. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_duration::From_str::iso8601.3.gz
  92. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_float::From_str::percent.3.gz
  93. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_int::From_str::percent.3.gz
  94. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_num::From_str::percent.3.gz
  95. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_timeofday::From_obj::date_timeofday.3.gz
  96. lib/perl5/site_perl/man/man3/Data::Sah::Coerce::perl::To_timeofday::From_str::hms.3.gz
  97. lib/perl5/site_perl/man/man3/Data::Sah::CoerceCommon.3.gz
  98. lib/perl5/site_perl/man/man3/Data::Sah::CoerceJS.3.gz
  99. @owner
  100. @group
  101. @mode
Collapse this list.
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):
p5-Data-Sah-Coerce
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.0540.054-0.0540.054---
FreeBSD:13:quarterly0.0540.054-0.0540.054---
FreeBSD:14:latest0.0540.054-0.0540.054---
FreeBSD:14:quarterly0.0540.054-0.0540.054---
FreeBSD:15:latest0.0540.054n/a0.054n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p5-IPC-System-Options>=0.339 : devel/p5-IPC-System-Options
  2. p5-JSON>=0 : converters/p5-JSON
  3. p5-JavaScript-QuickJS>=0 : lang/p5-JavaScript-QuickJS
  4. p5-Log-ger>=0.038 : devel/p5-Log-ger
  5. p5-Time-Duration-Parse-AsHash>=0 : devel/p5-Time-Duration-Parse-AsHash
  6. p5-subroutines>=0 : devel/p5-subroutines
  7. perl5>=5.36<5.37 : lang/perl5.36
  8. perl5>=5.36<5.37 : lang/perl5.36
Test dependencies:
  1. p5-Test-Exception>=0 : devel/p5-Test-Exception
  2. p5-Test-Needs>=0 : devel/p5-Test-Needs
Runtime dependencies:
  1. p5-IPC-System-Options>=0.339 : devel/p5-IPC-System-Options
  2. p5-JSON>=0 : converters/p5-JSON
  3. p5-JavaScript-QuickJS>=0 : lang/p5-JavaScript-QuickJS
  4. p5-Log-ger>=0.038 : devel/p5-Log-ger
  5. p5-Time-Duration-Parse-AsHash>=0 : devel/p5-Time-Duration-Parse-AsHash
  6. p5-subroutines>=0 : devel/p5-subroutines
  7. 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:
Expand this list (12 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Data/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Data/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Data/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Data/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Data/
  7. http://backpan.perl.org/modules/by-module/Data/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Data/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Data/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/Data/
  12. https://www.cpan.org/modules/by-module/Data/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.054
05 Sep 2024 06:11:15
commit hash: fb04d2cabb14ffac3ac4bf01567f01f84d58122bcommit hash: fb04d2cabb14ffac3ac4bf01567f01f84d58122bcommit hash: fb04d2cabb14ffac3ac4bf01567f01f84d58122bcommit hash: fb04d2cabb14ffac3ac4bf01567f01f84d58122b files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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