1
0
forked from pool/python-defcon

Compare commits

6 Commits

Author SHA256 Message Date
087c611e9d Accepting request 1315320 from devel:languages:python
Forwarded request #1314821 from glaubitz

- 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/1315320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-defcon?expand=0&rev=13
2025-11-03 17:56:21 +00:00
465c70ce06 - 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/package/show/devel:languages:python/python-defcon?expand=0&rev=24
2025-11-03 14:31:00 +00:00
33fec8c94d Accepting request 1282966 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1282966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-defcon?expand=0&rev=12
2025-06-05 18:34:37 +00:00
69c56a87d6 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-defcon?expand=0&rev=22
2025-06-05 06:05:20 +00:00
d130e802aa Accepting request 1269476 from devel:languages:python
- update to 0.12.1:
  * clear glyph.lib on glyph.clear
- update to 0.12.0:
  * Loop over all possibilities and test if one of them is
    disabled
- update to 0.11.0:
  * add `.readthedocs.yaml`
  * Remove some big memory attributes from all defcon objects on
    delete
  * Mark regex/docstring as raw to fix SyntaxWarning invalid
    escape seq
  * Remove a useless shebang line in a non-executable test script
  * Remove guideline color key when setting color none
  * Update tested python versions

OBS-URL: https://build.opensuse.org/request/show/1269476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-defcon?expand=0&rev=11
2025-04-15 14:47:20 +00:00
8dff7d437b - update to 0.12.1:
* clear glyph.lib on glyph.clear
- update to 0.12.0:
  * Loop over all possibilities and test if one of them is
    disabled
- update to 0.11.0:
  * add `.readthedocs.yaml`
  * Remove some big memory attributes from all defcon objects on
    delete
  * Mark regex/docstring as raw to fix SyntaxWarning invalid
    escape seq
  * Remove a useless shebang line in a non-executable test script
  * Remove guideline color key when setting color none
  * Update tested python versions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-defcon?expand=0&rev=20
2025-04-15 08:09:09 +00:00
4 changed files with 47 additions and 14 deletions

View File

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

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,37 @@
-------------------------------------------------------------------
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>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Apr 15 08:08:48 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 0.12.1:
* clear glyph.lib on glyph.clear
- update to 0.12.0:
* Loop over all possibilities and test if one of them is
disabled
- update to 0.11.0:
* add `.readthedocs.yaml`
* Remove some big memory attributes from all defcon objects on
delete
* Mark regex/docstring as raw to fix SyntaxWarning invalid
escape seq
* Remove a useless shebang line in a non-executable test script
* Remove guideline color key when setting color none
* Update tested python versions
-------------------------------------------------------------------
Mon Sep 18 09:19:26 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-defcon
#
# 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,22 +16,21 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-defcon
Version: 0.10.3
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
@@ -41,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}
@@ -56,10 +55,10 @@ A set of UFO based objects optimized for use in font editing applications.
sed -i -e '1{\,^#!%{_bindir}/env python,d}' Lib/defcon/test/tools/test_unicodeTools.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check