Subject: Re: [bug#69947] [PATCH] gnu: python-box: Update to 7.1.1.

From: Munyoki Kilyungi <[email-masked]>
Date: Sat, 23 Mar 2024 11:13:19 +0300

Hi Felix!

Felix Gruber <[email-masked]> aliandika:

> * gnu/packages/python-xyz.scm (python-box): Update to 7.1.1.
> [source]: Download from github since pypi tarball does not contain all
> test files.
> [build-system]: Use pyproject-build-system.
> [propagated-inputs]: Remove python-toml; add python-tomli and python-tomli-w.
> [native-inputs]: Add python-cython, python-pytest, and python-wheel.

Just finished reviewing this.  This looks good to
me and builds just fine.  Thanks for the contrib!

> Change-Id: Ia39063054821e75768b1d9a5c937eab432e7c59e
> ---
>  gnu/packages/python-xyz.scm | 21 ++++++++++++++-------
>  1 file changed, 14 insertions(+), 7 deletions(-)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index eec7586d3f..aad89d251e 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -108,7 +108,7 @@
>  ;;; Copyright © 2021 Simon Streit <[email-masked]>
>  ;;; Copyright © 2021, 2022, 2023 Daniel Meißner <[email-masked]>
>  ;;; Copyright © 2021, 2022 Pradana Aumars <[email-masked]>
> -;;; Copyright © 2021, 2022, 2023 Felix Gruber <[email-masked]>
> +;;; Copyright © 2021–2024 Felix Gruber <[email-masked]>
>  ;;; Copyright © 2021 Sébastien Lerique <[email-masked]>
>  ;;; Copyright © 2021 Raphaël Mélotte <[email-masked]>
>  ;;; Copyright © 2021 ZmnSCPxj <[email-masked]>
> @@ -33544,17 +33544,24 @@ (define-public python-glom
>  (define-public python-box
>    (package
>      (name "python-box")
> -    (version "5.3.0")
> +    (version "7.1.1")
>      (source
> +     ;; The PyPI tarball does not contain all test files.
>       (origin
> -       (method url-fetch)
> -       (uri (pypi-uri "python-box" version))
> +       (method git-fetch)
> +       (uri
> +        (git-reference
> +         (url "https://github.com/cdgriffith/Box")
> +         (commit version)))
> +       (file-name (git-file-name name version))
>         (sha256
>          (base32
> -         "0jhrdif57khx2hsw1q6a9x42knwcvq8ijgqyq1jmll6y6ifyzm2f"))))
> -    (build-system python-build-system)
> +         "1v8s6wji17fh87nvamzysvxi8f51h6szh6h6dxvids56gg5zc553"))))
> +    (build-system pyproject-build-system)
>      (propagated-inputs
> -     (list python-msgpack python-ruamel.yaml python-toml))
> +     (list python-msgpack python-ruamel.yaml python-tomli python-tomli-w))
> +    (native-inputs
> +     (list python-cython python-pytest python-wheel))
>      (home-page "https://github.com/cdgriffith/Box")
>      (synopsis "Advanced Python dictionaries with dot notation access")
>      (description
>
> base-commit: d5f857a3cfd1d7523b4051b94bd67b5cf5636219
> -- 
> 2.43.0
>
>
>

-- 
(Life is like a pencil that will surely run out,
    but will leave the beautiful writing of life.)
(D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
    (hkp://keys.openpgp.org))