6 Commits

Author SHA256 Message Date
09efc1f51a Accepting request 1314394 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1314394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wcwidth?expand=0&rev=23
2025-10-30 16:09:44 +00:00
507faa0586 - Update to 0.2.14
* Drop Support for Python 2.7 and 3.5. PR #117.
  * Update tables to include Unicode Specifications 16.0.0 and
    17.0.0. PR #146.
  * Bugfix U+00AD SOFT HYPHEN should measure as 1, versions 0.2.9
    through 0.2.13 measured as 0. PR #149.
- Drop 0001-Don-t-use-codecs.open-on-Python-3.patch, merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wcwidth?expand=0&rev=54
2025-10-29 14:20:47 +00:00
f4d256b436 Accepting request 1302928 from devel:languages:python
- add 0001-Don-t-use-codecs.open-on-Python-3.patch to fix
  deprecations for python 3.14

OBS-URL: https://build.opensuse.org/request/show/1302928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wcwidth?expand=0&rev=22
2025-09-05 19:42:37 +00:00
7f05206a56 - add 0001-Don-t-use-codecs.open-on-Python-3.patch to fix
deprecations for python 3.14

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wcwidth?expand=0&rev=52
2025-09-05 11:57:45 +00:00
e9a5085166 Accepting request 1285276 from devel:languages:python
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1285276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wcwidth?expand=0&rev=21
2025-06-13 16:43:17 +00:00
140ee6c1dd - Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wcwidth?expand=0&rev=50
2025-06-13 02:46:43 +00:00
4 changed files with 34 additions and 8 deletions

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Oct 29 13:02:46 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.2.14
* Drop Support for Python 2.7 and 3.5. PR #117.
* Update tables to include Unicode Specifications 16.0.0 and
17.0.0. PR #146.
* Bugfix U+00AD SOFT HYPHEN should measure as 1, versions 0.2.9
through 0.2.13 measured as 0. PR #149.
- Drop 0001-Don-t-use-codecs.open-on-Python-3.patch, merged upstream
-------------------------------------------------------------------
Fri Sep 5 11:56:57 UTC 2025 - Dirk Müller <dmueller@suse.com>
- add 0001-Don-t-use-codecs.open-on-Python-3.patch to fix
deprecations for python 3.14
-------------------------------------------------------------------
Fri Jun 13 02:43:13 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Sat Jan 6 13:09:08 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-wcwidth
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 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
@@ -18,14 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-wcwidth
Version: 0.2.13
Version: 0.2.14
Release: 0
Summary: Number of Terminal column cells of wide-character codes
License: MIT
URL: https://github.com/jquast/wcwidth
Source: https://github.com/jquast/wcwidth/archive/%{version}.tar.gz#/wcwidth-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -54,10 +56,10 @@ sed -i 's/--cov[-=a-z]*//g' tox.ini
sed -i 's/looponfailroots.*//' tox.ini
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -66,6 +68,7 @@ sed -i 's/looponfailroots.*//' tox.ini
%files %{python_files}
%license LICENSE
%doc docs/intro.rst
%{python_sitelib}/*
%{python_sitelib}/wcwidth
%{python_sitelib}/wcwidth-%{version}.dist-info
%changelog

Binary file not shown.

3
wcwidth-0.2.14.tar.gz Normal file
View File

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