From f5be9b99f75ac57de9dea900b2e66622e6e59a62 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 20 Sep 2025 18:22:00 +0200 Subject: [PATCH] gnu: python-setuptools-gettext: Run tests and fix them. * gnu/packages/python-xyz.scm (python-setuptools-gettext) [source]: Switch to git-fetch. [native-inputs]: Add python-pytest, remove python-wheel. Change-Id: I969a8d6f6e41df7e1f6729a9b4e9a9d5ec782303 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 263d78171b7..52791802386 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28023,14 +28023,15 @@ Rust Python extensions implemented with @code{PyO3} or @code{rust-cpython}.") (version "0.1.14") (source (origin - (method url-fetch) - (uri (pypi-uri "setuptools_gettext" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/breezy-team/setuptools-gettext") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0b0d74cwa9lk32cajzpxxg9nwm5hch17xc6bzg6i4iqsygprkw23")))) + (base32 "1m6a3qjwvqbvlzwqap7050rqsxb7nwibl38iklnqz8363iclm76k")))) (build-system pyproject-build-system) - (native-inputs (list python-tomli - python-setuptools - python-wheel)) + (native-inputs (list python-pytest python-tomli python-setuptools)) (home-page "https://github.com/breezy-team/setuptools-gettext") (synopsis "Setuptools plugin for gettext") (description "This package provides a plugin for Setuptools for gettext.")