Kent Fredric

NAME

Gentoo::MetaEbuild::Spec::MiniSpec - Minimal Conforming spec for MetaEbuilds.

VERSION

version 0.1.1

SYNOPSIS

    use Gentoo::MetaEbuild::Spec::MiniSpec;
    if( Gentoo::MetaEbuild::Spec::MiniSpec->check( json_decode( scalar slurp( $file ) ) ) ){
        print "$file is metaspec compliant\n";
    }

DESCRIPTION

Most the work for this module is performed by the parent class ::Spec::Base.

Everything outside that is governed by the .json files shipped in this distributions "Share" directory.

SCHEMA

    $root = {
        SCHEME => $scheme_spec                   # required
        ...                                      # anything.
    }

    $scheme_spec = {
        min_version => "Minimum Version String", # required
        standard    => "Schema Standard",        # required
        generator   => $generator_spec           # optional
    }

    $generator_spec = {
        type       => "Type String",             # required
        author     => $generator_auth_spec       # optional
        module     => $generator_modu_spec       # optional
    }

    $generator_auth_spec = {
        name      => "Authors name"              # required
        email     => "Authors contact Email"     # required
    }

    $generator_modu_spec = {
        name      => "Module::Name",             # required
        version   => "Module Version String",    # required
    }

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.




Hosting generously
sponsored by Bytemark