From 18a72af6bdc69feca7744ba263a09f3433cc453f Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 21 Nov 2025 20:30:50 +0100 Subject: [PATCH] gnu: python-escapism: Switch to pyproject. * gnu/packages/python-xyz.scm (python-escapism): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools. [home-page]: Set to the jupyterhub one. Change-Id: I6dcd9972dbee8155f4513c0d96402f39e6e59f90 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4b3eff8003f1f8d0caafb2a53dd7195df188fd81..bbefc03dea66e2b6462659bb4d0120d1017870eb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32382,13 +32382,16 @@ representing paths or filenames.") (version "1.0.1") (source (origin - (method url-fetch) - (uri (pypi-uri "escapism" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/jupyterhub/escapism") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1v74243wifcwhj5zkdiispxc9kb1xvnfzilg8bq308pjnkgnn9bk")))) - (build-system python-build-system) - (home-page "https://github.com/minrk/escapism") + (base32 "1447mamrdbyv9v47f9wrc4fyvbwz5qrwl8qrdzqdq3q62q4xrawj")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) + (home-page "https://github.com/jupyterhub/escapism") (synopsis "Simple, generic library for escaping strings") (description "This Python library provides a programming interface to, given a set of