From f285a968b1219ae748fcab918b17285e741422c2 Mon Sep 17 00:00:00 2001 From: Felix Gruber Date: Fri, 22 Mar 2024 20:12:28 +0000 Subject: gnu: python-box: Update to 7.1.1. * 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. Change-Id: Ia39063054821e75768b1d9a5c937eab432e7c59e Reviewed-by: Munyoki Kilyungi Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'gnu/packages/python-xyz.scm') 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 ;;; Copyright © 2021, 2022, 2023 Daniel Meißner ;;; Copyright © 2021, 2022 Pradana Aumars -;;; Copyright © 2021, 2022, 2023 Felix Gruber +;;; Copyright © 2021–2024 Felix Gruber ;;; Copyright © 2021 Sébastien Lerique ;;; Copyright © 2021 Raphaël Mélotte ;;; Copyright © 2021 ZmnSCPxj @@ -33544,17 +33544,24 @@ and powerful way to handle real-world data, featuring: (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 -- cgit v1.2.3