2022-09-06 15:11:31 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-uc-micro-py
|
|
|
|
#
|
2024-03-16 14:43:15 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2022-09-06 15:11:31 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-05-05 14:37:26 +02:00
|
|
|
%{?sle15_python_module_pythons}
|
2022-09-06 15:11:31 +02:00
|
|
|
Name: python-uc-micro-py
|
2024-03-16 14:43:15 +01:00
|
|
|
Version: 1.0.3
|
2022-09-06 15:11:31 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Micro subset of unicode data files for linkify-it-py projects
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/tsutsu3/uc.micro-py
|
|
|
|
Source: https://github.com/tsutsu3/uc.micro-py/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2023-09-08 09:40:51 +02:00
|
|
|
BuildRequires: %{python_module pip}
|
2022-09-06 15:11:31 +02:00
|
|
|
BuildRequires: %{python_module pytest}
|
2023-09-08 09:40:51 +02:00
|
|
|
BuildRequires: %{python_module wheel}
|
2022-09-06 15:11:31 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Micro subset of unicode data files for linkify-it-py projects.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n uc.micro-py-%{version}
|
|
|
|
|
|
|
|
%build
|
2023-09-08 09:40:51 +02:00
|
|
|
%pyproject_wheel
|
2022-09-06 15:11:31 +02:00
|
|
|
|
|
|
|
%install
|
2023-09-08 09:40:51 +02:00
|
|
|
%pyproject_install
|
2022-09-06 15:11:31 +02:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%pytest
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc CHANGELOG.md README.md
|
|
|
|
%license LICENSE
|
|
|
|
%{python_sitelib}/uc_micro
|
2023-09-08 09:40:51 +02:00
|
|
|
%{python_sitelib}/uc_micro_py-%{version}*-info
|
2022-09-06 15:11:31 +02:00
|
|
|
|
|
|
|
%changelog
|