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>
|
||||
|
||||
|
@@ -26,8 +26,10 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/fonttools/unicodedata2
|
||||
Source: https://github.com/fonttools/unicodedata2/archive/%{version}.tar.gz#/unicodedata2-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
@@ -42,10 +44,10 @@ unicodedata2==%{version} is data from Unicode %{version}.
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
@@ -55,6 +57,6 @@ export CFLAGS="%{optflags}"
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitearch}/unicodedata2.*.so
|
||||
%{python_sitearch}/unicodedata2-%{version}*-info
|
||||
%{python_sitearch}/unicodedata2-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user