Blame python-uc-micro-py.spec

055bf0
#
055bf0
# spec file for package python-uc-micro-py
055bf0
#
463e4f
# Copyright (c) 2024 SUSE LLC
055bf0
#
055bf0
# All modifications and additions to the file contributed by third parties
055bf0
# remain the property of their copyright owners, unless otherwise agreed
055bf0
# upon. The license for this file, and modifications and additions to the
055bf0
# file, is the same license as for the pristine package itself (unless the
055bf0
# license for the pristine package is not an Open Source License, in which
055bf0
# case the license is the MIT License). An "Open Source License" is a
055bf0
# license that conforms to the Open Source Definition (Version 1.9)
055bf0
# published by the Open Source Initiative.
055bf0
055bf0
# Please submit bugfixes or comments via https://bugs.opensuse.org/
055bf0
#
055bf0
055bf0
821486
%{?sle15_python_module_pythons}
055bf0
Name:           python-uc-micro-py
463e4f
Version:        1.0.3
055bf0
Release:        0
055bf0
Summary:        Micro subset of unicode data files for linkify-it-py projects
055bf0
License:        MIT
055bf0
URL:            https://github.com/tsutsu3/uc.micro-py
055bf0
Source:         https://github.com/tsutsu3/uc.micro-py/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
5156da
BuildRequires:  %{python_module pip}
055bf0
BuildRequires:  %{python_module pytest}
5156da
BuildRequires:  %{python_module wheel}
055bf0
BuildRequires:  fdupes
055bf0
BuildRequires:  python-rpm-macros
055bf0
BuildArch:      noarch
055bf0
%python_subpackages
055bf0
055bf0
%description
055bf0
Micro subset of unicode data files for linkify-it-py projects.
055bf0
055bf0
%prep
055bf0
%setup -q -n uc.micro-py-%{version}
055bf0
055bf0
%build
5156da
%pyproject_wheel
055bf0
055bf0
%install
5156da
%pyproject_install
055bf0
%python_expand %fdupes %{buildroot}%{$python_sitelib}
055bf0
055bf0
%check
055bf0
%pytest
055bf0
055bf0
%files %{python_files}
055bf0
%doc CHANGELOG.md README.md
055bf0
%license LICENSE
055bf0
%{python_sitelib}/uc_micro
5156da
%{python_sitelib}/uc_micro_py-%{version}*-info
055bf0
055bf0
%changelog