guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 87ee1944bc9d75b351e9d00436ce24ecbe6e2f41
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Nov 8 15:03:54 2025 +0100
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 <[email protected]>
---
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 5f558c1e43..8edccf3574 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