1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

build-system/pyproject: Remove uneeded use of pyproject-guile-json.

* gnu/packages/bioinformatics.scm (python-bed-reader, python-gseapy)
* gnu/packages/chemistry.scm (gemmi, ringdecomposerlib, rdkit)
* gnu/packages/cinnamon.scm (libxapp)
* gnu/packages/cups.scm (hplip)
* gnu/packages/djvu.scm (ocrodjvu)
* gnu/packages/finance.scm (electron-cash)
* gnu/packages/gnome.scm (terminator)
* gnu/packages/image-processing.scm (insight-toolkit)
* gnu/packages/machine-learning.scm (onnxruntime, tensorflow-lite,
koboldcpp, python-tokenizers)
* gnu/packages/maths.scm (gmsh, z3, fp16)
* gnu/packages/music.scm (quodlibet)
* gnu/packages/photo.scm (lensfun)
* gnu/packages/python-science.scm (python-clarabel)
* gnu/packages/python-xyz.scm (python-orjson, python-libcst,
python-rpds-py, python-streamtracer, python-tiktoken)
* gnu/packages/rpm.scm (createrepo-c)
* gnu/packages/rust-apps.scm (maturin)
* gnu/packages/sugar.scm (sugar, sugar-datastore)
* gnu/packages/version-control.scm (mercurial, hg-commitsigs)
* gnu/packages/vpn.scm (python-proton-vpn-local-agent)
[arguments]<#:phases>: Remove uneeded use of pyproject-guile-json
extension.

* gnu/packages/python-xyz.scm (python-streamtracer)[arguments]
<#:phases>: Also rewrite 'check phase replacement.

Change-Id: I779c354120ada3d94f07a127b9ec5011e73254c2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2026-01-17 00:30:18 +01:00
committed by Andreas Enge
parent 29f2f54fe8
commit 93b40d330f
19 changed files with 34 additions and 68 deletions

View File

@@ -1062,7 +1062,6 @@ integrals for Gaussian type functions.")
(string-append "-DPYTHON_INSTALL_DIR="
(site-packages %build-inputs %outputs)))
#:phases
(with-extensions (list (pyproject-guile-json))
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-includes
(lambda _
@@ -1101,7 +1100,7 @@ integrals for Gaussian type functions.")
(with-directory-excursion "../source"
(setenv "PYTHONPATH" "../build/py")
(invoke "python3" "-m" "unittest" "discover" "-v"
"-s" "tests")))))))))
"-s" "tests"))))))))
(inputs (list python zlib))
(native-inputs
(list fast-float
@@ -1471,7 +1470,6 @@ and rendering molecules.")
(guix build utils)
((guix build pyproject-build-system) #:prefix py:))
#:phases
(with-extensions (list (pyproject-guile-json))
#~(modify-phases %standard-phases
(add-before 'configure 'patch-cmake
(lambda _
@@ -1514,7 +1512,7 @@ and rendering molecules.")
(add-after 'install 'check
(assoc-ref %standard-phases 'check))
(add-before 'check 'add-install-to-pythonpath
(assoc-ref py:%standard-phases 'add-install-to-pythonpath))))))
(assoc-ref py:%standard-phases 'add-install-to-pythonpath)))))
(inputs (list python))
(native-inputs (list doxygen python python-cython-0 python-sphinx))
(home-page "https://github.com/rareylab/RingDecomposerLib")
@@ -1632,7 +1630,6 @@ Tanimoto scoring.")
"-DCMAKE_INCLUDE_PATH="
(search-input-directory %build-inputs "/include/avalontoolkit")))
#:phases
(with-extensions (list (pyproject-guile-json))
#~(modify-phases %standard-phases
(add-after 'unpack 'copy-external-dependencies
(lambda _
@@ -1692,7 +1689,7 @@ Tanimoto scoring.")
;; Circular import
"pythonSourceTests"
) "|")
")"))))))))))
")")))))))))
(inputs
(list avalon-toolkit
cairo