dev-perl/MooseX-Types-JSON: Fix missing JSON RDEP re bug #625534
authorKent Fredric <kentnl@gentoo.org>
Tue, 31 Oct 2017 08:35:21 +0000 (21:35 +1300)
committerKent Fredric <kentnl@gentoo.org>
Tue, 31 Oct 2017 08:35:21 +0000 (21:35 +1300)
- r1 bump for rdep propagation
- add USE=examples
- cleanup other annoying tests

Closes: https://bugs.gentoo.org/625534
Package-Manager: Portage-2.3.8, Repoman-2.3.3

dev-perl/MooseX-Types-JSON/MooseX-Types-JSON-1.0.0-r1.ebuild [moved from dev-perl/MooseX-Types-JSON/MooseX-Types-JSON-1.0.0.ebuild with 65% similarity]

similarity index 65%
rename from dev-perl/MooseX-Types-JSON/MooseX-Types-JSON-1.0.0.ebuild
rename to dev-perl/MooseX-Types-JSON/MooseX-Types-JSON-1.0.0-r1.ebuild
index 6c9c97efd979771378c3d316f5696d44c94575f2..14f2a8df7c5d7f326dca137337f3e6753e331cc7 100644 (file)
@@ -1,10 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 DIST_AUTHOR=MILA
 DIST_VERSION=1.00
+DIST_EXAMPLES=("examples/*")
 inherit perl-module
 
 DESCRIPTION="JSON datatype for Moose"
@@ -14,8 +15,14 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 RDEPEND="
+       dev-perl/JSON
        >=dev-perl/JSON-XS-2.00
        dev-perl/Moose
        dev-perl/MooseX-Types
 "
 DEPEND="${RDEPEND}"
+
+src_test() {
+       perl_rm_files t/00-pod.t t/release-*.t
+       perl-module_src_test
+}