Subject: Re: [bug#62774] gnu: python-pyspnego: Update to 0.8.0.

From: Efraim Flashner <[email-masked]>
Date: Fri, 8 Sep 2023 09:12:05 +0300

On Tue, Apr 11, 2023 at 06:03:07PM +0800, c4droid wrote:
> From 57748cc9a9e614b0a27c83379b8cbd78122e9d13 Mon Sep 17 00:00:00 2001
> From: c4droid <[email-masked]>
> Date: Tue, 11 Apr 2023 17:51:33 +0800
> Subject: [PATCH 2/2] gnu: python-pyspnego: Update to 0.8.0.
> 
> ---
>  gnu/packages/python-xyz.scm | 27 +++++++++------------------
>  1 file changed, 9 insertions(+), 18 deletions(-)
> 
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 06eae3d..4bf086a 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -135,6 +135,7 @@
>  ;;; Copyright © 2023 Gabriel Wicki <[email-masked]>
>  ;;; Copyright © 2023 Amade Nemes <[email-masked]>
>  ;;; Copyright © 2023 Bruno Victal <[email-masked]>
> +;;; Copyright © 2023 c4droid <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -6677,24 +6678,14 @@ (define-public python-spectra
>  (define-public python-pyspnego
>    (package
>      (name "python-pyspnego")
> -    (version "0.1.6")
> -    (source
> -     (origin
> -       (method git-fetch)               ;no tests in PyPI release
> -       (uri (git-reference
> -             (url "https://github.com/jborean93/pyspnego")
> -             (commit (string-append "v" version))))
> -       (file-name (git-file-name name version))
> -       (sha256
> -        (base32
> -         "0pfh2x0539f0k2qi2pbjm64b2fqp64c63xxpinvg1yfaw915kgpb"))))
> -    (build-system python-build-system)
> -    (arguments
> -     `(#:phases (modify-phases %standard-phases
> -                  (replace 'check
> -                    (lambda* (#:key tests? #:allow-other-keys)
> -                      (when tests?
> -                        (invoke "pytest")))))))
> +    (version "0.8.0")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "pyspnego" version))
> +              (sha256
> +               (base32
> +                "1ps34laa0kvvp33az173hp5l0hnk8cr0bfqmlgw64ry5cv09qjg0"))))
> +    (build-system pyproject-build-system)
>      (native-inputs
>       (list python-pytest python-pytest-mock))
>      (propagated-inputs
> -- 
> 2.39.2
> 

I fixed up the commit message and applied the patch. Thanks!

-- 
Efraim Flashner   <[email-masked]>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted