From 87ee1944bc9d75b351e9d00436ce24ecbe6e2f41 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 8 Nov 2025 15:03:54 +0100 Subject: [PATCH] gnu: python-intelhex: Switch to pyproject. * gnu/packages/python-xyz.scm (python-intelhex): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:test-backend>: Set it. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I60ae05c9034c15e9c2d0712d79f4d643e8e55671 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5f558c1e43086e9f0bd4f8a386a644600e8229db..8edccf3574362dfadb329305444b00b83c3b542e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28968,16 +28968,21 @@ existing Hunspell hyphenation dictionaries.") (version "2.3.0") (source (origin - (method url-fetch) - (uri (pypi-uri "intelhex" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/python-intelhex/intelhex") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "14q04p6qs47ab9w55232ylrdn4wm9rswz36s6x999x0rlxhp6aw9")))) - (build-system python-build-system) - (home-page "https://pypi.org/project/IntelHex/") + (base32 "13p7x4ygfgqn27q3c8lam7a0z09764iymgs7lcvjvxgq52nqwf9c")))) + (build-system pyproject-build-system) + (arguments (list #:test-backend #~'unittest)) + (native-inputs (list python-setuptools)) + (home-page "https://github.com/python-intelhex/intelhex") (synopsis "Python library for Intel HEX files manipulations") - (description "The Intel HEX file format is widely used in microprocessors -and microcontrollers area (embedded systems etc.) as the de facto standard for + (description + "The Intel HEX file format is widely used in microprocessors and +microcontrollers area (embedded systems etc.) as the de facto standard for representation of code to be programmed into microelectronic devices. This package provides an intelhex Python library to read, write, create from scratch and manipulate data from Intel HEX file format. It also includes