forked from pool/python-fontParts
Accepting request 1224721 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1224721 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fontParts?expand=0&rev=10
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:79e535dd2d48702f9bb222b7603953e2b5437970c6731c75c18fe2b3cb79a420
|
||||
size 500562
|
||||
@@ -1,26 +0,0 @@
|
||||
From d7484cd98051aa1588683136da0bb99eac31523b Mon Sep 17 00:00:00 2001
|
||||
From: Martin Weinelt <hexa@darmstadt.ccc.de>
|
||||
Date: Wed, 7 Feb 2024 15:03:48 +0100
|
||||
Subject: [PATCH] Replace remaining usage of assertEquals with assertEqual
|
||||
|
||||
This fixes the tests on Python 3.12, where assertEquals was removed.
|
||||
---
|
||||
Lib/fontParts/test/test_glyph.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Lib/fontParts/test/test_glyph.py b/Lib/fontParts/test/test_glyph.py
|
||||
index 1cad7814..20d01ae6 100644
|
||||
--- a/Lib/fontParts/test/test_glyph.py
|
||||
+++ b/Lib/fontParts/test/test_glyph.py
|
||||
@@ -1356,9 +1356,9 @@ def test_isEmpty_false_component(self):
|
||||
|
||||
def test_removeOverlap(self):
|
||||
glyph = self.getGlyph_generic()
|
||||
- self.assertEquals(len(glyph), 2)
|
||||
+ self.assertEqual(len(glyph), 2)
|
||||
glyph.removeOverlap()
|
||||
- self.assertEquals(len(glyph), 1)
|
||||
+ self.assertEqual(len(glyph), 1)
|
||||
|
||||
|
||||
def test_generator(test_name, metric, value):
|
||||
3
fontparts-0.12.3.zip
Normal file
3
fontparts-0.12.3.zip
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:966ccb22a3f5a8516a915373845968fc2ea43a6b9d749dd4d5e60b34dda1f9de
|
||||
size 501457
|
||||
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 10 21:49:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.12.3:
|
||||
* Update setup.py
|
||||
* Update fonttools to 4.54.1
|
||||
* Update base.reference doc
|
||||
* Fix copyData based on #758
|
||||
- update to 0.12.2:
|
||||
* Replace remaining usage of assertEquals with assertEqual. See
|
||||
* Fixes/tweaks to documentation
|
||||
* Get guidelines from the mathInfo object directly. See #738
|
||||
- drop fontParts-pr720-py312tests.patch: upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 3 18:07:37 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
||||
@@ -26,14 +26,12 @@
|
||||
%endif
|
||||
|
||||
Name: python-fontParts%{psuffix}
|
||||
Version: 0.12.1
|
||||
Version: 0.12.3
|
||||
Release: 0
|
||||
Summary: API for interacting with the parts of fonts
|
||||
License: MIT
|
||||
URL: https://github.com/robotools/fontParts
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fontParts/fontParts-%{version}.zip
|
||||
# PATCH-FIX-UPSTREAM fontParts-pr720-py312tests.patch gh#robotools/fontParts#720
|
||||
Patch0: https://github.com/robotools/fontParts/pull/720.patch#/fontParts-pr720-py312tests.patch
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fontParts/fontparts-%{version}.zip
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -70,7 +68,7 @@ BuildRequires: %{python_module unicodedata2 if %python-base < 3.9}
|
||||
An API for interacting with the parts of fonts during the font development process.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n fontParts-%{version}
|
||||
%autosetup -p1 -n fontparts-%{version}
|
||||
|
||||
%build
|
||||
export LANG=C.UTF-8
|
||||
|
||||
Reference in New Issue
Block a user