[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
166/232: gnu: python-sparqlkernel: Use gexps and fix inputs.
From: |
guix-commits |
Subject: |
166/232: gnu: python-sparqlkernel: Use gexps and fix inputs. |
Date: |
Sun, 24 Apr 2022 23:59:06 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 3822518f685ebc7b1710ef9aa91f8f88589b33fc
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 bd78229e44..bab13b7b69 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)))
- 230/232: gnu: Add python-mpl-sphinx-theme., (continued)
- 230/232: gnu: Add python-mpl-sphinx-theme., guix-commits, 2022/04/24
- 76/232: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/24
- 86/232: gnu: Add font-amiri., guix-commits, 2022/04/24
- 113/232: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/04/24
- 118/232: gnu: Add python-nbdime., guix-commits, 2022/04/24
- 134/232: gnu: Add python-strict-rfc3339., guix-commits, 2022/04/24
- 136/232: gnu: Add python-openapi-schema-validator., guix-commits, 2022/04/24
- 146/232: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/04/24
- 141/232: gnu: Add python-httpx-bootstrap., guix-commits, 2022/04/24
- 150/232: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/04/24
- 166/232: gnu: python-sparqlkernel: Use gexps and fix inputs.,
guix-commits <=
- 144/232: gnu: Add python-socksio., guix-commits, 2022/04/24
- 148/232: gnu: Add python-aioredis., guix-commits, 2022/04/24
- 154/232: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/04/24
- 165/232: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/04/24
- 169/232: gnu: xeus: Update to 2.4.1., guix-commits, 2022/04/24
- 175/232: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/04/24
- 183/232: gnu: Add python-toolrack., guix-commits, 2022/04/24
- 184/232: gnu: sshoot: Update to 1.5.1., guix-commits, 2022/04/24
- 186/232: gnu: Add python-mergedeep., guix-commits, 2022/04/24
- 189/232: gnu: Add python-mdx-gh-links., guix-commits, 2022/04/24