From 6435bf8cb70ac3c54ffba9a2daa2a207cd498a17 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Thu, 25 Dec 2025 13:19:15 +0100 Subject: [PATCH] gnu: python-pypeg2: Switch to pyproject. * gnu/packages/python-xyz.scm (python-pypeg2): [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Enable them. [native-inputs]: Add python-pytest, python-setuptools. [description]: Improve style. Change-Id: I354cf087b2076bf7bd4643290429a4e4630ca004 Signed-off-by: Sharlatan Hellseher Signed-off-by: Rutherther --- gnu/packages/python-xyz.scm | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7406a0a9850a11eaffb266ee8059110dbb1f3338..d601ba2e7f0d1021dc3baf7dd4f3cd992ec45e1a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24433,18 +24433,16 @@ Problem} (SAT) solver.") (method url-fetch) (uri (pypi-uri "pyPEG2" version)) (sha256 - (base32 - "0v8ziaam2r637v94ra4dbjw6jzxz99gs5x4i585kgag1v204yb9b")))) - (build-system python-build-system) + (base32 "0v8ziaam2r637v94ra4dbjw6jzxz99gs5x4i585kgag1v204yb9b")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) (propagated-inputs (list python-lxml)) - (arguments - ;;https://bitbucket.org/fdik/pypeg/issues/36/test-failures-on-py35 - '(#:tests? #f)) (home-page "https://fdik.org/pyPEG/") (synopsis "Parsing Expression Grammars in Python") - (description "PyPEG is an intrinsic parser interpreter framework for - Python. It is based on Parsing Expression Grammars, PEG. With pyPEG you can - parse many formal languages.") + (description + "PyPEG is an intrinsic parser interpreter framework for Python. It is +based on Parsing Expression Grammars, PEG. With pyPEG you can parse many +formal languages.") (license license:gpl2))) (define-public python-pyformlang