15
0

Accepting request 1230759 from devel:languages:python

- update to 0.3.0:
  - Removes Python 3.8 support.
  - Fixes transcriptions for "you" and "yong".

OBS-URL: https://build.opensuse.org/request/show/1230759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dragonmapper?expand=0&rev=6
This commit is contained in:
2024-12-13 21:39:16 +00:00
committed by Git OBS Bridge
4 changed files with 17 additions and 10 deletions

View File

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:669c04cbc83e64dc580c5c350d773efab7363c300c7934aec57cc35943f5b913
size 1396061

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Dec 13 10:10:25 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- update to 0.3.0:
- Removes Python 3.8 support.
- Fixes transcriptions for "you" and "yong".
-------------------------------------------------------------------
Sun Nov 10 22:06:57 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,25 +18,26 @@
%{?sle15_python_module_pythons}
Name: python-dragonmapper
Version: 0.2.7
Version: 0.3.0
Release: 0
Summary: Identification and conversion functions for Chinese text processing
License: MIT
Group: Development/Languages/Python
URL: https://github.com/tsroten/dragonmapper
Source: https://github.com/tsroten/dragonmapper/archive/v%{version}.tar.gz#/dragonmapper-%{version}.tar.gz
BuildRequires: %{python_module base > 3.8}
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-hanzidentifier >= 1.0.2
Requires: python-zhon >= 1.1.3
Requires: python-hanzidentifier >= 1.2.0
Requires: python-zhon >= 2.0.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module hanzidentifier >= 1.0.2}
BuildRequires: %{python_module zhon >= 1.1.3}
BuildRequires: %{python_module hanzidentifier >= 1.2.0}
BuildRequires: %{python_module zhon >= 2.0.0}
# /SECTION
%python_subpackages
@@ -55,8 +56,7 @@ Identification and conversion functions for Chinese text processing.
%check
export LANG=en_US.UTF-8
# skips because of gh#tsroten/dragonmapper#35
%pytest -k 'not (test_identify or test_is_ipa or test_is_pinyin or test_is_pinyin_compatible or test_accented_to_numbered or test_numbered_to_accented)'
%pytest
%files %{python_files}
%doc AUTHORS.rst CHANGES.rst README.rst