forked from pool/python-uniseg
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6fc7a59145 | |||
| d44cb28cf6 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 12 05:01:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 27 13:53:27 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
Mon Feb 27 13:53:27 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-uniseg
|
# spec file for package python-uniseg
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -23,7 +23,9 @@ Summary: Python module for determining Unicode text segmentations
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://bitbucket.org/emptypage/uniseg-py
|
URL: https://bitbucket.org/emptypage/uniseg-py
|
||||||
Source: https://files.pythonhosted.org/packages/source/u/uniseg/uniseg-%{version}.zip
|
Source: https://files.pythonhosted.org/packages/source/u/uniseg/uniseg-%{version}.zip
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{pythons}
|
BuildRequires: %{pythons}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -40,10 +42,10 @@ A pure Python module to determine Unicode text segmentations.
|
|||||||
sed -i -e '/^#!\//, 1d' uniseg/*test.py uniseg/samples/*.py
|
sed -i -e '/^#!\//, 1d' uniseg/*test.py uniseg/samples/*.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand rm -Rv %{buildroot}%{$python_sitelib}/uniseg/samples
|
%python_expand rm -Rv %{buildroot}%{$python_sitelib}/uniseg/samples
|
||||||
%python_expand rm -Rv %{buildroot}%{$python_sitelib}/uniseg/docs
|
%python_expand rm -Rv %{buildroot}%{$python_sitelib}/uniseg/docs
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/uniseg/__pycache__
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/uniseg/__pycache__
|
||||||
@@ -55,9 +57,7 @@ sed -i -e '/^#!\//, 1d' uniseg/*test.py uniseg/samples/*.py
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%doc uniseg/docs/uniseg.ja.html
|
%doc uniseg/docs/uniseg.ja.html
|
||||||
%{python_sitelib}/uniseg-*
|
%{python_sitelib}/uniseg
|
||||||
%{python_sitelib}/uniseg/*.py
|
%{python_sitelib}/uniseg-%{version}.dist-info
|
||||||
%dir %{python_sitelib}/uniseg
|
|
||||||
%pycache_only %{python_sitelib}/uniseg/__pycache__
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user