gnu: python-k5test: Update to 0.10.4.

* gnu/packages/python-xyz.scm (python-k5test): Update to 0.10.4.
[build-system]: Switch to pyproejct-build-system.
[arguments] <phases>: Remove 'apply-upstream-fixes.
[inputs]: Add mit-krb5.
[propagated-inputs]: Remove python-six, which, and mit-krb5.
[native-inputs]: Remove mit-krb5; add python-setuptools.

Change-Id: Ife80993e4e78368c5689515f037961c9f6fee703
This commit is contained in:
Sharlatan Hellseher 2025-09-16 11:03:00 +01:00
parent 7beb326dff
commit f724e55ff7
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -32463,30 +32463,20 @@ memoization.")
(define-public python-k5test (define-public python-k5test
(package (package
(name "python-k5test") (name "python-k5test")
(version "0.10.3") (version "0.10.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "k5test" version)) (uri (pypi-uri "k5test" version))
(sha256 (sha256
(base32 (base32 "0c7g9gk3vfgh1wbl4s1v15v283srsixkhgak7lxskxh2cqg4jlp1"))))
"07sp9hc6nkbgzywvr2ivcik03wibs6gmxm1k33l1b8v3mnyfx7cw")))) (build-system pyproject-build-system)
(build-system python-build-system)
(propagated-inputs
(list python-six
;; `which`, `kadmin.local` binaries called inside library
which mit-krb5))
(native-inputs (list mit-krb5))
(arguments (arguments
'(#:phases (list #:tests? #f)) ;no tests
(modify-phases %standard-phases (native-inputs
(add-after 'unpack 'apply-upstream-fixes (list python-setuptools))
(lambda* _ (inputs
(substitute* "k5test/realm.py" (list mit-krb5))
;; Upstream commit f6b302d94dbdce37a1b81cc3faeeac4dc637b0e9.
(("'kadmin_local'") "'kadmin.local'")
;; Upstream commit 3aef84515cf3d1a171c66856c898d0a5cbbd03ea.
(("\\.stop_daemon") "._stop_daemon")))))))
(home-page "https://github.com/pythongssapi/k5test") (home-page "https://github.com/pythongssapi/k5test")
(synopsis "Library for setting up self-contained Kerberos 5 environments") (synopsis "Library for setting up self-contained Kerberos 5 environments")
(description (description