forked from pool/python-defcon
- 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
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
defcon-0.12.1.zip
Normal file
3
defcon-0.12.1.zip
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aca8674a8f71723af6a08f332f3ed3156ba0fe00591eb5aff7572caad1472d09
|
||||
size 521128
|
||||
3
defcon-0.12.2.tar.gz
Normal file
3
defcon-0.12.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:25dfe7fd0152ccf292cb190d1928a47d588899c20b046854293e039e1c93e5e0
|
||||
size 417681
|
||||
120
python-defcon.changes
Normal file
120
python-defcon.changes
Normal file
@@ -0,0 +1,120 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- update to 0.10.3:
|
||||
* Add in missing `_dirty`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 7 17:55:50 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to 0.10.2
|
||||
* Create a new glyphset from the provided reader by @typemytype in #409
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 19 11:27:11 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.10.1:
|
||||
* Python 3.10 support
|
||||
* Add glyphSet argument in _stampLayerInfoDataState
|
||||
* when guideline.name is set to None remove the name key
|
||||
* add eq and hash to FuzzyNumber
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 23 16:18:07 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.10.0:
|
||||
* drop python 3.6 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 16 10:22:57 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.9.0
|
||||
* Makes glyph.image object “sticky”, just like lib objects (#352)
|
||||
* Adds a .tempLib to font, layer, and glyph that is available for
|
||||
the life of the object and is never saved with the ufo. (#367)
|
||||
- Skip python36: FontTools now dropped it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 23 19:23:58 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- reinstate python36 build (python36-FontTools is available)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 19 01:52:35 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update 0.8.1:
|
||||
* Fixes behavior with None in removeObserver (#349)
|
||||
* Resets glyph set on save (#297)
|
||||
* Gives Anchors and Guidelines a glyph attribute (#325)
|
||||
* Dispatcher enhancements (#337)
|
||||
* Adds __eq__ in BaseDict (#344)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 13 10:25:23 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- skip python 3.6 (needs FontTools which needs scipy)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 15 05:47:09 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 0.7.2:
|
||||
* Name the wheel file as non-universal (py3-only).
|
||||
* [setup.py] Mark library as requiring Python 3.6+, or else pip2 will attempt to install it on Python 2.7, which is no longer supported (#293).
|
||||
* Dropped support for Py2, now only Py3
|
||||
* Updated documentation: #232
|
||||
* Fixed docstring typos (thanks @Space0726!): #263
|
||||
* added notification: Font.GuidelineWillBeAdded: #239
|
||||
* Fixes for UFOZ (#209 testForExternalChanges and #218 glyphSet is required): #220
|
||||
* Added close to font: #269
|
||||
* Setting glyph.unicode will now set glyph.unicodes to a one member list: #258
|
||||
* Add notifications for: Glyph.LeftMarginWillChange, Glyph.LeftMarginDidChange, Glyph.RightMarginWillChange, Glyph.RightMarginDidChange, Glyph.TopMarginWillChange, Glyph.TopMarginDidChange, Glyph.BottomMarginWillChange, Glyph.BottomMarginDidChange: #253
|
||||
* Improved joinSegments: #259
|
||||
* Added identifier to addComponent callback: #268
|
||||
* Fix glyphs with components getting proper area value: #272
|
||||
* Use ufoFormatTuple: #289
|
||||
* Add ufoFormatVersionTuple property, deprecate ufoFormatVersion: #291
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 26 07:45:45 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix FontTool dep (camelcase)
|
||||
- Remove devel dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 20 10:29:57 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Initial release of python-defcon
|
||||
73
python-defcon.spec
Normal file
73
python-defcon.spec
Normal file
@@ -0,0 +1,73 @@
|
||||
#
|
||||
# spec file for package python-defcon
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-defcon
|
||||
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}.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
|
||||
Requires: python-FontTools >= 4.59.0
|
||||
# SECTION fonttools[ufo,unicode]
|
||||
Requires: python-fs >= 2.2
|
||||
%if 0%{?python_version_nodots} < 39
|
||||
Requires: python-unicodedata2 >= 13.0.0
|
||||
%endif
|
||||
# /SECTION
|
||||
Suggests: python-fontPens >= 0.1.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
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}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A set of UFO based objects optimized for use in font editing applications.
|
||||
|
||||
%prep
|
||||
%setup -q -n defcon-%{version}
|
||||
sed -i -e '1{\,^#!%{_bindir}/env python,d}' Lib/defcon/test/tools/test_unicodeTools.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license License.txt
|
||||
%{python_sitelib}/defcon
|
||||
%{python_sitelib}/defcon-%{version}*-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user