From 52112cdb533c8bcc95f5048cc8b4503948d9a0caa53b247f00541c85648e0c21 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 7 Dec 2023 22:20:23 +0000 Subject: [PATCH] - update to 1.2.0: * switch to hatch * drop python 2 support * Drop Python 2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hanzidentifier?expand=0&rev=9 --- hanzidentifier-1.1.0.tar.gz | 3 --- hanzidentifier-1.2.0.tar.gz | 3 +++ python-hanzidentifier.changes | 9 ++++++++- python-hanzidentifier.spec | 22 +++++++++++----------- 4 files changed, 22 insertions(+), 15 deletions(-) delete mode 100644 hanzidentifier-1.1.0.tar.gz create mode 100644 hanzidentifier-1.2.0.tar.gz diff --git a/hanzidentifier-1.1.0.tar.gz b/hanzidentifier-1.1.0.tar.gz deleted file mode 100644 index cb75283..0000000 --- a/hanzidentifier-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:72abcf9c8be3d43ee54c5a4491aec87c2c7488e3ea5a721e8ea663731211de50 -size 4708 diff --git a/hanzidentifier-1.2.0.tar.gz b/hanzidentifier-1.2.0.tar.gz new file mode 100644 index 0000000..7ab3d01 --- /dev/null +++ b/hanzidentifier-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:656d8241aa0aba3f0dfc829b3df46c4af66788ef67b6df9c8734674555b1f714 +size 5252 diff --git a/python-hanzidentifier.changes b/python-hanzidentifier.changes index a177c97..252583f 100644 --- a/python-hanzidentifier.changes +++ b/python-hanzidentifier.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 7 22:20:10 UTC 2023 - Dirk Müller + +- update to 1.2.0: + * switch to hatch + * drop python 2 support + ------------------------------------------------------------------- Fri Apr 21 12:26:03 UTC 2023 - Dirk Müller @@ -13,7 +20,7 @@ Fri Oct 28 17:32:02 UTC 2022 - Yogalakshmi Arunachalam - Update to version v1.1.0 (2020-10-15) * New function: count_chinese(). Thanks to ramwin. - * Drop Python 2 + * Drop Python 2 ------------------------------------------------------------------- Mon May 31 06:51:49 UTC 2021 - pgajdos@suse.com diff --git a/python-hanzidentifier.spec b/python-hanzidentifier.spec index 0ab657d..d00a1d5 100644 --- a/python-hanzidentifier.spec +++ b/python-hanzidentifier.spec @@ -16,25 +16,25 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-hanzidentifier -Version: 1.1.0 +Version: 1.2.0 Release: 0 -License: MIT Summary: Python module that identifies Chinese text as Simplified or Traditional -URL: https://github.com/tsroten/hanzidentifier +License: MIT Group: Development/Languages/Python +URL: https://github.com/tsroten/hanzidentifier Source: https://github.com/tsroten/hanzidentifier/archive/v%{version}.tar.gz#/hanzidentifier-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-zhon >= 1.1.3 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module zhon >= 1.1.3} # /SECTION -BuildRequires: fdupes -Requires: python-zhon >= 1.1.3 -BuildArch: noarch - %python_subpackages %description @@ -44,10 +44,10 @@ Python module that identifies Chinese text as Simplified or Traditional. %setup -q -n hanzidentifier-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check