[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/72: gnu: Add namespace-clean.
From: |
Eric Bavier |
Subject: |
22/72: gnu: Add namespace-clean. |
Date: |
Fri, 06 Mar 2015 14:12:56 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 9727c33f3bf431472ce61fe4667c93e230d2ca29
Author: Eric Bavier <address@hidden>
Date: Thu Mar 5 15:52:40 2015 -0600
gnu: Add namespace-clean.
* gnu/packages/perl.scm (perl-namespace-clean): New variable.
---
gnu/packages/perl.scm | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index b4a4aa9..62a9089 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -461,6 +461,30 @@ implementations.")
handling of Perl modules, which are normally handled at compile time.")
(license (package-license perl))))
+(define-public perl-namespace-clean
+ (package
+ (name "perl-namespace-clean")
+ (version "0.25")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
+ "namespace-clean-" version ".tar.gz"))
+ (sha256
+ (base32
+ "016dds70ql1mp18b07chkxiy4drn976ibnbshqc2hmhrh9xjnsll"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-package-stash" ,perl-package-stash)
+ ("perl-b-hooks-endofscope" ,perl-b-hooks-endofscope)))
+ (home-page "http://search.cpan.org/dist/namespace-clean")
+ (synopsis "Keep imports and functions out of your namespace")
+ (description "The namespace::clean pragma will remove all previously
+declared or 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.")
+ (license (package-license perl))))
+
(define-public perl-package-anon
(package
(name "perl-package-anon")
- 64/72: gnu: Add Exporter-Tiny., (continued)
- 64/72: gnu: Add Exporter-Tiny., Eric Bavier, 2015/03/06
- 62/72: gnu: Add Data-Tumbler., Eric Bavier, 2015/03/06
- 68/72: gnu: Add Scalar-List-Utils., Eric Bavier, 2015/03/06
- 67/72: gnu: Add Package-DeprecationManager., Eric Bavier, 2015/03/06
- 70/72: gnu: Add Sub-Name., Eric Bavier, 2015/03/06
- 59/72: gnu: Add parent., Eric Bavier, 2015/03/06
- 60/72: gnu: Add File-Temp., Eric Bavier, 2015/03/06
- 71/72: gnu: Add Task-Weaken., Eric Bavier, 2015/03/06
- 65/72: gnu: Add List-MoreUtils., Eric Bavier, 2015/03/06
- 72/72: gnu: Add Moose., Eric Bavier, 2015/03/06
- 22/72: gnu: Add namespace-clean.,
Eric Bavier <=
- 30/72: gnu: Add ExtUtils-InstallPaths., Eric Bavier, 2015/03/06
- 03/72: gnu: perl-test-simple: Update to 1.001014., Eric Bavier, 2015/03/06
- 37/72: gnu: Add MRO-Compat., Eric Bavier, 2015/03/06
- 10/72: gnu: Add Test-Fatal., Eric Bavier, 2015/03/06
- 40/72: gnu: Add Test-Warn., Eric Bavier, 2015/03/06
- 25/72: gnu: Add Number-Compare., Eric Bavier, 2015/03/06
- 02/72: gnu: perl-data-optlist: Move input to propagated-inputs., Eric Bavier, 2015/03/06
- 05/72: gnu: Add CPAN-Meta-YAML., Eric Bavier, 2015/03/06
- 14/72: gnu: Add Test-Warnings., Eric Bavier, 2015/03/06
- 43/72: gnu: Add Devel-StackTrace., Eric Bavier, 2015/03/06