From 5c3ca30b1074d05224e20fa23fbc9f95517aaf7d813e23486ceed5879df7e07a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 22 Jan 2026 14:22:37 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + cwcwidth-0.1.10.tar.gz | 3 ++ cwcwidth-0.1.12.tar.gz | 3 ++ python-cwcwidth.changes | 73 +++++++++++++++++++++++++++++++++++++++++ python-cwcwidth.spec | 55 +++++++++++++++++++++++++++++++ 6 files changed, 158 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 cwcwidth-0.1.10.tar.gz create mode 100644 cwcwidth-0.1.12.tar.gz create mode 100644 python-cwcwidth.changes create mode 100644 python-cwcwidth.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc 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.12.tar.gz b/cwcwidth-0.1.12.tar.gz new file mode 100644 index 0000000..c4b8704 --- /dev/null +++ b/cwcwidth-0.1.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfc16531d1246dd2558eb9b3a63aa37a9978672b956860dc5426da2343ebf366 +size 72009 diff --git a/python-cwcwidth.changes b/python-cwcwidth.changes new file mode 100644 index 0000000..4809a17 --- /dev/null +++ b/python-cwcwidth.changes @@ -0,0 +1,73 @@ +------------------------------------------------------------------- +Thu Jan 22 14:22:25 UTC 2026 - Dirk Müller + +- 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 + +- 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 + +- 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 + +- Update to version 0.1.8 + Set build-backend in pyproject.toml. + +------------------------------------------------------------------- +Tue Sep 27 15:29:14 UTC 2022 - Yogalakshmi Arunachalam + +- 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 + +- added missing cython requirement + +------------------------------------------------------------------- +Mon Apr 5 01:36:20 UTC 2021 - Arun Persaud + +- initial version (used in bpython and curtsies) + diff --git a/python-cwcwidth.spec b/python-cwcwidth.spec new file mode 100644 index 0000000..c1451b1 --- /dev/null +++ b/python-cwcwidth.spec @@ -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