From 311afe47b47348ac08c0cb5b160a496e2e683dcd Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 18 Oct 2025 12:25:12 +0200 Subject: [PATCH] gnu: python-backcall: Switch to pyproject. * gnu/packages/python-xyz.scm (python-backcall): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-flit-core, python-pytest. Change-Id: Ifbaa3cb7d8360bbba6a1df20347410b1b0de1395 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 27368d2c9cc54bcfe743d68cc5831d1da83a62ca..11708b81031a89dfec23af320430091c7a7789e9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14838,12 +14838,15 @@ installing @code{kernelspec}s for use with Jupyter frontends.") (version "0.2.0") (source (origin - (method url-fetch) - (uri (pypi-uri "backcall" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/takluyver/backcall/") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "07jy4562lvnhkk6kfr3cphmizy88anlhmbwb8kdzlz2ypqkvzgaw")))) - (build-system python-build-system) + (base32 "0br41zib1zph2jazanyjfl03rrb7frplk639fb10wvdqkrzgm6cd")))) + (build-system pyproject-build-system) + (native-inputs (list python-flit-core python-pytest)) (home-page "https://github.com/takluyver/backcall/") (synopsis "Specifications for callback functions passed in to an API") (description