pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

net/py-magic-wormhole: dependencies missing?



Hi,

wanted to experiment with magic-wormhole. Compile and package creation
work ok, but dependencies seem to be missing/wrong.

    # wormhole-3.8 send u32.c
    Traceback (most recent call last):
      File "/opt/pkgsrc/bin/wormhole-3.8", line 33, in <module>
        sys.exit(load_entry_point('magic-wormhole==0.12.0', 'console_scripts', 'wormhole')())
      File "/opt/pkgsrc/bin/wormhole-3.8", line 25, in importlib_load_entry_point
        return next(matches).load()
      File "/opt/pkgsrc/lib/python3.8/importlib/metadata.py", line 77, in load
        module = import_module(match.group('module'))
      File "/opt/pkgsrc/lib/python3.8/importlib/__init__.py", line 127, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 848, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/opt/pkgsrc/lib/python3.8/site-packages/wormhole/__init__.py", line 2, in <module>
        from .wormhole import create, __version__
      File "/opt/pkgsrc/lib/python3.8/site-packages/wormhole/wormhole.py", line 11, in <module>
        from ._boss import Boss
      File "/opt/pkgsrc/lib/python3.8/site-packages/wormhole/_boss.py", line 15, in <module>
        from ._dilation.manager import Dilator
      File "/opt/pkgsrc/lib/python3.8/site-packages/wormhole/_dilation/manager.py", line 20, in <module>
        from ..util import dict_to_bytes, bytes_to_dict, bytes_to_hexstr
      File "/opt/pkgsrc/lib/python3.8/site-packages/wormhole/util.py", line 6, in <module>
        from hkdf import Hkdf
    ModuleNotFoundError: No module named 'hkdf'


Dependencies py-hkdf and py-spake2 are commented away in the Makefile

    #DEPENDS+=      ${PYPKGPREFIX}-hkdf-[0-9]*:../../security/py-hkdf
    ...
    #DEPENDS+=      ${PYPKGPREFIX}-spake2>=0.8:../../security/py-spake2

and I don't have them in my pkgsrc tree (and they are not in CVS, apparently).


Am I missing something?

Regards
Matthias



Home | Main Index | Thread Index | Old Index