Summary of Failures: 1/1 python unittests TIMEOUT 30.04s killed by signal 15 SIGTERM Ok: 0 Expected Fail: 0 Fail: 0 Unexpected Pass: 0 Skipped: 0 Timeout: 1 Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
60 lines
1.1 KiB
RPMSpec
60 lines
1.1 KiB
RPMSpec
%global module_name cangjie
|
|
%global forgeurl https://gitlab.freedesktop.org/cangjie/pycangjie
|
|
%global archiveext tar.bz2
|
|
|
|
Name: python3-%{module_name}
|
|
Summary: Python bindings to libcangjie
|
|
Version: 1.5.0
|
|
Release: %autorelease -e 0.riscv64
|
|
%forgemeta
|
|
License: LGPL-3.0-only
|
|
URL: https://gitlab.freedesktop.org/cangjie/pycangjie
|
|
Source0: %{forgesource}
|
|
|
|
%forgemeta
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: meson
|
|
BuildRequires: python3dist(cython)
|
|
BuildRequires: python3-devel
|
|
BuildRequires: libcangjie-devel >= 1.4.0
|
|
|
|
|
|
%description
|
|
Python bindings to libcangjie, the library implementing Cangjie and Quick
|
|
input methods.
|
|
|
|
|
|
%prep
|
|
%autosetup -n pycangjie-%{version}
|
|
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f '{}' \;
|
|
|
|
|
|
%check
|
|
export CANGJIE_DB=/usr/share/libcangjie/cangjie.db
|
|
%ifnarch riscv64
|
|
%meson_test
|
|
%else
|
|
%meson_test --timeout-multiplier 10
|
|
%endif
|
|
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README.md docs/*.md
|
|
%{python3_sitearch}/%{module_name}
|
|
|
|
|
|
%changelog
|
|
%autochangelog
|