Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Minimal Conforming spec for MetaEbuilds

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 share
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .perltidyrc
Octocat-spinner-32 Changes
Octocat-spinner-32 README.mkdn
Octocat-spinner-32 dist.ini
Octocat-spinner-32 perlcritic.rc
Octocat-spinner-32 weaver.ini
README.mkdn

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.

Something went wrong with that request. Please try again.