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: releases

This branch is 1 commit ahead and 3 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

VERSION
    version 0.1.0

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) 2011 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.