~ruther/guix-local

9c3f7ebb9c79c11cf076608df504f2ff7a8dbb3f — Sharlatan Hellseher 1 year, 3 months ago 2999dea
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
1 files changed, 13 insertions(+), 12 deletions(-)

M gnu/packages/engineering.scm
M gnu/packages/engineering.scm => gnu/packages/engineering.scm +13 -12
@@ 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