From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: Re: [PATCH 10/16] gnu: Add python-nbconvert. Date: Tue, 01 Nov 2016 17:23:01 +0100 Message-ID: <8737jbmaoq.fsf@gnu.org> References: <20161101122046.751-1-ricardo.wurmus@mdc-berlin.de> <20161101122046.751-11-ricardo.wurmus@mdc-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1bom-00034F-JZ for guix-devel@gnu.org; Tue, 01 Nov 2016 12:21:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1boi-0004K6-MF for guix-devel@gnu.org; Tue, 01 Nov 2016 12:21:44 -0400 In-reply-to: <20161101122046.751-11-ricardo.wurmus@mdc-berlin.de> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org Ricardo Wurmus writes: > * gnu/packages/python.scm (python-nbconvert, python2-nbconvert): New > variables. > --- > gnu/packages/python.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 45 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 621c4d0..4463f50 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -6774,6 +6774,51 @@ functions to find and load entry points.") > (define-public python2-entrypoints > (package-with-python2 python-entrypoints)) > > +(define-public python-nbconvert > + (package > + (name "python-nbconvert") > + (version "5.0.0b1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "nbconvert" version)) > + (sha256 > + (base32 > + "0brclbb18l4nmd5qy3dl9wn05rjdh1fz4rmzdlfqacj12rcdvdgp")))) > + (build-system python-build-system) > + ;; The "bdist_egg" target is disabled by default, causing the installation > + ;; to fail. > + (arguments `(#:configure-flags (list "bdist_egg"))) > + (propagated-inputs > + `(("python-bleach" ,python-bleach) > + ("python-entrypoints" ,python-entrypoints) > + ("python-jinja2" ,python-jinja2) > + ("python-jupyter-core" ,python-jupyter-core) > + ("python-mistune" ,python-mistune) > + ("python-nbformat" ,python-nbformat) > + ("python-pygments" ,python-pygments) > + ("python-setuptools" ,python-setuptools) > + ("python-traitlets" ,python-traitlets))) > + (home-page "http://jupyter.org") > + (synopsis "Converting Jupyter Notebooks") > + (description "The @code{nbconvert} tool, @{jupyter nbconvert}, converts > +notebooks to various other formats via Jinja templates. It allows you to > +convert an @code{.ipynb} notebook file into various static formats including: > + > +@enumerate > +@item HTML > +@item LaTeX > +@item PDF > +@item Reveal JS > +@item Markdown (md) > +@item ReStructured Text (rst) > +@item executable script > +@end enumerate\n") > + (license license:bsd-3))) > + > +(define-public python2-nbconvert > + (package-with-python2 python-nbconvert)) > + > (define-public python-chardet > (package > (name "python-chardet") LGTM! Kind regards, Roel Janssen