17
0

Accepting request 1325520 from devel:languages:python

- Update to 0.6.7:
  * Added 3.14 and pypy3.11 to targets
  * Bumped pyo3 to 0.27.1
- Run the testsuite.
- Switch to using cargo-packaging, and cargo_vendor.

OBS-URL: https://build.opensuse.org/request/show/1325520
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-bidi?expand=0&rev=7
This commit is contained in:
2026-01-06 16:45:53 +00:00
committed by Git OBS Bridge
7 changed files with 33 additions and 15 deletions

9
_service Normal file
View File

@@ -0,0 +1,9 @@
<services>
<service name="download_files" mode="manual"></service>
<service name="cargo_vendor" mode="manual">
<param name="srctar">python_bidi-*.tar.gz</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="manual"></service>
</services>

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Jan 6 05:02:15 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.6.7:
* Added 3.14 and pypy3.11 to targets
* Bumped pyo3 to 0.27.1
- Run the testsuite.
- Switch to using cargo-packaging, and cargo_vendor.
-------------------------------------------------------------------
Mon Mar 10 18:07:07 UTC 2025 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-bidi
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,22 +18,21 @@
%{?sle15_python_module_pythons}
Name: python-python-bidi
Version: 0.6.6
Version: 0.6.7
Release: 0
Summary: BiDi layout algorithm
License: LGPL-3.0-only
Group: Development/Languages/Python
URL: https://github.com/MeirKriheli/python-bidi
Source: https://files.pythonhosted.org/packages/source/p/python_bidi/python_bidi-%{version}.tar.gz
Source1: vendor.tar.gz
Source1: vendor.tar.xz
BuildRequires: %{python_module maturin > 1}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: rust
Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages
@@ -52,9 +51,10 @@ A pure python implementation of the BiDi layout algorithm.
%python_clone -a %{buildroot}%{_bindir}/pybidi
%python_expand %fdupes %{buildroot}%{$python_sitearch}
#%%check
#%%pyunittest_arch -v
#%%pytest
%check
mv bidi bidi-do-not-use
%pytest_arch
mv bidi-do-not-use bidi
%post
%python_install_alternative pybidi

View File

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

3
python_bidi-0.6.7.tar.gz Normal file
View File

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

View File

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

3
vendor.tar.xz Normal file
View File

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