forked from pool/python-pyclipper
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyclipper?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
86f0ea6a28
commit
2f2393667a
@@ -1,6 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyclipper
|
# spec file for package python-pyclipper
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2020 SUSE LLC
|
||||||
# Copyright (c) 2020 Xu Zhao (i@xuzhao.net).
|
# Copyright (c) 2020 Xu Zhao (i@xuzhao.net).
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -15,27 +16,25 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pyclipper
|
Name: python-pyclipper
|
||||||
Version: 1.1.0.post3
|
Version: 1.1.0.post3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Cython wrapper for the Clipper library
|
Summary: Cython wrapper for the Clipper library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/fonttools/pyclipper
|
URL: https://github.com/fonttools/pyclipper
|
||||||
Source: pyclipper-%{version}.zip
|
Source: https://files.pythonhosted.org/packages/source/p/pyclipper/pyclipper-%{version}.zip
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module unittest2}
|
BuildRequires: %{python_module unittest2}
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: unzip
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: unzip
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -43,9 +42,6 @@ Pyclipper is a Cython wrapper exposing public functions and classes of
|
|||||||
the C++ translation of the `Angus Johnson's Clipper library (ver.
|
the C++ translation of the `Angus Johnson's Clipper library (ver.
|
||||||
6.4.2) <http://www.angusj.com/delphi/clipper.php>`__.
|
6.4.2) <http://www.angusj.com/delphi/clipper.php>`__.
|
||||||
|
|
||||||
Pyclipper releases were tested with Python 2.7 and 3.4 on Linux (Ubuntu
|
|
||||||
14.04, x64) and Windows (8.1, x64).
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pyclipper-%{version}
|
%setup -q -n pyclipper-%{version}
|
||||||
|
|
||||||
@@ -65,4 +61,3 @@ Pyclipper releases were tested with Python 2.7 and 3.4 on Linux (Ubuntu
|
|||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user