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