BSD Ports

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:

  1. Normalize the schema Unless schema_is_normalized option is true, in which case schema is assumed to be normalized already.
  2. 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.
  3. 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.
  4. If schema's type is neither, we die.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Data-Sah-Resolve0.011
DragonFlydevel/p5-Data-Sah-Resolve0.011
HardenedBSDdevel/p5-Data-Sah-Resolve0.011
GhostBSDdevel/p5-Data-Sah-Resolve0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0110.011-0.0110.011
FreeBSD:14:quarterly0.0110.011n/a0.0110.011
FreeBSD:15:latest0.0110.011n/a0.0110.011
FreeBSD:15:quarterly0.0110.011n/an/an/a
FreeBSD:16:latest0.0110.011n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 4

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
FileSizeSHA256
Data-Sah-Resolve-0.011.tar.gz2030737e94da1b2178dc85fa7248e0267282cfdbc77c53db308beb4cba90ecc3d5384
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.