[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/72: gnu: Add Test-CleanNamespaces.
From: |
Eric Bavier |
Subject: |
28/72: gnu: Add Test-CleanNamespaces. |
Date: |
Fri, 06 Mar 2015 14:12:59 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 269ef086224e77a4ff9933a1d9ce26a0fcfbed59
Author: Eric Bavier <address@hidden>
Date: Thu Mar 5 16:03:06 2015 -0600
gnu: Add Test-CleanNamespaces.
* gnu/packages/perl.scm (perl-test-cleannamespaces): New variable.
---
gnu/packages/perl.scm | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 962536c..5e4ac07 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -805,6 +805,39 @@ clock speed.")
"Sys-CPU-" version))
(license (package-license perl))))
+(define-public perl-test-cleannamespaces
+ (package
+ (name "perl-test-cleannamespaces")
+ (version "0.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+ "Test-CleanNamespaces-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ynrds515gcq954z34zm03rgcx0dskiaz7qj0k7k5gmrjj1kfycp"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-requires" ,perl-test-requires)
+ ("perl-test-deep" ,perl-test-deep)
+ ("perl-test-warnings" ,perl-test-warnings)
+ ("perl-test-tester" ,perl-test-tester)))
+ (propagated-inputs
+ `(("perl-namespace-clean" ,perl-namespace-clean)
+ ("perl-package-stash" ,perl-package-stash)
+ ("perl-sub-identify" ,perl-sub-identify)
+ ("perl-sub-exporter" ,perl-sub-exporter)
+ ("perl-file-find-rule" ,perl-file-find-rule)
+ ("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
+ (home-page "http://search.cpan.org/dist/Test-CleanNamespaces")
+ (synopsis "Check for uncleaned imports")
+ (description "This module lets you check your module's namespaces for
+imported functions you might have forgotten to remove with
+namespace::autoclean or namespace::clean and are therefore available to be
+called as methods, which usually isn't want you want.")
+ (license (package-license perl))))
+
(define-public perl-test-deep
(package
(name "perl-test-deep")
- 09/72: gnu: Add Try-Tiny., (continued)
- 09/72: gnu: Add Try-Tiny., Eric Bavier, 2015/03/06
- 34/72: gnu: Add Class-Load., Eric Bavier, 2015/03/06
- 13/72: gnu: Add Test-Requires., Eric Bavier, 2015/03/06
- 46/72: gnu: Add Devel-LexAlias., Eric Bavier, 2015/03/06
- 32/72: gnu: Add Test-Harness., Eric Bavier, 2015/03/06
- 17/72: gnu: Add Package-Stash-XS., Eric Bavier, 2015/03/06
- 41/72: gnu: Add Class-Tiny., Eric Bavier, 2015/03/06
- 33/72: gnu: Add Module-Build-Tiny., Eric Bavier, 2015/03/06
- 08/72: gnu: Add CPAN-Meta-Check., Eric Bavier, 2015/03/06
- 31/72: gnu: Add ExtUtils-Helpers., Eric Bavier, 2015/03/06
- 28/72: gnu: Add Test-CleanNamespaces.,
Eric Bavier <=
- 04/72: gnu: Add CPAN-Meta-Requirements., Eric Bavier, 2015/03/06
- 26/72: gnu: Add File-Find-Rule., Eric Bavier, 2015/03/06
- 27/72: gnu: Add File-Find-Rule-Perl., Eric Bavier, 2015/03/06
- 24/72: gnu: Add Text-Glob., Eric Bavier, 2015/03/06
- 39/72: gnu: Add Sub-Uplevel., Eric Bavier, 2015/03/06