mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
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:
parent
f79b8a892e
commit
6c86ae62a0
1 changed files with 23 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue