forked from pool/python-pyclipper
Accepting request 810870 from home:pgajdos:python
- drop dependency on unittest2 for python3 - added patches https://github.com/fonttools/pyclipper/pull/32 + python-pyclipper-no-unittest2.patch OBS-URL: https://build.opensuse.org/request/show/810870 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyclipper?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
2aa9c085de
commit
b25d132839
@@ -18,6 +18,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-pyclipper
|
||||
Version: 1.1.0.post3
|
||||
Release: 0
|
||||
@@ -25,12 +26,16 @@ Summary: Cython wrapper for the Clipper library
|
||||
License: MIT
|
||||
URL: https://github.com/fonttools/pyclipper
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyclipper/pyclipper-%{version}.zip
|
||||
# https://github.com/fonttools/pyclipper/pull/32
|
||||
Patch0: python-pyclipper-no-unittest2.patch
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module unittest2}
|
||||
%if %{with python2}
|
||||
BuildRequires: python2-unittest2
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -44,6 +49,7 @@ the C++ translation of the `Angus Johnson's Clipper library (ver.
|
||||
|
||||
%prep
|
||||
%setup -q -n pyclipper-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Reference in New Issue
Block a user