[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#77895] [PATCH v2 03/10] gnu: chirp: Update to 0.4.0-4.bc27f66.
From: |
Nicolas Graves |
Subject: |
[bug#77895] [PATCH v2 03/10] gnu: chirp: Update to 0.4.0-4.bc27f66. |
Date: |
Tue, 22 Apr 2025 16:00:30 +0200 |
* gnu/packages/radio.scm (chirp): Update to 0.4.0-4.bc27f66.
[build-system]: Switch to pyproject.
[native-inputs]: Remove python-mox3, python-tox. Add
python-setuptools, python-wheel.
[inputs]: Replace python-lark-parser by python-lark. Remove
python-six.
[arguments]{test-flags}: Ignore failing tests.
---
gnu/packages/radio.scm | 44 ++++++++++++++++++++++++++----------------
1 file changed, 27 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 2752380a3a..6d7274ef0a 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -3254,8 +3254,8 @@ (define-public satdump
(license license:gpl3)))
(define-public chirp
- (let ((commit "1219bee0d39ca3778acdf5d7f0a92c1e8208bae9")
- (revision "3"))
+ (let ((commit "bc27f6653aa804a5c55a3a1b2244ee43a174854b")
+ (revision "4"))
(package
(name "chirp")
(version (git-version "0.4.0" revision commit))
@@ -3267,35 +3267,45 @@ (define-public chirp
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "19z3f05zppg8w4z4sdich8d173sd87501l0p8l1vn1awgky2q0r8"))))
- (build-system python-build-system)
+ (base32 "15nly5j0f3h67pv6li6vrd56wmdnplanls867kf60r9vz0k4k0yd"))))
+ (build-system pyproject-build-system)
(native-inputs
(list python-mock
- python-mox3
python-pytest
python-pytest-mock
python-pyyaml
- python-tox))
+ python-setuptools
+ python-wheel))
(inputs
(list python-future
python-importlib-resources
- python-lark-parser
+ python-lark
python-pyserial
python-requests
- python-six
python-suds
python-wxpython
python-yattag))
(arguments
- (list ;; FIXME: How to run the tests? The default way crashes.
- #:tests? #f
- #:phases
- #~(modify-phases %standard-phases
- ;; FIXME: Why does sanity-check phase fail to find lark?
- (delete 'sanity-check)
- (add-after 'build 'set-home-for-tests
- (lambda _
- (setenv "HOME" "/tmp"))))))
+ (list
+ #:test-flags
+ #~(list ;; FIXME: These files error during collection.
+ "--ignore=tests/unit/test_csv.py"
+ "--ignore=tests/unit/test_wxui_radiothread.py"
+ ;; These tests are long and expensive.
+ "--ignore=tests/test_drivers.py"
+ ;; Ignore tests requiring network.
+ "-m" "not network"
+ "-k" (string-append
+ ;; XXX: Tests likewise prefixed all have a RADIO_CLASS=None
+ "not TestCase"
+ " and not test_bitwise_errors"
+ ;; XXX: Requires settings TLS certificates.
+ " and not test_marc_works"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'build 'set-home-for-tests
+ (lambda _
+ (setenv "HOME" "/tmp"))))))
(synopsis "Cross-radio programming tool")
(description "Chirp is a cross-radio programming tool. It supports a
growing list of radios across several manufacturers and allows transferring of
--
2.49.0
- [bug#77895] [PATCH 3/7] gnu: chirp: Update to 0.4.0-4.bc27f66., (continued)
- [bug#77895] [PATCH 3/7] gnu: chirp: Update to 0.4.0-4.bc27f66., Nicolas Graves, 2025/04/18
- [bug#77895] [PATCH 2/7] gnu: python-suds: Fix dist-info., Nicolas Graves, 2025/04/18
- [bug#77895] [PATCH 6/7] gnu: python-bed-reader: Improve phases' style., Nicolas Graves, 2025/04/18
- [bug#77895] [PATCH 7/7] gnu: gitless: Fix build and disable failing tests., Nicolas Graves, 2025/04/18
- [bug#77895] [PATCH 5/7] gnu: python-skranger: Improve phase 'build-extensions., Nicolas Graves, 2025/04/18
- [bug#77895] [PATCH 4/7] gnu: Remove python-mox3., Nicolas Graves, 2025/04/18
- [bug#77895] [PATCH python-team 0/7] Some fixes., Sharlatan Hellseher, 2025/04/21
- [bug#77895] [PATCH v2 01/10] gnu: Add python-lark., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 06/10] gnu: gnome-plots: Switch to python-lark., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 04/10] gnu: python-bed-reader: Improve phases' style., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 03/10] gnu: chirp: Update to 0.4.0-4.bc27f66.,
Nicolas Graves <=
- [bug#77895] [PATCH v2 05/10] gnu: gitless: Fix build and disable failing tests., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 10/10] gnu: Remove python-lark-parser., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 02/10] gnu: python-suds: Fix dist-info., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 07/10] gnu: python-transient: Update to 0.25., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 08/10] gnu: python-commentjson: Switch to python-lark., Nicolas Graves, 2025/04/22
- [bug#77895] [PATCH v2 09/10] gnu: python-hypothesmith: Update to 0.2.0., Nicolas Graves, 2025/04/22
- bug#77895: [PATCH python-team 0/7] Some fixes., Sharlatan Hellseher, 2025/04/23
- [bug#77895] [PATCH python-team 0/7] Some fixes., Sharlatan Hellseher, 2025/04/23