forked from pool/python-unicodedata2
Accepting request 1284981 from devel:languages:python
- Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1284981 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unicodedata2?expand=0&rev=9
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 12 05:01:35 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 24 08:53:08 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
Mon Feb 24 08:53:08 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -26,8 +26,10 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/fonttools/unicodedata2
|
URL: https://github.com/fonttools/unicodedata2
|
||||||
Source: https://github.com/fonttools/unicodedata2/archive/%{version}.tar.gz#/unicodedata2-%{version}.tar.gz
|
Source: https://github.com/fonttools/unicodedata2/archive/%{version}.tar.gz#/unicodedata2-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -42,10 +44,10 @@ unicodedata2==%{version} is data from Unicode %{version}.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -55,6 +57,6 @@ export CFLAGS="%{optflags}"
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitearch}/unicodedata2.*.so
|
%{python_sitearch}/unicodedata2.*.so
|
||||||
%{python_sitearch}/unicodedata2-%{version}*-info
|
%{python_sitearch}/unicodedata2-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user