gnu: python-clingox: Fix build, improve style.

* gnu/packages/potassco.scm (python-clingox): Adjust indentation.
[arguments]<test-flags>: Skip 3 tests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
[description]: Start from a new line.

Change-Id: I0a267df9f23e585ba7619fb8905024cbe17027a8
This commit is contained in:
Sharlatan Hellseher 2024-12-18 01:24:31 +00:00
parent f79b8a892e
commit 6c86ae62a0
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -512,21 +512,33 @@ (define-public python-clingox
(package
(name "python-clingox")
(version "1.2.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/potassco/python-clingox")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0ji0sdqlv0byxmdipwk60afsb82r0rr1j73r7j2508hsfk94m2i8"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/potassco/python-clingox")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ji0sdqlv0byxmdipwk60afsb82r0rr1j73r7j2508hsfk94m2i8"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; fixture 's' not found
#~(list "--deselect=clingox/tests/test_ast.py::test_rename"
"--deselect=clingox/tests/test_ast.py::test_reify"
"--deselect=clingox/tests/test_ast.py::test_ast_dict")))
(native-inputs
(list python-pytest
python-setuptools
python-wheel))
(propagated-inputs (list python-clingo))
(home-page "https://potassco.org/clingo")
(synopsis "Auxiliary functions for Clingo")
(description "This package provides additional functions to go along with
the Python bindings for Clingo.")
(description
"This package provides additional functions to go along with the Python
bindings for Clingo.")
(license license:expat)))
(define-public python-asprin