HomeFreeBSD

devel/pygobject3-common: unbreak with DEFAULT_VERSIONS += python=3.8

Description

devel/pygobject3-common: unbreak with DEFAULT_VERSIONS += python=3.8

from gi.repository import GLib

Traceback (most recent call last):

File "<stdin>", line 1, in <module>
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 655, in _load_unlocked
File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
File "/usr/local/lib/python3.8/site-packages/gi/importer.py", line 146, in load_module
  dynamic_module = load_overrides(introspection_module)
File "/usr/local/lib/python3.8/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
  override_mod = importlib.import_module(override_package_name)
File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
  return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/lib/python3.8/site-packages/gi/overrides/GLib.py", line 86, in <module>
  class _VariantCreator(object):
File "/usr/local/lib/python3.8/site-packages/gi/overrides/GLib.py", line 89, in _VariantCreator
  'b': GLib.Variant.new_boolean,
File "/usr/local/lib/python3.8/site-packages/gi/module.py", line 221, in __getattr__
  wrapper = metaclass(name, bases, dict_)

TypeError: 'StructMeta' object is not iterable

Obtained from: upstream

Details

Provenance
jbeichAuthored on
Parents
rP537995: www/py-cherrypy: rename patch to better match intent
Branches
Unknown
Tags
Unknown