]> git.pld-linux.org Git - packages/python3-ufo2ft.git/blame - python3-ufo2ft.spec
rebuild with python 3.10
[packages/python3-ufo2ft.git] / python3-ufo2ft.spec
CommitLineData
84512c85
JB
1#
2# Conditional build:
3%bcond_without tests # unit tests
4
5Summary: A bridge between UFOs and FontTools
6Summary(pl.UTF-8): Pomost między UFO a FontTools
7Name: python3-ufo2ft
8Version: 2.25.1
42ca7031 9Release: 2
84512c85
JB
10License: MIT
11Group: Libraries/Python
12#Source0Download: https://pypi.org/simple/ufo2ft/
13Source0: https://files.pythonhosted.org/packages/source/u/ufo2ft/ufo2ft-%{version}.zip
14# Source0-md5: 5df6eaf6c35247d3e0fbcdf7c68165f4
15URL: https://pypi.org/project/ufo2ft/
16BuildRequires: python3-modules >= 1:3.7
17BuildRequires: python3-setuptools
18BuildRequires: python3-setuptools_scm
19%if %{with tests}
20BuildRequires: python3-booleanOperations >= 0.9.0
21BuildRequires: python3-cffsubr >= 0.2.8
22BuildRequires: python3-compreffor >= 0.4.6
23BuildRequires: python3-cu2qu >= 1.6.7
24BuildRequires: python3-fonttools >= 4.26.1
25BuildRequires: python3-fs >= 2.2.0
26BuildRequires: python3-pytest >= 2.8
27BuildRequires: python3-skia-pathops >= 0.5.1
28BuildRequires: python3-ufoLib2 >= 0.7.1
29%endif
30BuildRequires: rpm-pythonprov
31BuildRequires: rpmbuild(macros) >= 1.714
32BuildRequires: unzip
33Requires: python3-modules >= 1:3.7
34BuildArch: noarch
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
38ufo2ft ("UFO to FontTools") is a fork of ufo2fdk whose goal is to
39generate OpenType font binaries from UFOs without the FDK dependency.
40
41%description -l pl.UTF-8
42ufo2ft ("UFO to FontTools") to odgałęzienie projektu ufo2fdk. Celem
43odgałęzienia jest generowanie z UFO binariów fontów OpenType bez
44zależności od FDK.
45
46%prep
47%setup -q -n ufo2ft-%{version}
48
49%build
50%py3_build
51
52%if %{with tests}
53PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
54PYTHONPATH=$(pwd)/Lib \
55%{__python3} -m pytest tests
56%endif
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%py3_install
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68%doc LICENSE README.rst
69%{py3_sitescriptdir}/ufo2ft
70%{py3_sitescriptdir}/ufo2ft-%{version}-py*.egg-info
This page took 0.086483 seconds and 4 git commands to generate.