[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
166/242: gnu: python-sparqlkernel: Use gexps and fix inputs.
From: |
guix-commits |
Subject: |
166/242: gnu: python-sparqlkernel: Use gexps and fix inputs. |
Date: |
Thu, 12 May 2022 14:14:25 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 7fc8e9ea90f0254d675ec93c08abe8d172033894
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 18 21:31:37 2022 -0400
gnu: python-sparqlkernel: Use gexps and fix inputs.
[arguments]: Use gexps.
[tests?]: Add comment.
[phases]: Delete trailing #t.
{no-custom-css}: Use a regular lambda.
{install-kernelspec}: Move after the add-installed-pythonpath phase. Remove
now extraneous add-installed-pythonpath call. Adjust for gexps.
[native-inputs]: Delete field.
[propagated-inputs]: Add python-ipykernel, python-notebook, python-rdflib
and
pythopython-traitlets.
[description]: Avoid '&' in description.
---
gnu/packages/jupyter.scm | 43 +++++++++++++++++++++----------------------
1 file changed, 21 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 109241771a..dbb96b890b 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -620,33 +620,32 @@ Docker registry.")
"004v22nyi5cnpxq4fiws89p7i5wcnzv45n3n70axdd6prh6rkapx"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'no-custom-css
- (lambda* (#:key inputs #:allow-other-keys)
+ (list
+ #:tests? #f ;no test suite
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'no-custom-css
+ (lambda _
(substitute* "sparqlkernel/install.py"
- (("install_custom_css\\( destd, PKGNAME \\)") ""))
- #t))
- (add-after 'install 'install-kernelspec
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (setenv "HOME" "/tmp")
- (add-installed-pythonpath inputs outputs)
- (invoke
- (string-append out "/bin/jupyter-sparqlkernel")
- "install"
- (string-append "--InstallKernelSpec.prefix=" out))
- #t))))))
- (native-inputs
- (list python-traitlets python-jupyter-client python-notebook
- python-ipykernel python-html5lib-0.9))
+ (("install_custom_css\\( destd, PKGNAME \\)") ""))))
+ (add-after 'add-install-to-pythonpath 'install-kernelspec
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (invoke
+ (string-append #$output "/bin/jupyter-sparqlkernel")
+ "install"
+ (string-append "--InstallKernelSpec.prefix=" #$output)))))))
(propagated-inputs
- (list python-sparqlwrapper python-pygments))
+ (list python-ipykernel
+ python-notebook
+ python-pygments
+ python-rdflib
+ python-sparqlwrapper
+ python-traitlets))
(home-page "https://github.com/paulovn/sparql-kernel")
(synopsis "Jupyter kernel for SPARQL")
(description "This module installs a Jupyter kernel for SPARQL. It allows
-sending queries to an SPARQL endpoint and fetching & presenting the results in
+sending queries to an SPARQL endpoint, fetching and presenting the results in
a notebook.")
(license license:bsd-3)))
- 132/242: gnu: python-ipython-documentation: Also build info and pdf targets., (continued)
- 132/242: gnu: python-ipython-documentation: Also build info and pdf targets., guix-commits, 2022/05/12
- 124/242: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/05/12
- 147/242: gnu: Add python-pecan., guix-commits, 2022/05/12
- 149/242: gnu: python-fakeredis: Update to 1.7.1., guix-commits, 2022/05/12
- 152/242: gnu: Add python-openapi-core., guix-commits, 2022/05/12
- 153/242: gnu: Add python-jupyterlab-server., guix-commits, 2022/05/12
- 155/242: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/05/12
- 158/242: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/05/12
- 163/242: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/05/12
- 159/242: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/05/12
- 166/242: gnu: python-sparqlkernel: Use gexps and fix inputs.,
guix-commits <=
- 169/242: gnu: xeus: Update to 2.4.1., guix-commits, 2022/05/12
- 173/242: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/05/12
- 184/242: gnu: sshoot: Update to 1.5.1., guix-commits, 2022/05/12
- 182/242: gnu: python-bitstruct: Update to 8.14.0., guix-commits, 2022/05/12
- 181/242: gnu: Add python-argparse-addons., guix-commits, 2022/05/12
- 196/242: gnu: python-miio: Update to 0.5.11., guix-commits, 2022/05/12
- 177/242: gnu: python-can: Update to 4.0.0., guix-commits, 2022/05/12
- 189/242: gnu: Add python-mdx-gh-links., guix-commits, 2022/05/12
- 190/242: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/05/12
- 199/242: gnu: weasyprint: Update to 54.3., guix-commits, 2022/05/12