File python-textual-speedups.spec of Package python-textual-speedups
#
# spec file for package python-textual-speedups
#
# Copyright (c) 2026 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-textual-speedups
Version: 0.2.1
Release: 0
Summary: None
# FIXME FAKE the license is acutally unknown (gh#willmcgugan/textual-speedups#2)
License: Apache-2.0
URL: None
Source0: https://files.pythonhosted.org/packages/source/t/textual-speedups/textual_speedups-%{version}.tar.gz
Source9: vendor.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module maturin >= 1.8}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: rust
BuildRequires: cargo
%python_subpackages
%description
None
%prep
%autosetup -p1 -a9 -n textual_speedups-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
%{python_sitearch}/textual_speedups
%{python_sitearch}/textual_speedups-%{version}.dist-info
%changelog