summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-03-25 11:37:16 +0000
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:20 +0200
commit9c3f7ebb9c79c11cf076608df504f2ff7a8dbb3f (patch)
treea9ad2d761730f8d4f1486204548d1e5686c86ae3
parent2999dea81b7db5c8a92ed2c87b517b31fbe03d2a (diff)
gnu: python-asyncua: Fix build.
python-asynctest has not been updated for 6y and fails to build, but it's optional in tests. This change removes it from native inputs. * gnu/packages/engineering.scm (python-asyncua): Update to 1.1.5. [source]: Mention about the third party submodule on recursive option. [native-inputs]: Remove python-asynctest and python-pytest-runner; add python-pytest. Change-Id: I9d268c43ebe97fcaacc5125e1038f6ff371d39b2
-rw-r--r--gnu/packages/engineering.scm25
1 files changed, 13 insertions, 12 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 7314f0b8c5..f84c2829ea 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -5188,22 +5188,23 @@ more.")
(package
(name "python-asyncua")
(version "1.1.5")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/FreeOpcUa/opcua-asyncio.git")
- (commit (string-append "v" version))
- (recursive? #t)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0aisj8cpfhq50h4pv2p0c9iw5cqy3hxhn5adp8wd01c46dhg6y2x"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/FreeOpcUa/opcua-asyncio.git")
+ (commit (string-append "v" version))
+ ;; XXX: It clones <https://github.com/OPCFoundation/UA-Nodeset>
+ ;; submodule, check if it may be unbundled.
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0aisj8cpfhq50h4pv2p0c9iw5cqy3hxhn5adp8wd01c46dhg6y2x"))))
(build-system pyproject-build-system)
(native-inputs
- (list python-asynctest
+ (list python-pytest
python-pytest-asyncio-0.21
python-pytest-mock
- python-pytest-runner
python-setuptools
python-wheel))
(propagated-inputs