Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-MooseX-Meta-TypeConstraint-Mooish
perl-MooseX-Meta-TypeConstraint-Mooish.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-MooseX-Meta-TypeConstraint-Mooish.spec of Package perl-MooseX-Meta-TypeConstraint-Mooish
# # spec file for package perl-MooseX-Meta-TypeConstraint-Mooish # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-MooseX-Meta-TypeConstraint-Mooish Version: 0.001 Release: 0 %define cpan_name MooseX-Meta-TypeConstraint-Mooish Summary: Translate Moo-style constraints to Moose-style License: LGPL-2.1+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/MooseX-Meta-TypeConstraint-Mooish/ Source0: http://www.cpan.org/authors/id/R/RS/RSRCHBOY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Moose) BuildRequires: perl(Moose::Meta::TypeConstraint) BuildRequires: perl(Moose::Role) BuildRequires: perl(Test::CheckDeps) >= 0.010 BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Moose::More) >= 0.028 BuildRequires: perl(Test::More) >= 0.94 BuildRequires: perl(Try::Tiny) BuildRequires: perl(aliased) BuildRequires: perl(namespace::autoclean) >= 0.24 Requires: perl(Moose) Requires: perl(Moose::Meta::TypeConstraint) Requires: perl(Moose::Role) Requires: perl(Try::Tiny) Requires: perl(namespace::autoclean) >= 0.24 %{perl_requires} %description Moose::Meta::TypeConstraint are expected to return true if the value passes the constraint, and false otherwise; the Moo manpage "constraints", on the other hand, die if validation fails. This metaclass allows for Moo-style constraints; it will wrap them and translate their Moo into a dialect Moose understands. Note that this is largely to enable functionality in the MooseX::AttributeShortcuts manpage; the easiest way use this metaclass is by using that package. Also, as it's not inconceivable that this functionality may be desired in other constraint metaclasses, the bulk of this metaclass' functionality is implemented as MooseX::TraitFor::Meta::TypeConstraint::Mooish. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes LICENSE README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor