From 7b3a4ee4c38d4932a560fb4621667ef8b745cad1 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Tue, 29 Dec 2015 06:04:15 -0500 Subject: gnu: Add python-apipkg. * gnu/packages/python.scm (python-apipkg): New variable. --- gnu/packages/python.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index dfd554096e..f848395d06 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6780,3 +6780,25 @@ (define-public python-click-log applications.") (home-page "https://github.com/click-contrib/click-log") (license license:expat))) + +(define-public python-apipkg + (package + (name "python-apipkg") + (version "1.4") + (source (origin + (method url-fetch) + (uri (pypi-uri "apipkg" version)) + (sha256 + (base32 + "1iks5701qnp3dlr3q1d9qm68y2plp2m029irhpz92a44psfkjf1f")))) + (build-system python-build-system) + (native-inputs + `(("unzip" ,unzip))) + (propagated-inputs + `(("python-pytest" ,python-pytest))) + (synopsis "Namespace control and lazy-import mechanism") + (description "With apipkg you can control the exported namespace of a Python +package and greatly reduce the number of imports for your users. It is a small +pure Python module that works on virtually all Python versions.") + (home-page "https://bitbucket.org/hpk42/apipkg") + (license license:expat))) -- cgit v1.2.3