gnu: python-slotscheck: Update to 0.19.0.

* gnu/packages/python-check.scm (python-slotscheck): Update to 0.19.0.
Improve package style.
[source]{url}: Use direct string of URL instead of home-page field.
[native-inputs]: Remove python-pydantic; add python-ujson.

Change-Id: I9ea14cb694f9dd7e3330b9f8e015621053d70d0b
This commit is contained in:
Sharlatan Hellseher 2024-11-26 20:43:45 +00:00
parent 9d106932e0
commit 8596af6b0d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2481,23 +2481,30 @@ behavior-driven development (TDD and BDD).")
(define-public python-slotscheck
(package
(name "python-slotscheck")
(version "0.17.0")
(home-page "https://github.com/ariebovenberg/slotscheck")
(source (origin
(version "0.19.0")
(source
(origin
(method git-fetch)
(uri (git-reference (url home-page)
(uri (git-reference
(url "https://github.com/ariebovenberg/slotscheck")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0k5jjabd219ndlssfqcdb5sn891ffrxzw84l5r8pirzy74i7znr4"))))
(base32 "1lakwgk20aq92sqdwsswnll2w3y6p42x8abb9q8fc2qvw3xhw2vh"))))
(build-system pyproject-build-system)
(arguments
(list
;; Optional: ModuleNotFoundError: No module named 'mypyc'
#:test-flags #~(list "-k" "not test_extension_package")))
(native-inputs
(list python-poetry-core
python-pydantic
python-pytest
python-pytest-mock))
(propagated-inputs (list python-click python-tomli))
python-pytest-mock
python-ujson))
(propagated-inputs
(list python-click
python-tomli))
(home-page "https://github.com/ariebovenberg/slotscheck")
(synopsis "Ensure @code{__slots__} are working properly")
(description
"@code{slotscheck} is a tool to validate Python class @code{__slots__}.")