diff --git a/cwcwidth-0.1.10.tar.gz b/cwcwidth-0.1.10.tar.gz new file mode 100644 index 0000000..1515e53 --- /dev/null +++ b/cwcwidth-0.1.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7468760f72c1f4107be1b2b2854bc000401ea36a69daed36fb966a1e19a7a124 +size 60265 diff --git a/cwcwidth-0.1.9.tar.gz b/cwcwidth-0.1.9.tar.gz deleted file mode 100644 index 25443bf..0000000 --- a/cwcwidth-0.1.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f19d11a0148d4a8cacd064c96e93bca8ce3415a186ae8204038f45e108db76b8 -size 57892 diff --git a/python-cwcwidth.changes b/python-cwcwidth.changes index 80ed0aa..b7964da 100644 --- a/python-cwcwidth.changes +++ b/python-cwcwidth.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Mar 19 08:57:46 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.1.10 + * Drop support for Python 3.8. + * Add support for Python 3.13. + * Update Unicode definition to 15.1. +- Limit Python files matched in %files section +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install + ------------------------------------------------------------------- Fri Nov 10 13:26:49 UTC 2023 - Dirk Müller diff --git a/python-cwcwidth.spec b/python-cwcwidth.spec index 267bcb1..8b997b8 100644 --- a/python-cwcwidth.spec +++ b/python-cwcwidth.spec @@ -1,7 +1,7 @@ # # spec file for package python-cwcwidth # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-cwcwidth -Version: 0.1.9 +Version: 0.1.10 Release: 0 Summary: Python bindings for wc(s)width License: MIT URL: https://github.com/sebastinas/cwcwidth Source: https://files.pythonhosted.org/packages/source/c/cwcwidth/cwcwidth-%{version}.tar.gz BuildRequires: %{python_module Cython} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros %python_subpackages @@ -38,15 +40,16 @@ Python bindings for wc(s)width %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %files %{python_files} %doc CHANGELOG.md README.md %license LICENSE -%{python_sitearch}/* +%{python_sitearch}/cwcwidth +%{python_sitearch}/cwcwidth-%{version}.dist-info %changelog