Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mcalabkova:branches:devel:languages:python
python-FontTools
python-FontTools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-FontTools.spec of Package python-FontTools
# # spec file for package python-FontTools # # Copyright (c) 2024 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-FontTools Version: 4.47.0 Release: 0 Summary: Suite of Tools and Libraries for Manipulating Fonts License: MIT AND OFL-1.1 Group: Development/Languages/Python URL: https://github.com/fonttools/fonttools # The PyPI archive lacks some test files, but the source is identical to the github archive Source: https://github.com/fonttools/fonttools/archive/refs/tags/%{version}.tar.gz#/fonttools-%{version}.tar.gz BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip # some packages should require fonttools[ufo] but expect fs to be pulled in by default. Requires: python-fs >= 2.2.0 Requires(post): update-alternatives Requires(postun):update-alternatives Recommends: python-Brotli >= 1.0.1 Recommends: python-lxml >= 4.0 Recommends: python-munkres >= 1.1.4 Recommends: python-reportlab Recommends: python-sympy Recommends: python-unicodedata2 >= 15.1.0 Recommends: python-zopfli >= 0.1.6 Provides: python-fonttools = %{version}-%{release} BuildArch: noarch BuildRequires: %{python_module Brotli >= 1.0.1} BuildRequires: %{python_module fs >= 2.2.0} BuildRequires: %{python_module pytest} %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" Obsoletes: fonttools < %{version}-%{release} Provides: fonttools = %{version}-%{release} %endif %python_subpackages %description FontTools is a suite of tools and libraries for manipulating fonts written in Python. It currently reads and writes TrueType font files, reads PostScript Type 1 fonts, and more. It contains two command line programs to convert TrueType fonts to an XML based format (called TTX) and back. %prep %autosetup -p1 -n fonttools-%{version} %build %pyproject_wheel %install %pyproject_install %python_clone -a %{buildroot}%{_mandir}/man1/ttx.1 %python_clone -a %{buildroot}%{_bindir}/ttx %python_clone -a %{buildroot}%{_bindir}/pyftsubset %python_clone -a %{buildroot}%{_bindir}/pyftmerge %python_clone -a %{buildroot}%{_bindir}/fonttools %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 %pytest -ra %post %python_install_alternative ttx ttx.1 %python_install_alternative pyftsubset %python_install_alternative pyftmerge %python_install_alternative fonttools %postun %python_uninstall_alternative ttx %python_uninstall_alternative pyftsubset %python_uninstall_alternative pyftmerge %python_uninstall_alternative fonttools %files %{python_files} %license LICENSE LICENSE.external %doc README.rst NEWS.rst %python_alternative %{_bindir}/pyftmerge %python_alternative %{_bindir}/pyftsubset %python_alternative %{_bindir}/ttx %python_alternative %{_bindir}/fonttools %python_alternative %{_mandir}/man1/ttx.1%{?ext_man} %{python_sitelib}/fontTools %{python_sitelib}/fonttools-%{version}*-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor