gnu: Add python-apipkg.

* gnu/packages/python.scm (python-apipkg): New variable.
This commit is contained in:
Leo Famulari 2015-12-29 06:04:15 -05:00
parent 7b17cab902
commit 7b3a4ee4c3

View file

@ -6780,3 +6780,25 @@ (define-public python-click-log
applications.") applications.")
(home-page "https://github.com/click-contrib/click-log") (home-page "https://github.com/click-contrib/click-log")
(license license:expat))) (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)))