2 Commits

4 changed files with 25 additions and 29 deletions

Binary file not shown.

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

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

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
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) 2025 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
@@ -30,22 +30,22 @@ ExcludeArch: %arm ppc64le
BuildArch: noarch BuildArch: noarch
%endif %endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global pythons 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.0
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 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 +87,17 @@ 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
%{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
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}