[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
117/361: gnu: repo2docker: Update to 2024.03.0.
From: |
guix-commits |
Subject: |
117/361: gnu: repo2docker: Update to 2024.03.0. |
Date: |
Thu, 21 Nov 2024 06:29:01 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 6e38c9e2071d9cf29ed75180a3f64e207a28158f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 8 10:31:30 2024 +0200
gnu: repo2docker: Update to 2024.03.0.
* gnu/packages/jupyter.scm (repo2docker): Update to 2024.03.0.
[build-system]: Use pyproject-build-system.
[arguments]: Use G-expression.
[native-inputs]: Add python-setuptools, python-sphinx-autobuild,
python-sphinx-copybutton, python-sphinxext-opengraph,
python-sphinxext-rediraffe, and python-wheel.
Change-Id: I5761f6d36e57b7fe25bc1dbbdaedfa2ca69c1fa7
---
gnu/packages/jupyter.scm | 74 +++++++++++++++++++++++++++---------------------
1 file changed, 42 insertions(+), 32 deletions(-)
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index a99c408f83..0e9ea14189 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -859,7 +859,7 @@ version to the original file.")
(define-public repo2docker
(package
(name "repo2docker")
- (version "2021.08.0")
+ (version "2024.03.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -868,38 +868,38 @@ version to the original file.")
(file-name (git-file-name name version))
(sha256
(base32
- "111irpghzys0s5ixs8paskz7465cls1sm9d5bg45a15jklcw84a9"))))
+ "1bcnl91j6p3315lk2mmn02jq6mjsn68m9rcw5rkln4c9fx1160rx"))))
(outputs '("out" "doc"))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (add-after 'patch-shebangs 'fix-install-miniforge
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out")))
- (substitute* (find-files
- out "^(install-miniforge|install-nix|\
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'patch-shebangs 'fix-install-miniforge
+ (lambda _
+ (substitute* (find-files
+ #$output "^(install-miniforge|install-nix|\
nix-shell-wrapper|repo2docker-entrypoint)")
- (("^#!(.*)/bin/bash")
- "#!/bin/bash"))
- (substitute* (find-files out "^freeze\\.py$")
- (("^#!(.*)/bin/python3")
- "#!/bin/python3\n")))))
- (add-after 'install 'make-doc
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "doc"))
- (doc (string-append out "/share/doc/"
- ,(package-name
this-package))))
- (setenv "PYTHONPATH"
- (string-append (getcwd) ":"
- (getenv "GUIX_PYTHONPATH")))
- ;; Don't treat warnings as errors.
- (substitute* "docs/Makefile"
- (("(SPHINXOPTS[[:blank:]]+= )-W" _ group)
- group))
- (with-directory-excursion "docs"
- (invoke "make" "html")
- (copy-recursively "build/html"
- (string-append doc "/html")))))))))
+ (("^#!(.*)/bin/bash")
+ "#!/bin/bash"))
+ (substitute* (find-files #$output "^freeze\\.py$")
+ (("^#!(.*)/bin/python3")
+ "#!/bin/python3\n"))))
+ (add-after 'install 'make-doc
+ (lambda _
+ (let ((doc (string-append #$output:out "/share/doc/"
+ #$(package-name this-package))))
+ (setenv "PYTHONPATH"
+ (string-append (getcwd) ":"
+ (getenv "GUIX_PYTHONPATH")))
+ ;; Don't treat warnings as errors.
+ (substitute* "docs/Makefile"
+ (("(SPHINXOPTS[[:blank:]]+= )-W" _ group)
+ group))
+ (with-directory-excursion "docs"
+ (invoke "make" "html")
+ (copy-recursively "build/html"
+ (string-append doc "/html")))))))))
(inputs
(list python-traitlets
python-toml
@@ -913,8 +913,18 @@ nix-shell-wrapper|repo2docker-entrypoint)")
python-docker
python-chardet))
(native-inputs
- (list python-sphinx python-entrypoints python-recommonmark
- python-sphinxcontrib-autoprogram python-pydata-sphinx-theme))
+ (list python-entrypoints
+ python-myst-parser
+ python-pydata-sphinx-theme
+ python-recommonmark
+ python-setuptools
+ python-sphinx
+ python-sphinx-autobuild
+ python-sphinx-copybutton
+ python-sphinxcontrib-autoprogram
+ python-sphinxext-opengraph
+ python-sphinxext-rediraffe
+ python-wheel))
(home-page "https://repo2docker.readthedocs.io/en/latest/index.html#")
(synopsis "Generate docker images from repositories")
(description
- 98/361: gnu: python-jupyter-server: Update to 2.14.0., (continued)
- 98/361: gnu: python-jupyter-server: Update to 2.14.0., guix-commits, 2024/11/21
- 110/361: gnu: python-openapi-core: Update to 0.19.1., guix-commits, 2024/11/21
- 118/361: gnu: Add python-pytoolconfig., guix-commits, 2024/11/21
- 111/361: gnu: python-graphql-core: Enable tests., guix-commits, 2024/11/21
- 131/361: gnu: python-widgetsnbextension: Update to 4.0.10., guix-commits, 2024/11/21
- 121/361: gnu: python-rope: Update to 1.13.0., guix-commits, 2024/11/21
- 124/361: gnu: python-nbclient: Update to 0.10.0., guix-commits, 2024/11/21
- 113/361: gnu: python-jupyterlab-server: Update to 2.27.1., guix-commits, 2024/11/21
- 116/361: gnu: Add python-sphinxext-rediraffe., guix-commits, 2024/11/21
- 127/361: gnu: python-pyls-black: Add missing input., guix-commits, 2024/11/21
- 117/361: gnu: repo2docker: Update to 2024.03.0.,
guix-commits <=
- 142/361: gnu: python-http-ece: Update to 1.2.0., guix-commits, 2024/11/21
- 123/361: gnu: python-lsp-server: Update to 1.11.0., guix-commits, 2024/11/21
- 148/361: gnu: Add xcffibgen., guix-commits, 2024/11/21
- 144/361: gnu: python-aionotify: Update to 0.3.0., guix-commits, 2024/11/21
- 151/361: gnu: qtile: Update to 0.23.0., guix-commits, 2024/11/21
- 139/361: gnu: python-isort: Move to pyproject-build-system., guix-commits, 2024/11/21
- 132/361: gnu: Add python-comm., guix-commits, 2024/11/21
- 136/361: gnu: python-seaborn: Correct dependencies., guix-commits, 2024/11/21
- 135/361: gnu: python-ipywidgets: Update to 8.1.2., guix-commits, 2024/11/21
- 153/361: gnu: python-apiron: Move to pyproject-build-system., guix-commits, 2024/11/21