Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 487924

Summary: dev-perl/Class-Tiny - Minimalist class construction
Product: Gentoo Linux Reporter: Ivan Baidakou (dmol) <the.dmol>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: enhancement CC: perl, the.dmol
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/basiliscos/nanga/blob/master/dev-perl/Class-Tiny/Class-Tiny-0.0110.ebuild
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 489578    

Description Ivan Baidakou (dmol) 2013-10-13 20:16:52 UTC
Class::Tiny - Minimalist class construction

Actually, I just have created one : https://github.com/basiliscos/nanga/blob/master/dev-perl/Class-Tiny/Class-Tiny-0.0110.ebuild . But I don't know, weather it is correct.

Reproducible: Always
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2013-10-14 05:45:43 UTC
1. Should enter tree as  0.11.0 as per  dev-perl/Gentoo-PerlMod-Version + gentoo-perlmod-version.pl 0.011

2. The perl-distribution/module name should NOT be in DESCRIPTION="", DESCRIPTION should be simply "Minimalist class construction"

3. There are a great many Test dependencies declared upstream ( https://metacpan.org/source/DAGOLDEN/Class-Tiny-0.011/Makefile.PL#L26 ), though it appears most of them are provided by perl, one should at least declare 

IUSE="test"
DEPEND="
 test? ( >=virtual/perl-Test-Simple-0.96 )

So it pulls the right dependencies on perl >= 5.12 ( Test::More is only 0.94 here )

4. SRC_TEST="do parallel" should work for package


I note upstream has perl-version conditional dependencies: 

https://metacpan.org/source/DAGOLDEN/Class-Tiny-0.011/Makefile.PL#L76 

Not sure what to do here.

We still have <5.14 in tree and stable.
Comment 2 Ivan Baidakou (dmol) 2013-10-21 22:23:23 UTC
(In reply to Kent Fredric from comment #1)

Thank a lot for quick response. Here is the final version, with your comments:

https://github.com/basiliscos/nanga/blob/master/dev-perl/Class-Tiny/Class-Tiny-0.11.0.ebuild

I'm going to provide other ebuilds, and finally the ebuild for my app :)
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2014-11-30 22:25:35 UTC
Is anyone still interested in this? If yes, please say so here and now!
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-12-05 21:58:12 UTC
Of all the "do you still want this" lists in the last week, this is the only one I've seen where I've felt it would be useful to have in tree.

This is as useful as Moose and Moo, and I suspect if we don't add it sooner, it may be a dependency later either way. 

https://metacpan.org/requires/distribution/Class-Tiny?sort=[[2,1]]&size=500

Granted, a _lot_ of those reverse dependencies are in fact mine, so I'm rather preferentially biased =)
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2014-12-11 23:29:14 UTC
Added.