devel/blueprint-compiler: Update to 0.22.2 Reported by: portscout!ee1f0e8dad
Port details
devel/blueprint-compiler0.22.2
Markup language for GTK user interfaces
- Maintainer
- nivit@FreeBSD.org
- Packages
- blueprint-compiler 0.22.2
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://gitlab.gnome.org/jwestman/blueprint-compiler
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (19)
devel/blueprint-compiler: Update to 0.20.4 - Switch to official tarball - Add a patch to fix path of pkg-config file ChangeLog: https://gitlab.gnome.org/GNOME/blueprint-compiler/-/releases/v0.20.4 PR: 2938065b958549cd
*/*: bump PORTREVISION for gtk40 upgrade The gtk40 port and friends had a binary incompatible upgrade. Bump PORTREVISION of their consumers to for rebuild and reinstallation. PR: 292076c9e2fae172
devel/blueprint-compiler: Update to 0.18.0 Reported by: repology.org98a9b22434
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc EXT_SUFFIX, according to PEP 3149, refers to the full tag and extension for compiled extension module objects, eg .cpython-311.so, .cpython-313t.so, etc. We do not use the correct semantic meaning, and this usage becomes ambiguous and confusing when tags do not match between bytecode and compiled extension module objects. Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's specification of a magic tag, which consists of implementation name and shorthand version only. This is meant for bytecode and other files containing this tag in their filename that do not depend on a specific Python ABI for the same version. Chase all existing consumers. Introduce PYTHON_SOABI to align with PEP 3149's specification of a tag, which consists of implementation name, shorthand version and any ABI flags present (this and PYTHON_TAG are identical without ABI flags). This is meant for compiled extension module objects and other files that depend on a specific Python ABI for the same version. Add documentation for these variables that our PYTHON_EXT_SUFFIX never had. PR: 274671 Event: Kitchener-Waterloo Hackathon 2025064f0eba1efd
devel/blueprint-compiler: Update to 0.16.0 - Take maintainership - Install bytecode cache files, that would otherwise be created by port consumers. This is mainly useful to avoid leftovers when using poudriere - Pet port(clippy|fmt)8a55b2a70e
devel/py-pygobject: bump consumer PORTREVISIONs after port rename With hat: gnome PR: 27372232a55d206d
devel/blueprint-compiler: drop maintainership1d94cc854e
devel/blueprint-compiler: update to 0.14.0 Changes: https://gitlab.gnome.org/jwestman/blueprint-compiler/-/releases/v0.14.0 Reported by: GitLab (notify releases)15c236cdcd
devel/blueprint-compiler: update to 0.12.0 Changes: https://gitlab.gnome.org/jwestman/blueprint-compiler/-/releases/v0.12.0 Reported by: GitLab (notify releases)731e65e8e0
devel/blueprint-compiler: fix runtime on big-endian Upstream commits https://gitlab.gnome.org/jwestman/blueprint-compiler/-/commit/0c0219551026ec9aec5487891e07d1ced3a31112 and https://gitlab.gnome.org/jwestman/blueprint-compiler/-/commit/057c767fbb595bb31d025c76547045273948aab1.edff562355
devel/blueprint-compiler: update to 0.10.0 Changes: https://gitlab.gnome.org/jwestman/blueprint-compiler/-/releases/v0.10.0 Reported by: GitLab (notify releases)30387bf244
devel/blueprint-compiler: drop GL_TAGNAMEbc8599597b
bsd.sites.mk: Update all ports using USE_GITLAB Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is backwards-compatible (accepting any commit hash as before), but also understands an actual tag name. Moving to tag names where appropriate is left to individual ports' maintainers. Approved by: portmgr (tcberner, mentor) Differential Revision: https://reviews.freebsd.org/D370777d1faa7179
devel/blueprint-compiler: update to 0.8.1 Changes: https://gitlab.gnome.org/jwestman/blueprint-compiler/-/releases/v0.8.1 Reported by: GitLab (notify releases)1ee8af263c
devel/blueprint-compiler: update to 0.8.0 Changes: https://gitlab.gnome.org/jwestman/blueprint-compiler/-/releases/v0.8.0 Reported by: GitLab (notify releases)2f03a055a2
devel/blueprint-compiler: update to 0.6.0 Changes: https://gitlab.gnome.org/jwestman/blueprint-compiler/-/releases/v0.6.0 Reported by: GitLab (notify releases)1639b21ebc
devel/blueprint-compiler: unbreak "make test"
$ make test
[...]
===> Testing for blueprint-compiler-0.4.0
===> blueprint-compiler-0.4.0 depends on file: /usr/local/bin/python3.9 - found
[ 0% 1/1] /usr/local/bin/meson test --no-rebuild --print-errorlogs
1/1 tests FAIL 0.16s exit status 1
>>> MALLOC_PERTURB_=73 /usr/local/bin/python3.9 -m unittest
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
stdout:
error: Could not find GTK 4 introspection files. Is gobject-introspection installed?
at accessibility.blp line 1 column 11:
1 |using Gtk 4.0;
| ^
hint: search path: /usr/local/lib/girepository-1.0
stderr:
EEF...
======================================================================
ERROR: test_decompiler (tests.test_samples.TestSamples)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 120, in assert_decompile
actual = decompiler.decompile(ui_path)
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/decompiler.py", line 186, in decompile
ctx = DecompileCtx()
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/decompiler.py", line 61, in __init__
self.gir.add_namespace(get_namespace("Gtk", "4.0"))
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/gir.py", line 52, in get_namespace
raise CompileError(
blueprintcompiler.errors.CompileError: Namespace Gtk-4.0 could not be found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 212, in test_decompiler
self.assert_decompile("accessibility_dec")
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 127, in assert_decompile
e.pretty_print(name + ".blp", blueprint)
NameError: name 'blueprint' is not defined
======================================================================
ERROR: test_sample_errors (tests.test_samples.TestSamples)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 164, in test_sample_errors
self.assert_sample_error("a11y_in_non_widget")
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 83, in assert_sample_error
self.assert_completions_dont_crash(blueprint, ast, tokens)
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 40, in assert_completions_dont_crash
list(complete(ast, tokens, i))
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions.py", line 64, in complete
yield from _complete(ast_node, tokens, idx, token_idx)
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions.py", line 36, in _complete
yield from _complete(child, tokens, idx, token_idx)
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions.py", line 36, in _complete
yield from _complete(child, tokens, idx, token_idx)
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions.py", line 36, in _complete
yield from _complete(child, tokens, idx, token_idx)
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions.py", line 49, in _complete
yield from completer(prev_tokens, ast_node)
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions_utils.py", line 73, in inner
yield from func(ast_node, match_variables)
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/language/gtk_a11y.py", line 194, in a11y_name_completer
yield Completion(name, CompletionItemKind.Property, docs=_get_docs(ast_node.root.gir, type))
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/language/gtk_a11y.py", line 98, in _get_docs
gir.get_type("AccessibleProperty", "Gtk").members.get(name)
AttributeError: 'NoneType' object has no attribute 'members'
======================================================================
FAIL: test_samples (tests.test_samples.TestSamples)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 54, in assert_sample
if len(ast.errors):
File "/usr/local/lib/python3.9/functools.py", line 993, in __get__
val = self.func(instance)
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/ast_utils.py", line 79, in errors
return list(self._get_errors())
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/ast_utils.py", line 84, in _get_errors
validator(self)
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/ast_utils.py", line 160, in inner
func(self)
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/language/ui.py", line 71, in gir_errors
raise MultipleErrors(self._gir_errors)
blueprintcompiler.errors.MultipleErrors
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 132, in test_samples
self.assert_sample("accessibility")
File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 69, in assert_sample
raise AssertionError()
AssertionError
----------------------------------------------------------------------
Ran 6 tests in 0.036s
FAILED (failures=1, errors=2)
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Summary of Failures:
1/1 tests FAIL 0.16s exit status 1
Ok: 0
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/_build/meson-logs/testlog.txt
FAILED: meson-internal__test
/usr/local/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
*** Error code 19a65dc5984devel/blueprint-compiler: add new port A markup language for GTK user interface files. https://gitlab.gnome.org/jwestman/blueprint-compiler0bd12af657