Port details on branch 2022Q3 |
- p5-Data-Domain Data description and validation
- 1.16 devel =0 1.13Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2011-09-09 21:45:07
- Last Update: 2024-03-23 14:30:54
- Commit Hash: 07bc6c6
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Data-Domain
- Description:
- A data domain is a description of a set of values, either scalar or structured
(arrays or hashes). The description can include many constraints, like minimal
or maximal values, regular expressions, required fields, forbidden fields, and
also contextual dependencies. From that description, one can then invoke the
domain's inspect method to check if a given value belongs to it or not. In case
of mismatch, a structured set of error messages is returned.
The motivation for writing this package was to be able to express in a compact
way some possibly complex constraints about structured data. Typically the data
is a Perl tree (nested hashrefs or arrayrefs) that may come from XML, JSON, from
a database through DBIx::DataModel, or from postprocessing an HTML form through
CGI::Expand. Data::Domain is a kind of tree parser on that structure, with some
facilities for dealing with dependencies within the structure, and with several
options to finely tune the error messages returned to the user.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Data-Domain>0:devel/p5-Data-Domain
- To install the port:
- cd /usr/ports/devel/p5-Data-Domain/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Data-Domain
- pkg install p5-Data-Domain
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Data-Domain
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1710712364
SHA256 (Data-Domain-1.16.tar.gz) = 1cbe277ffea65848577f9b51aa8950def4ace238d4830ea853f25e0205571b1a
SIZE (Data-Domain-1.16.tar.gz) = 45314
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-Date-Calc>=0 : devel/p5-Date-Calc
- p5-List-MoreUtils>=0 : lang/p5-List-MoreUtils
- p5-Scalar-Does>=0.007 : devel/p5-Scalar-Does
- p5-Sub-Exporter>=0 : devel/p5-Sub-Exporter
- p5-Try-Tiny>=0 : lang/p5-Try-Tiny
- p5-experimental>=0 : devel/p5-experimental
- p5-match-simple>=0 : devel/p5-match-simple
- p5-match-simple-XS>=0 : devel/p5-match-simple-XS
- perl5>=5.36<5.37 : lang/perl5.36
- p5-match-simple-XS>=0 : devel/p5-match-simple-XS
- p5-Module-Build>=0.4206 : devel/p5-Module-Build
- perl5>=5.36<5.37 : lang/perl5.36
- Test dependencies:
-
- p5-Clone>=0 : devel/p5-Clone
- p5-Test-Pod>=1.14 : devel/p5-Test-Pod
- p5-Test-Pod-Coverage>=1.04 : devel/p5-Test-Pod-Coverage
- p5-Test-Warnings>=0 : devel/p5-Test-Warnings
- Runtime dependencies:
-
- p5-Date-Calc>=0 : devel/p5-Date-Calc
- p5-List-MoreUtils>=0 : lang/p5-List-MoreUtils
- p5-Scalar-Does>=0.007 : devel/p5-Scalar-Does
- p5-Sub-Exporter>=0 : devel/p5-Sub-Exporter
- p5-Try-Tiny>=0 : lang/p5-Try-Tiny
- p5-experimental>=0 : devel/p5-experimental
- p5-match-simple>=0 : devel/p5-match-simple
- p5-match-simple-XS>=0 : devel/p5-match-simple-XS
- perl5>=5.36<5.37 : lang/perl5.36
- This port is required by:
- for Build
-
- devel/p5-Params-Validate-Dependencies
- for Run
-
- devel/p5-Params-Validate-Dependencies
Configuration Options:
- ===> The following configuration options are available for p5-Data-Domain-1.16:
RECOMMENDED=on: Recommended dependencies by upstream
===> Use 'make config' to modify these settings
- Options name:
- devel_p5-Data-Domain
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|