devel/p5-Data-Sah-Resolve 0.011 FreeBSD
Resolve Sah schema
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 15.1 KiB, 52.3 KiB installed
Description
Data::Sah::Resolve provides resolve_schema. Sah schemas can be defined in terms of other schemas as base. The resolving process follows the (outermost) base schema until it finds a builtin type as the (innermost) base. It then returns a hash result (a DefHash with v=2) containing the type as well other information like the collected clause sets and others.
This routine performs the following steps:
- Normalize the schema Unless schema_is_normalized option is true, in which case schema is assumed to be normalized already.
- Check if the schema's type is a builtin type Currently this is done by checking if the module of the name Data::Sah::Type::<type> is loadable. If it is a builtin type then we are done.
- Check if the schema's type is the name of another schema This is done by checking if Sah::Schema::<name> module exists and is loadable. If this is the case then we retrieve the base schema from the $schema variable in the Sah::Schema::<name> package and repeat the process while accumulating and/or merging the clause sets.
- If schema's type is neither, we die.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Data-Sah-Resolve | 0.011 |
| DragonFly | devel/p5-Data-Sah-Resolve | 0.011 |
| HardenedBSD | devel/p5-Data-Sah-Resolve | 0.011 |
| GhostBSD | devel/p5-Data-Sah-Resolve | 0.011 |
Install
Binary package:
pkg install p5-Data-Sah-Resolve
From the ports tree:
cd /usr/ports/devel/p5-Data-Sah-Resolve/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Data-Sah-Resolve>0:devel/p5-Data-Sah-Resolve
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.011 | 0.011 | - | 0.011 | 0.011 |
| FreeBSD:14:quarterly | 0.011 | 0.011 | n/a | 0.011 | 0.011 |
| FreeBSD:15:latest | 0.011 | 0.011 | n/a | 0.011 | 0.011 |
| FreeBSD:15:quarterly | 0.011 | 0.011 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.011 | 0.011 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Data-ModeMerge>=0: devel/p5-Data-ModeMergep5-Data-Sah-Normalize>=0.051: devel/p5-Data-Sah-Normalize
Runtime 2
p5-Data-ModeMerge>=0: devel/p5-Data-ModeMergep5-Data-Sah-Normalize>=0.051: devel/p5-Data-Sah-Normalize
Test 4
p5-Data-Dmp>=0.241: devel/p5-Data-Dmpp5-Test-Deep>=0: devel/p5-Test-Deepp5-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 6
Run dependencies 6
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Data/Sah/Resolve.pm
- %%PERL5_MAN3%%/Data::Sah::Resolve.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Data-Sah-Resolve-0.011.tar.gz | 20307 | 37e94da1b2178dc85fa7248e0267282cfdbc77c53db308beb4cba90ecc3d5384 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.