14
0
forked from pool/python-zhon

- update to 2.0.2:

* Fix broken documentation link at at pypi
  * Restructure documentation into multiple pages
  * Reverse sort changelog
  * Removes Python 2.7 support
  * Bumps minimum support Python to Python 3.7
  * Switches to hatch for project management
  * Fixes an invalid backslash escape sequence (#34)
  * Automatically imports subpackages when importing zhon (#31)
  * Updates documentation about combining diacritic marks (#29)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zhon?expand=0&rev=9
This commit is contained in:
2023-10-05 09:23:38 +00:00
committed by Git OBS Bridge
parent d6ccb5c201
commit 013742a134
4 changed files with 23 additions and 9 deletions

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Oct 5 09:22:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.0.2:
* Fix broken documentation link at at pypi
* Restructure documentation into multiple pages
* Reverse sort changelog
* Removes Python 2.7 support
* Bumps minimum support Python to Python 3.7
* Switches to hatch for project management
* Fixes an invalid backslash escape sequence (#34)
* Automatically imports subpackages when importing zhon (#31)
* Updates documentation about combining diacritic marks (#29)
-------------------------------------------------------------------
Fri Apr 21 12:39:11 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,18 +16,19 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-zhon
Version: 1.1.5
Version: 2.0.2
Release: 0
Summary: Constants used in Chinese text processing
License: MIT
Group: Development/Languages/Python
URL: https://github.com/tsroten/zhon
Source: https://github.com/tsroten/zhon/archive/v%{version}.tar.gz#/zhon-%{version}.tar.gz
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -40,14 +41,13 @@ Zhon provides constants used in Chinese text processing.
%setup -q -n zhon-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
printf "[pytest]\npython_files = test-*.py\n" > pytest.ini
%pytest
%files %{python_files}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:291583edc10fab6ea7dc3ad6c9054a626884d2413b9a1288f5753e4965ffbd5b
size 102633

3
zhon-2.0.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5027f511ca4ca486d7d1cb070d17dfe6c97828338f8ecbbae1ccd4c3d84d31af
size 100473