forked from pool/python-pycxx
- update to 7.1.7:
* Add support for building against python 3.11 alpha 4. * Replace use of deprecated PyUnicode APIs with the supported version. * Add support for more number methods, like matrix and the inplace versions. * Use IsInstance checking so that derived classes of builtin types can be used. * Add support for python 3.9 beta 1 changes * Fix for memory leak caused by wrong ref count on python3 Py::String objects. * Remove support for supportPrint() etc as the tp_print field is being removed from python either in 3.8 or 3.9. * Fix problem with compiling for Python 2 and the _Py_PackageContext symbol. * Add exception errorType() and errorValue() function to access the type and value of an exception. * Add support for Py_LIMITED_API aka PEP-384 - drop python-pycxx-7.0.3-python37.patch python-pycxx-7.0.3-setup.py.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycxx?expand=0&rev=13
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pycxx
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,16 +22,14 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-%{modname}
|
||||
Version: 7.0.3
|
||||
Version: 7.1.7
|
||||
Release: 0
|
||||
Summary: Python extensions in C++
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Python
|
||||
URL: http://CXX.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/cxx/%{modname}-%{version}.tar.gz
|
||||
Patch0: python-pycxx-7.0.3-python37.patch
|
||||
Patch1: python-pycxx-7.0.3-change-include-paths.patch
|
||||
Patch2: python-pycxx-7.0.3-setup.py.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
|
Reference in New Issue
Block a user