summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-31 13:53:06 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:23:34 +0100
commitc51b16f3a0d957d2d47917f2288491df49a31297 (patch)
treef5bc4c8f13db99e38990b6e405a80072fe6d20f4 /gnu
parent5d3684a5947ce33e0856b0c026ac8261f4522986 (diff)
gnu: python-jsonnet: Switch to pyproject.
* gnu/packages/cpp.scm (python-jsonnet): [build-system]: Switch to pyproject-build-system. [arguments]<#:test-flags>: Ignore wrong search directory. [native-inputs]: Add python-pyyaml, python-pytest, python-setuptools. Change-Id: Ib85b5d1088fef2dfc3bff15460d1b061caeb73df Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cpp.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index ecd19ace02e..9886455f674 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -123,6 +123,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
#:use-module (gnu packages pretty-print)
@@ -3346,8 +3347,11 @@ syntax with variables, conditions, functions and more.")
(package
(inherit jsonnet)
(name "python-jsonnet")
- (build-system python-build-system)
- (arguments '())
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-flags #~(list "--ignore=case_studies/")))
+ (native-inputs (modify-inputs (package-native-inputs jsonnet)
+ (append python-pyyaml python-pytest python-setuptools)))
(synopsis "Python bindings for Jsonnet, the data templating language")
(description "This package provides a Python library named @code{_jsonnet}
which can evaluate Jsonnet files and expressions.")))