15
0

Accepting request 1131721 from devel:languages:python

- update to 1.2.0:
  * switch to hatch
  * drop python 2 support

  * Drop Python 2

OBS-URL: https://build.opensuse.org/request/show/1131721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hanzidentifier?expand=0&rev=5
This commit is contained in:
2023-12-08 21:31:59 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72abcf9c8be3d43ee54c5a4491aec87c2c7488e3ea5a721e8ea663731211de50
size 4708

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:656d8241aa0aba3f0dfc829b3df46c4af66788ef67b6df9c8734674555b1f714
size 5252

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Dec 7 22:20:10 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.2.0:
* switch to hatch
* drop python 2 support
-------------------------------------------------------------------
Fri Apr 21 12:26:03 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -13,7 +20,7 @@ Fri Oct 28 17:32:02 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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

View File

@@ -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