[NEW] devel/p5-Type-Tiny

2015-09-04 Thread attila
Attached is a new port, devel/p5-Type-Tiny.

$ cat pkg/DESCR
Type::Tiny is a tiny class for creating Moose-like type constraint
objects which are compatible with Moo, Moose and Mouse.

Passes tests for me on i386.

Comments, feedback most welcome.

Pax, -A
--
http://trac.haqistan.net | att...@stalphonsos.com | 0xE6CC1EDB


p5-Type-Tiny.tgz
Description: proposed new port: devel/p5-Type-Tiny


Re: [NEW] devel/p5-Type-Tiny

2015-09-04 Thread Landry Breuil
On Fri, Sep 04, 2015 at 01:09:14PM -0500, attila wrote:
> Attached is a new port, devel/p5-Type-Tiny.
> 
> $ cat pkg/DESCR
> Type::Tiny is a tiny class for creating Moose-like type constraint
> objects which are compatible with Moo, Moose and Mouse.
> 
> Passes tests for me on i386.

lots of tests skipped here because of missing test-depends that we have
in tree (or not)

Devel::Hide
Validation::Class
Type::Tie
Switcheroo
Sub::Quote
Return::Type
MouseX::Types
Moops
Moo
match::simple
Kavorka
Function::Parameters
Role::Tiny
Sub::Exporter::Lexical
Class::InsideOut
Test::Warnings
MooseX::Types::Common
Test::Tester
Test::LeakTrace

But yeah all the other non-skipped tests pass.

Other than this i briefly tested re.pl itself and it seems to work fine
here, although missing a test-depends on Test::Fatal.

# Test::Fatal is not installed (any version required)

Landry



Re: [NEW] devel/p5-Type-Tiny

2015-09-04 Thread attila

Giannis Tsaraias  writes:

> On Fri, Sep 04, 2015 at 01:09:14PM -0500, attila wrote:
>> Attached is a new port, devel/p5-Type-Tiny.
>> 
>> $ cat pkg/DESCR
>> Type::Tiny is a tiny class for creating Moose-like type constraint
>> objects which are compatible with Moo, Moose and Mouse.
>> 
>> Passes tests for me on i386.
>> 
>> Comments, feedback most welcome.
>> 
>
> I'll take a closer look once I get some sleep, but there seems to be
> a RUN_DEP (devel/p5-Exporter-Tiny) and some TEST_DEPS missing.
>

Correct (test dep: devel/p5-Test-Tester).  Attached is an updated
port.  Thanks.

> BTW, you can use pkg_module [0] to automatically port CPAN modules.
> Manual tweaking is required in some cases, but the resulting ports
> are usually good to go.
>
> [0] https://github.com/diethyl/pkg_module

Nice!  I had no idea.  Really cool, would've saved me time today.

Thanks a lot.

Pax, -A
--
http://trac.haqistan.net | att...@stalphonsos.com | 0xE6CC1EDB


p5-Type-Tiny.tgz
Description: update to proposed new port devel/p5-Type-Tiny


Re: [NEW] devel/p5-Type-Tiny

2015-09-04 Thread Giannis Tsaraias
On Fri, Sep 04, 2015 at 01:09:14PM -0500, attila wrote:
> Attached is a new port, devel/p5-Type-Tiny.
> 
> $ cat pkg/DESCR
> Type::Tiny is a tiny class for creating Moose-like type constraint
> objects which are compatible with Moo, Moose and Mouse.
> 
> Passes tests for me on i386.
> 
> Comments, feedback most welcome.
> 

I'll take a closer look once I get some sleep, but there seems to be
a RUN_DEP (devel/p5-Exporter-Tiny) and some TEST_DEPS missing.

BTW, you can use pkg_module [0] to automatically port CPAN modules.
Manual tweaking is required in some cases, but the resulting ports
are usually good to go.

[0] https://github.com/diethyl/pkg_module



Re: [NEW] devel/p5-Type-Tiny

2015-09-04 Thread Nigel
On 09/04/15 21:18, Landry Breuil wrote:
> On Fri, Sep 04, 2015 at 01:09:14PM -0500, attila wrote:
>> Attached is a new port, devel/p5-Type-Tiny.
>>
>> $ cat pkg/DESCR
>> Type::Tiny is a tiny class for creating Moose-like type constraint
>> objects which are compatible with Moo, Moose and Mouse.
>>
>> Passes tests for me on i386.
> 
> lots of tests skipped here because of missing test-depends that we have
> in tree (or not)
> 
> Devel::Hide
> Validation::Class
> Type::Tie
> Switcheroo
> Sub::Quote
> Return::Type
> MouseX::Types
> Moops
> Moo
> match::simple
> Kavorka
> Function::Parameters
> Role::Tiny
> Sub::Exporter::Lexical
> Class::InsideOut
> Test::Warnings
> MooseX::Types::Common
> Test::Tester
> Test::LeakTrace
> 
> But yeah all the other non-skipped tests pass.
> 
> Other than this i briefly tested re.pl itself and it seems to work fine
> here, although missing a test-depends on Test::Fatal.
> 
> # Test::Fatal is not installed (any version required)
> 
> Landry
> 
> 
One in the list above is a conflict

 "runtime" : {
 "conflicts" : {
"Kavorka" : "<= 0.013",
"Types::ReadOnly" : "<= 0.001"
 },

If it was present the PLIST would require a conflict adding.




Re: [NEW] devel/p5-Type-Tiny

2015-09-04 Thread Nigel Taylor
On 09/04/15 19:09, attila wrote:
> Attached is a new port, devel/p5-Type-Tiny.
> 
> $ cat pkg/DESCR
> Type::Tiny is a tiny class for creating Moose-like type constraint
> objects which are compatible with Moo, Moose and Mouse.
> 
> Passes tests for me on i386.
> 
> Comments, feedback most welcome.
> 
> Pax, -A
> --
> http://trac.haqistan.net | att...@stalphonsos.com | 0xE6CC1EDB
> 
configure issued
Warning: prerequisite Exporter::Tiny 0.026 not found.
make test blew up with errors

Your missing the BUILD_DEPENDS / RUN_DEPENDS

add devel/p5-Exporter-Tiny>=0.026 to both

When builds are run, you cannot rely on other package being installed,
remove all packages then try to build / run / test.