summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-19 08:41:42 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-22 23:21:50 +0100
commit0a33d54d56c0f376107d98b359c15f9c9925b7e9 (patch)
tree698d412a745f7bc6cea4286bbc4a4d3b32495af9
parent628ec33ebd7270db5feaf0ad5f091c01d13220df (diff)
gnu: yml2: Switch to pyproject.
* gnu/packages/pep.scm (yml2): [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them explicitely. [native-inputs]: Add python-setuptools, python-wheel. [description]: Improve style. Change-Id: I9d0a0df2e7796dfada3bf6754e7e07a8438b4ed7 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/pep.scm20
1 files changed, 13 insertions, 7 deletions
diff --git a/gnu/packages/pep.scm b/gnu/packages/pep.scm
index f443170aa5..2385d74e0d 100644
--- a/gnu/packages/pep.scm
+++ b/gnu/packages/pep.scm
@@ -22,6 +22,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
+ #:use-module (guix build-system pyproject)
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages boost)
@@ -53,16 +54,21 @@
(file-name (git-file-name name version))
(sha256
(base32 "0fm1x1fv4lwcpbn59s55idzf7x173n59xpz8rlrxalmi6gvsjijr"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-lxml))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; XXX: There is no testing framework, only a samples directory.
+ #:tests? #f))
+ (native-inputs (list python-setuptools python-wheel))
+ (propagated-inputs (list python-lxml))
(home-page "https://fdik.org/yml/")
(synopsis "Use a Domain Specific Language for XML without defining
a grammar")
- (description "The YML compiler is a small Python script. It
-provides the command line front end yml2c. As default, it compiles
-your script and outputs to stdout, that usually is the terminal. Your
-shell provides options to redirect the output into a pipe or a file.")
+ (description
+ "The YML compiler is a small Python script. It provides the command line
+front end yml2c. As default, it compiles your script and outputs to stdout,
+that usually is the terminal. Your shell provides options to redirect the
+output into a pipe or a file.")
(license license:gpl2)))
(define fdik-libetpan