Package Details: python-cbor 1.0.0-10

Git Clone URL: https://aur.archlinux.org/python-cbor.git (read-only, click to copy)
Package Base: python-cbor
Description: CBOR rfc7049 for Python
Upstream URL: https://github.com/brianolson/cbor_py
Licenses: Apache
Submitter: arojas
Maintainer: pizzaman
Last Packager: pizzaman
Votes: 2
Popularity: 0.000126
First Submitted: 2023-04-01 10:11 (UTC)
Last Updated: 2023-09-04 00:37 (UTC)

Latest Comments

pizzaman commented on 2023-09-04 00:39 (UTC)

@buker Thanks. Fixed.

buker commented on 2023-09-03 22:02 (UTC)

Please patch the line 28 in the PKGBUILD. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-cbor#n28

The path should be ../test_cbor_patch.diff instead of ../../test_cbor_patch.diff.

pizzaman commented on 2023-08-18 09:18 (UTC)

Should be working now.

hossbeast commented on 2023-04-02 17:51 (UTC)

I get the following build errors,

% makepkg -s -f
...
==> Starting build()...
/usr/lib/python3.10/site-packages/setuptools/_distutils/extension.py:134: UserWarning: Unknown Extension options: 'headers'
  warnings.warn(msg)
Traceback (most recent call last):
  File "/home/todd/python-cbor/src/cbor_py-b3af679e7cf3e12d50acb83c3c591fc5db9a658d/setup.py", line 129, in <module>
    main()
  File "/home/todd/python-cbor/src/cbor_py-b3af679e7cf3e12d50acb83c3c591fc5db9a658d/setup.py", line 117, in main
    setup(**setup_options)
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 75, in _install_setup_requires
    dist = MinimalDistribution(attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 57, in __init__
    super().__init__(filtered)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 486, in __init__
    for ep in metadata.entry_points(group='distutils.setup_keywords'):
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 1021, in entry_points
    return SelectableGroups.load(eps).select(**params)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 459, in load
    ordered = sorted(eps, key=by_group)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 1018, in <genexpr>
    eps = itertools.chain.from_iterable(
  File "/usr/lib/python3.10/importlib/metadata/_itertools.py", line 16, in unique_everseen
    k = key(element)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 943, in _normalized_name
    or super()._normalized_name
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 622, in _normalized_name
    return Prepared.normalize(self.name)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 871, in normalize
    return re.sub(r"[-_.]+", "-", name).lower().replace('-', '_')
  File "/usr/lib/python3.10/re.py", line 209, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
==> ERROR: A failure occurred in build().
    Aborting...