代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/fonttools 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# open this flag when support more pkg
%bcond_with tests
%global pypi_name fonttools
%global common_description %{expand:
fontTools is a library for manipulating fonts, written in Python. The project includes the TTX tool, that can
convert TrueType and OpenType fonts to and from an XML text format, which is also called TTX. It supports TrueType,
OpenType, AFM and to an extent Type 1 and some Mac-specific formats.}
Summary: Tools to manipulate font files
Name: fonttools
Version: 4.99.0
Release: 1%{?dist}
License: MIT
URL: https://github.com/fonttools/fonttools/
Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz
Requires: python3-fonttools python3-setuptools
BuildArch: noarch
Provides: ttx = %{version}-%{release}
%description
%{common_description}
%package -n python3-fonttools
Summary: Python 3 fonttools library
BuildRequires: python3-devel python3-setuptools python3-setuptools_scm
%if %{with tests}
BuildRequires: python3-zopfli python3-pytest python3-brotli python3-munkres python3-scipy python3-fs
%endif
Requires: python3-brotli python3-munkres python3-lxml python3-scipy python3-fs
BuildArch: noarch
%description -n python3-fonttools
%{common_description}
%prep
%autosetup -n %{name}-%{version} -p1
rm -rf *.egg-info
sed -i '1d' Lib/fontTools/mtiLib/__init__.py
%build
%py3_build
%install
%{__python3} setup.py install --skip-build --root %{buildroot}
%check
%if %{with tests}
PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m pytest --ignore Tests/otlLib/optimize_test.py
%endif
%files
%{_bindir}/pyftmerge
%{_bindir}/pyftsubset
%{_bindir}/ttx
%{_bindir}/fonttools
%{_mandir}/man1/ttx.1*
%files -n python3-fonttools
%license LICENSE
%doc NEWS.rst README.rst
%{python3_sitelib}/fontTools
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
%changelog
* Mon Apr 22 2024 Upgrade Robot <upbot@opencloudos.tech> - 4.99.0-1
- Upgrade to version 4.99.0
* Tue Feb 20 2024 Upgrade Robot <upbot@opencloudos.org> - 4.49.0-1
- Upgrade to version 4.49.0
- Fix CVE-2023-45139
* Tue Sep 19 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 4.42.0-3
- Rebuilt for python 3.11
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 4.42.0-2
- Rebuilt for OpenCloudOS Stream 23.09
* Mon Aug 21 2023 Shuo Wang <abushwang@tencent.com> - 4.42.0-1
- update to 4.42.0
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 4.30.0-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 4.30.0-2
- Rebuilt for OpenCloudOS Stream 23
* Tue Jan 31 2023 Shuo Wang <abushwang@tencent.com> - 4.30.0-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。