mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
3b2f5942d0
commit
95438d9f2b
1 changed files with 42 additions and 32 deletions
|
@ -859,7 +859,7 @@ version to the original file.")
|
||||||
(define-public repo2docker
|
(define-public repo2docker
|
||||||
(package
|
(package
|
||||||
(name "repo2docker")
|
(name "repo2docker")
|
||||||
(version "2021.08.0")
|
(version "2024.03.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -868,27 +868,27 @@ version to the original file.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"111irpghzys0s5ixs8paskz7465cls1sm9d5bg45a15jklcw84a9"))))
|
"1bcnl91j6p3315lk2mmn02jq6mjsn68m9rcw5rkln4c9fx1160rx"))))
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'patch-shebangs 'fix-install-miniforge
|
(add-after 'patch-shebangs 'fix-install-miniforge
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let* ((out (assoc-ref outputs "out")))
|
|
||||||
(substitute* (find-files
|
(substitute* (find-files
|
||||||
out "^(install-miniforge|install-nix|\
|
#$output "^(install-miniforge|install-nix|\
|
||||||
nix-shell-wrapper|repo2docker-entrypoint)")
|
nix-shell-wrapper|repo2docker-entrypoint)")
|
||||||
(("^#!(.*)/bin/bash")
|
(("^#!(.*)/bin/bash")
|
||||||
"#!/bin/bash"))
|
"#!/bin/bash"))
|
||||||
(substitute* (find-files out "^freeze\\.py$")
|
(substitute* (find-files #$output "^freeze\\.py$")
|
||||||
(("^#!(.*)/bin/python3")
|
(("^#!(.*)/bin/python3")
|
||||||
"#!/bin/python3\n")))))
|
"#!/bin/python3\n"))))
|
||||||
(add-after 'install 'make-doc
|
(add-after 'install 'make-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let* ((out (assoc-ref outputs "doc"))
|
(let ((doc (string-append #$output:out "/share/doc/"
|
||||||
(doc (string-append out "/share/doc/"
|
#$(package-name this-package))))
|
||||||
,(package-name this-package))))
|
|
||||||
(setenv "PYTHONPATH"
|
(setenv "PYTHONPATH"
|
||||||
(string-append (getcwd) ":"
|
(string-append (getcwd) ":"
|
||||||
(getenv "GUIX_PYTHONPATH")))
|
(getenv "GUIX_PYTHONPATH")))
|
||||||
|
@ -913,8 +913,18 @@ nix-shell-wrapper|repo2docker-entrypoint)")
|
||||||
python-docker
|
python-docker
|
||||||
python-chardet))
|
python-chardet))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-sphinx python-entrypoints python-recommonmark
|
(list python-entrypoints
|
||||||
python-sphinxcontrib-autoprogram python-pydata-sphinx-theme))
|
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#")
|
(home-page "https://repo2docker.readthedocs.io/en/latest/index.html#")
|
||||||
(synopsis "Generate docker images from repositories")
|
(synopsis "Generate docker images from repositories")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue