Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/pr/938'
Browse files Browse the repository at this point in the history
See Kent's commit for a lengthy explanation.

Pull-Request: gentoo#938
Reporter: Kent Fredric <[email protected]>
Acked-by: Patrice Clement <[email protected]>
Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
monsieurp committed Feb 29, 2016
2 parents fb5f320 + 4a4051a commit b48c439
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
34 changes: 34 additions & 0 deletions dev-perl/Any-Moose/Any-Moose-0.260.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

DIST_AUTHOR=ETHER
DIST_VERSION=0.26
inherit perl-module

DESCRIPTION="Use Moose or Mouse modules (DEPRECATED)"

SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
IUSE="test"
PERL_RM_FILES=(
"t/001-basic-mouse.t"
"t/002-other-modules-mouse.t"
"t/003-is_moose_loaded.t"
"t/004-x-modules-mouse.t"
"t/005-aliases-mouse.t"
"t/010-use_mouse_roles.t"
"t/012-use_mouse_util.t"
)
PATCHES=( "${FILESDIR}/nomouse.patch" )
RDEPEND="dev-perl/Moose
virtual/perl-version"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.31
test? (
dev-perl/Moose
dev-perl/MooseX-Types
)
"
13 changes: 13 additions & 0 deletions dev-perl/Any-Moose/files/nomouse.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff -Naur Any-Moose-0.26/t/000-version.t Any-Moose-0.26b/t/000-version.t
--- Any-Moose-0.26/t/000-version.t 2015-01-24 07:52:52.000000000 +0000
+++ Any-Moose-0.26b/t/000-version.t 2016-02-29 10:44:17.801967386 +0000
@@ -3,8 +3,6 @@
use_ok 'Any::Moose';

show_version($_) for qw/
- Mouse
- MouseX::Types
Moose
Class::MOP
MooseX::Types

0 comments on commit b48c439

Please sign in to comment.