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