[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/40: gnu: Add namespace-autoclean.
From: |
Eric Bavier |
Subject: |
21/40: gnu: Add namespace-autoclean. |
Date: |
Thu, 12 Mar 2015 20:56:03 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit ceb3b13830c472d63c6fecd60771c69af77e33bb
Author: Eric Bavier <address@hidden>
Date: Thu Mar 12 12:04:48 2015 -0500
gnu: Add namespace-autoclean.
* gnu/packages/perl.scm (perl-namespace-autoclean): New variable.
---
gnu/packages/perl.scm | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 81c8a0d..ec5f2ce 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1535,6 +1535,36 @@ higher. This module provides those interfaces for
earlier versions of
Perl (back to 5.6.0).")
(license (package-license perl))))
+(define-public perl-namespace-autoclean
+ (package
+ (name "perl-namespace-autoclean")
+ (version "0.24")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+ "namespace-autoclean-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0msggbg2zbixxjq1fda19h0yygavxndfzc4j4pq11nfghmawjsb0"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-requires" ,perl-test-requires)))
+ (propagated-inputs
+ `(("perl-b-hooks-endofscope" ,perl-b-hooks-endofscope)
+ ("perl-namespace-clean" ,perl-namespace-clean)
+ ("perl-sub-identify" ,perl-sub-identify)))
+ (home-page "http://search.cpan.org/dist/namespace-autoclean")
+ (synopsis "Keep imports out of your namespace")
+ (description "The namespace::autoclean pragma will remove all imported
+symbols at the end of the current package's compile cycle. Functions called
+in the package itself will still be bound by their name, but they won't show
+up as methods on your class or instances. It is very similar to
+namespace::clean, except it will clean all imported functions, no matter if
+you imported them before or after you used the pragma. It will also not touch
+anything that looks like a method.")
+ (license (package-license perl))))
+
(define-public perl-namespace-clean
(package
(name "perl-namespace-clean")
- 08/40: gnu: Add Data-Dump., (continued)
- 08/40: gnu: Add Data-Dump., Eric Bavier, 2015/03/12
- 09/40: gnu: Add base., Eric Bavier, 2015/03/12
- 11/40: gnu: Add HTTP-Request-AsCGI., Eric Bavier, 2015/03/12
- 12/40: gnu: Add common-sense., Eric Bavier, 2015/03/12
- 13/40: gnu: Add Cpanel-JSON-XS., Eric Bavier, 2015/03/12
- 15/40: gnu: Add JSON-MaybeXS., Eric Bavier, 2015/03/12
- 17/40: gnu: Add Test-Trap., Eric Bavier, 2015/03/12
- 19/40: gnu: Add Getopt-Long-Descriptive., Eric Bavier, 2015/03/12
- 18/40: gnu: Add Params-Validate., Eric Bavier, 2015/03/12
- 20/40: gnu: Add aliased., Eric Bavier, 2015/03/12
- 21/40: gnu: Add namespace-autoclean.,
Eric Bavier <=
- 14/40: gnu: Add Test-Without-Module., Eric Bavier, 2015/03/12
- 10/40: gnu: Add Class-Accessor., Eric Bavier, 2015/03/12
- 22/40: gnu: Add MooseX-Role-WithOverloading., Eric Bavier, 2015/03/12
- 23/40: gnu: Add MooseX-Role-Parameterized., Eric Bavier, 2015/03/12
- 16/40: gnu: Add MooseX-Emulate-Class-Accessor-Fast., Eric Bavier, 2015/03/12
- 25/40: gnu: Add Carp-Clan., Eric Bavier, 2015/03/12
- 26/40: gnu: Add MooseX-Types., Eric Bavier, 2015/03/12
- 24/40: gnu: Add MooseX-Getopt., Eric Bavier, 2015/03/12
- 28/40: gnu: Add Path-Class., Eric Bavier, 2015/03/12
- 27/40: gnu: Add MooseX-MethodAttributes., Eric Bavier, 2015/03/12