17
0

Compare commits

2 Commits

Author SHA256 Message Date
cb82f1b248 Accepting request 1254395 from devel:languages:python
Forwarded request #1254338 from 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

OBS-URL: https://build.opensuse.org/request/show/1254395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cwcwidth?expand=0&rev=5
2025-03-20 18:23:45 +00:00
4931e8533b Accepting request 1254338 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1254338
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cwcwidth?expand=0&rev=11
2025-03-19 12:27:31 +00:00
4 changed files with 28 additions and 9 deletions

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

View File

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

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
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>

View File

@@ -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