Repository navigation
Expand file tree
/
Copy pathpython3-booleanOperations.spec
More file actions
66 lines (56 loc) · 1.71 KB
/
Copy pathpython3-booleanOperations.spec
File metadata and controls
66 lines (56 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# Conditional build:
%bcond_without tests # unit tests
Summary: Boolean operations on paths
Summary(pl.UTF-8): Operacje logiczne na ścieżkach
Name: python3-booleanOperations
Version: 0.10.0
Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/booleanOperations/
Source0: https://files.pythonhosted.org/packages/source/b/booleanoperations/booleanoperations-%{version}.tar.gz
# Source0-md5: fcfe98676ad174b23da934491dfcc4ca
URL: https://pypi.org/project/booleanOperations/
BuildRequires: python3-modules >= 1:3.9
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm >= 1.14.1
%if %{with tests}
BuildRequires: python3-defcon
BuildRequires: python3-fontPens
BuildRequires: python3-fonttools >= 4.0.2
BuildRequires: python3-fs
BuildRequires: python3-pyclipper >= 1.1.0.post1
BuildRequires: python3-pytest >= 3.0.2
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
Requires: python3-modules >= 1:3.9
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Boolean operations on paths using a super fast polygon clipper
library by Angus Johnson.
%description -l pl.UTF-8
Operacje logiczne na ścieżkach przy użyciu bardzo szybkiej
biblioteki obcinania wielokątów autorstwa Angusa Johnsona.
%prep
%setup -q -n booleanoperations-%{version}
%build
%py3_build
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
PYTHONPATH=$(pwd)/Lib \
PYTEST_PLUGINS= \
%{__python3} -m pytest tests
%endif
%install
rm -rf $RPM_BUILD_ROOT
%py3_install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc LICENSE README.rst
%{py3_sitescriptdir}/booleanOperations
%{py3_sitescriptdir}/booleanOperations-%{version}-py*.egg-info