summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-08 15:03:54 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-11 16:02:05 +0000
commit87ee1944bc9d75b351e9d00436ce24ecbe6e2f41 (patch)
treed8d991936db37df5158c8011eb448ff0edeeab0a
parent24fdf6fff9bb073a60c8d1486e20993d83a886bb (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm21
1 files changed, 13 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5f558c1e430..8edccf35743 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