summaryrefslogtreecommitdiff
path: root/gnu/packages/potassco.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-18 01:24:31 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-18 01:24:37 +0000
commit6c86ae62a0ea12e49eddaa3b541340d1ec8e56a2 (patch)
tree1caa8eb62bf7563b3a65b8ecd4c9819f40877ae9 /gnu/packages/potassco.scm
parentf79b8a892e900972226c9f77d5e5b7d7703c6ee9 (diff)
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
Diffstat (limited to 'gnu/packages/potassco.scm')
-rw-r--r--gnu/packages/potassco.scm34
1 files changed, 23 insertions, 11 deletions
diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm
index c8bb094b0ad..4fe90f97c58 100644
--- a/gnu/packages/potassco.scm
+++ b/gnu/packages/potassco.scm
@@ -512,21 +512,33 @@ directly from the python command line.")))
512 (package 512 (package
513 (name "python-clingox") 513 (name "python-clingox")
514 (version "1.2.1") 514 (version "1.2.1")
515 (source (origin 515 (source
516 (method git-fetch) 516 (origin
517 (uri (git-reference 517 (method git-fetch)
518 (url "https://github.com/potassco/python-clingox") 518 (uri (git-reference
519 (commit (string-append "v" version)))) 519 (url "https://github.com/potassco/python-clingox")
520 (file-name (git-file-name name version)) 520 (commit (string-append "v" version))))
521 (sha256 521 (file-name (git-file-name name version))
522 (base32 522 (sha256
523 "0ji0sdqlv0byxmdipwk60afsb82r0rr1j73r7j2508hsfk94m2i8")))) 523 (base32 "0ji0sdqlv0byxmdipwk60afsb82r0rr1j73r7j2508hsfk94m2i8"))))
524 (build-system pyproject-build-system) 524 (build-system pyproject-build-system)
525 (arguments
526 (list
527 #:test-flags
528 ;; fixture 's' not found
529 #~(list "--deselect=clingox/tests/test_ast.py::test_rename"
530 "--deselect=clingox/tests/test_ast.py::test_reify"
531 "--deselect=clingox/tests/test_ast.py::test_ast_dict")))
532 (native-inputs
533 (list python-pytest
534 python-setuptools
535 python-wheel))
525 (propagated-inputs (list python-clingo)) 536 (propagated-inputs (list python-clingo))
526 (home-page "https://potassco.org/clingo") 537 (home-page "https://potassco.org/clingo")
527 (synopsis "Auxiliary functions for Clingo") 538 (synopsis "Auxiliary functions for Clingo")
528 (description "This package provides additional functions to go along with 539 (description
529the Python bindings for Clingo.") 540 "This package provides additional functions to go along with the Python
541bindings for Clingo.")
530 (license license:expat))) 542 (license license:expat)))
531 543
532(define-public python-asprin 544(define-public python-asprin