Accepting request 1314821 from home:glaubitz:branches:devel:languages:python

- Update to 0.12.2
  * simplify use of pyfilesystem2 API in test suite
  * bump fonttools >= 4.59, remove fs dependency
- Remove unzip package from BuildRequires
- Switch source archive format to TAR.GZ
- Drop support for older Python versions
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1314821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-defcon?expand=0&rev=24
This commit is contained in:
2025-11-03 14:31:00 +00:00
committed by Git OBS Bridge
parent 2f9db68b23
commit 287dbccbca
4 changed files with 19 additions and 10 deletions

View File

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

3
defcon-0.12.2.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Oct 31 12:47:56 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.12.2
* simplify use of pyfilesystem2 API in test suite
* bump fonttools >= 4.59, remove fs dependency
- Remove unzip package from BuildRequires
- Switch source archive format to TAR.GZ
- Drop support for older Python versions
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Thu Jun 5 06:01:35 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -16,23 +16,21 @@
#
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-defcon
Version: 0.12.1
Version: 0.12.2
Release: 0
Summary: A set of UFO based objects for use in font editing applications
License: MIT
URL: https://github.com/robotools/defcon
Source: https://files.pythonhosted.org/packages/source/d/defcon/defcon-%{version}.zip
Source: https://files.pythonhosted.org/packages/source/d/defcon/defcon-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-FontTools >= 4.10.2
Requires: python-FontTools >= 4.59.0
# SECTION fonttools[ufo,unicode]
Requires: python-fs >= 2.2
%if 0%{?python_version_nodots} < 39
@@ -42,7 +40,7 @@ Requires: python-unicodedata2 >= 13.0.0
Suggests: python-fontPens >= 0.1.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module FontTools >= 4.10.2}
BuildRequires: %{python_module FontTools >= 4.59.0}
BuildRequires: %{python_module fs >= 2.2}
BuildRequires: %{python_module pytest >= 3.0.3}
BuildRequires: %{python_module unicodedata2 >= 13.0.0 if %python-base < 3.9}