OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uc-micro-py?expand=0&rev=6
This commit is contained in:
parent
ce76dace61
commit
b5e5ea1f17
@ -24,8 +24,9 @@ Summary: Micro subset of unicode data files for linkify-it-py projects
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/tsutsu3/uc.micro-py
|
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
|
Source: https://github.com/tsutsu3/uc.micro-py/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -38,10 +39,10 @@ Micro subset of unicode data files for linkify-it-py projects.
|
|||||||
%setup -q -n uc.micro-py-%{version}
|
%setup -q -n uc.micro-py-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -51,6 +52,6 @@ Micro subset of unicode data files for linkify-it-py projects.
|
|||||||
%doc CHANGELOG.md README.md
|
%doc CHANGELOG.md README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/uc_micro
|
%{python_sitelib}/uc_micro
|
||||||
%{python_sitelib}/uc_micro_py-%{version}*.egg-info
|
%{python_sitelib}/uc_micro_py-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user