forked from pool/python-booleanOperations
This commit is contained in:
committed by
Git OBS Bridge
parent
07964f28f0
commit
af7d65f43e
3
_multibuild
Normal file
3
_multibuild
Normal file
@@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
||||
3
booleanOperations-0.8.2.zip
Normal file
3
booleanOperations-0.8.2.zip
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1750def605e53ca13cf45fedd31b360d241cc6082523e4b71d86c72dd3e9bc8a
|
||||
size 202758
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8cfa821c32ad374fa120d6b2e0b444ebeac57c91e6631528645fa19ac2a281b8
|
||||
size 202950
|
||||
@@ -17,12 +17,19 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-booleanOperations
|
||||
Version: 0.9.0
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-booleanOperations%{psuffix}
|
||||
Version: 0.8.2
|
||||
Release: 0
|
||||
Summary: Boolean operations on paths
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/typemytype/booleanOperations
|
||||
Source: https://files.pythonhosted.org/packages/source/b/booleanOperations/booleanOperations-%{version}.zip
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
@@ -31,16 +38,16 @@ BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
Requires: python-fonttools >= 4.0.2
|
||||
Requires: python-pyclipper >= 1.1.0.post1
|
||||
Requires: python-FontTools >= 3.32.0
|
||||
Requires: python-pyclipper >= 1.0.5
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module FontTools >= 3.32.0}
|
||||
BuildRequires: %{python_module defcon}
|
||||
BuildRequires: %{python_module fontPens}
|
||||
BuildRequires: %{python_module fonttools >= 4.0.2}
|
||||
BuildRequires: %{python_module pyclipper >= 1.1.0.post1}
|
||||
BuildRequires: %{python_module pyclipper >= 1.0.5}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -53,15 +60,21 @@ Boolean operations on paths.
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user