15
0

- update to 0.1.12:

* Drop support for Python 3.10.
  * Add support for building extensions with limited API.
  * Build wheels for PyPI with limited API.
  * Drop support for Python 3.9.
  * Add support for Python 3.14.
- Update to version 0.1.8
  * Provide type information for mypy.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cwcwidth?expand=0&rev=13
This commit is contained in:
2026-01-22 14:22:37 +00:00
committed by Git OBS Bridge
commit 5c3ca30b10
6 changed files with 158 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
cwcwidth-0.1.10.tar.gz Normal file
View File

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

3
cwcwidth-0.1.12.tar.gz Normal file
View File

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

73
python-cwcwidth.changes Normal file
View File

@@ -0,0 +1,73 @@
-------------------------------------------------------------------
Thu Jan 22 14:22:25 UTC 2026 - Dirk Müller <dmueller@suse.com>
- update to 0.1.12:
* Drop support for Python 3.10.
* Add support for building extensions with limited API.
* Build wheels for PyPI with limited API.
* Drop support for Python 3.9.
* Add support for Python 3.14.
-------------------------------------------------------------------
Wed Mar 19 08:57:46 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <dmueller@suse.com>
- update to 0.1.9:
* Drop support for Python 3.7.
* Add support for Python 3.12.
* Avoid redefinition of `_XOPEN_SOURCE`.
-------------------------------------------------------------------
Mon Nov 7 21:09:44 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 0.1.8
Set build-backend in pyproject.toml.
-------------------------------------------------------------------
Tue Sep 27 15:29:14 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 0.1.7
* Ensure that cython generated C source file is always included in sdist.
- Update to version 0.1.6
* Add support for Python 3.10
* Drop support for Python 3.6
- Update to version 0.1.5
* Fix type annotations
- Update to version 0.1.4
* Include tests again.
* Include C file again.
- Update to version 0.1.3
* Fix memory leaks in certain error cases.
* Modernize build system and rely on setuptool's Cython support.
* Add more tests.
* Skip some tests if not run in a UTF-8 locale.
* Use libc's implementation on Mac OS.
- Update to version 0.1.2
* Also build wheels with cibuildwheel.
* Provide type information for mypy.
-------------------------------------------------------------------
Tue Apr 6 14:50:58 UTC 2021 - Arun Persaud <arun@gmx.de>
- added missing cython requirement
-------------------------------------------------------------------
Mon Apr 5 01:36:20 UTC 2021 - Arun Persaud <arun@gmx.de>
- initial version (used in bpython and curtsies)

55
python-cwcwidth.spec Normal file
View File

@@ -0,0 +1,55 @@
#
# spec file for package python-cwcwidth
#
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-cwcwidth
Version: 0.1.12
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
%description
Python bindings for wc(s)width
%prep
%setup -q -n cwcwidth-%{version}
%build
export CFLAGS="%{optflags}"
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
%doc CHANGELOG.md README.md
%license LICENSE
%{python_sitearch}/cwcwidth
%{python_sitearch}/cwcwidth-%{version}.dist-info
%changelog