From 013742a13402ad704f57aafa905bc7e0099c4a390bdcc444d54bd8ff3f69ec44 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 5 Oct 2023 09:23:38 +0000 Subject: [PATCH] - 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 --- python-zhon.changes | 14 ++++++++++++++ python-zhon.spec | 12 ++++++------ zhon-1.1.5.tar.gz | 3 --- zhon-2.0.2.tar.gz | 3 +++ 4 files changed, 23 insertions(+), 9 deletions(-) delete mode 100644 zhon-1.1.5.tar.gz create mode 100644 zhon-2.0.2.tar.gz diff --git a/python-zhon.changes b/python-zhon.changes index 9a0d4f6..0e4723c 100644 --- a/python-zhon.changes +++ b/python-zhon.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Oct 5 09:22:58 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-zhon.spec b/python-zhon.spec index c4d78e0..c7a6253 100644 --- a/python-zhon.spec +++ b/python-zhon.spec @@ -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} diff --git a/zhon-1.1.5.tar.gz b/zhon-1.1.5.tar.gz deleted file mode 100644 index d92593b..0000000 --- a/zhon-1.1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:291583edc10fab6ea7dc3ad6c9054a626884d2413b9a1288f5753e4965ffbd5b -size 102633 diff --git a/zhon-2.0.2.tar.gz b/zhon-2.0.2.tar.gz new file mode 100644 index 0000000..b0f6006 --- /dev/null +++ b/zhon-2.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5027f511ca4ca486d7d1cb070d17dfe6c97828338f8ecbbae1ccd4c3d84d31af +size 100473