SHA256
1
0
forked from pool/python-atspi

4 Commits

4 changed files with 40 additions and 28 deletions

Binary file not shown.

3
pyatspi-2.58.1.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f1f079935f926584331025c7531858deb42245c993b65121f4f4b01e6b04536
size 82620

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Fri Jan 16 00:40:45 UTC 2026 - Michael Gorse <mgorse@suse.com>
- Update to version 2.58.1:
+ Fix a traceback in the collection tests.
+ Make cache fns raise errors, not just silently fail.
+ pasy: Fix reporting exceptions.
+ Fix creating dom nodes.
+ Add a pyproject.toml file to allow building with pip.
- Create versioned python packages again (bsc#1256795)
-------------------------------------------------------------------
Wed Sep 17 11:27:04 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 2.58.0:
+ Install image.py (fixes regression from 2.57.0).
-------------------------------------------------------------------
Sat Aug 30 11:06:11 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 2.57.0:
+ Fix an incompatibility with the new libatspi Python overrides.
+ Port to Meson.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 28 17:22:08 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Wed Feb 28 17:22:08 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-atspi # spec file for package python-atspi
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2026 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -31,21 +31,23 @@ BuildArch: noarch
%endif %endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define _name pyatspi %define _name pyatspi
Name: python-atspi%{psuffix} Name: python-atspi%{psuffix}
Version: 2.46.1 Version: 2.58.1
Release: 0 Release: 0
Summary: Python bindings for the Assistive Technology Service Provider Interface Summary: Python bindings for the Assistive Technology Service Provider Interface
License: LGPL-2.0-only License: LGPL-2.0-only
Group: Development/Libraries/Python Group: Development/Libraries/Python
URL: https://gitlab.gnome.org/GNOME/pyatspi2 URL: https://gitlab.gnome.org/GNOME/pyatspi2
Source0: https://download.gnome.org/sources/pyatspi/2.46/%{_name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/pyatspi/2.58/%{_name}-%{version}.tar.xz
BuildRequires: %{python_module dbus-python} BuildRequires: %{python_module dbus-python}
BuildRequires: %{python_module gobject >= 2.90.1} BuildRequires: %{python_module gobject >= 2.90.1}
BuildRequires: %{python_module gobject-devel >= 2.90.1} BuildRequires: %{python_module gobject-devel >= 2.90.1}
BuildRequires: %{python_module meson-python}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: meson
# Needed to have typelib() Requires. # Needed to have typelib() Requires.
BuildRequires: gobject-introspection BuildRequires: gobject-introspection
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -87,34 +89,19 @@ This package contains the python bindings for AT-SPI.
%autosetup -p1 -n %{_name}-%{version} %autosetup -p1 -n %{_name}-%{version}
%build %build
# Configure for out-of-tree builds %meson
%define _configure ../configure %meson_build
%pyproject_wheel
%{python_expand mkdir build_%{$python_bin_suffix}
pushd build_%{$python_bin_suffix}
export PYTHON=%_bindir/$python
%configure %{?configureargs}
make %{?_smp_mflags}
popd
}
%install %install
%if ! %{with test} %if ! %{with test}
%{python_expand pushd build_%{$python_bin_suffix} %meson_install
%make_install %pyproject_install
popd
}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif %endif
%if %{with test} %if %{with test}
%check %check
# does not work with -z now due to some library overriding %meson_test
export SUSE_ZNOW=0
%{python_expand pushd build_%{$python_bin_suffix}/tests
dbus-run-session make %{?_smp_mflags} check CFLAGS="-Wno-return-type" || (cat pyatspi/test-suite.log && exit 1)
popd
}
%endif %endif
%if ! %{with test} %if ! %{with test}
@@ -122,6 +109,7 @@ popd
%license COPYING %license COPYING
%doc AUTHORS NEWS README.md %doc AUTHORS NEWS README.md
%{python_sitelib}/pyatspi/ %{python_sitelib}/pyatspi/
%{python_sitelib}/pyatspi-%{version}.dist-info
%endif %endif
%changelog %changelog