commit python3-CXX for openSUSE:Factory
Hello community, here is the log from the commit of package python3-CXX for openSUSE:Factory checked in at 2017-02-26 17:10:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-CXX (Old) and /work/SRC/openSUSE:Factory/.python3-CXX.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-CXX" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-CXX/python3-CXX.changes 2015-01-22 21:50:17.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-CXX.new/python3-CXX.changes 2017-02-26 17:10:03.360613614 +0100 @@ -1,0 +2,51 @@ +Thu Feb 23 15:44:33 UTC 2017 - ronisbr@gmail.com + +- Update to Version 7.0.1 + + Changelog v7.0.1 + ---------------- + * Add support for Full Unicode range on Windows. + * Add sym link for README.txt to allow testing of index.html. + + Changelog v7.0.0 + ---------------- + * Warning: This version fixes a number of problems that require source incompatible changes. + However by defining PYCXX_6_2_COMPATIBILITY the V6.2.x API is restored. This is not recommended for new code. + * The first version of python3 that is supported is 3.3. + * New source file needs to built: Src/cxx_exceptions.cxx. This file implements the new exception handling features. + * Fix the type used for lengths and sequence indexes to use Py_ssize_t. This will require sources changes for users of PyCXX. + * Implement smart handling of Exceptions between C++ and Python. You can now catch exceptions in C++ by type that are raised in C++ or Python. + * All builtin exceptions are support and are user defined exceptions. + * The base exception type is now BaseException not Exception. To upgrade source code replace all use of Exception with BaseException. + * The documentation has been updated to describe the new exception features. + * The supportSequence, supportMapping, supportNumber etc functions now take a bit mask that defines which specific callbacks are handled. + + Changelog v6.2.8 + ---------------- + * Fix crash when a member function is called via callMemberFunction() and that function raises an expection. + * Found in comment on StackOverFlow. Fix memory size allocated for new objects. It used the wrong size calculation, but was big enough to avoid problems. + + Changelog v6.2.7 + ---------------- + * Fix missing ptr__Unicode_Type. + * Fixes from learn0more@gmail.com make python2 also remember the m_module and add accessor functions. + * Fix for indirection issues from Vivian De Smedt. + * Update to work with latest Microsoft Visual C++ for python 2.7. All test run in Win32 and Win64. + * PyCXX.html documention has been updated, especially with 2TO3 information. + * Use delete[] for objects allocated with new[]. + + Changelog v6.2.6 + ---------------- + * Fix build issue with GCC 4.2.1 on FreeBSD and Mac OS X (stop python defining isspace as a macro). + * Remove support for python 3.1 (API's are unstable). + * Add Python 3.3 support. + * Patch from Michael Droettboom to fix compilation issues. + * Patch from Michael Droettboom to add buffer interface for python3. + +- specfile: + * Run spec-cleaner. + * Add macro `%{py3_incdir}` to correctly obtain the include directory for python3. + Thanks DimStar for this macro. +- Remove unneeded patch `python-CXX-6.2.5-fix-version.patch` + +------------------------------------------------------------------- Old: ---- pycxx-6.2.5.tar.gz python-CXX-6.2.5-fix-version.patch New: ---- pycxx-7.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-CXX.spec ++++++ --- /var/tmp/diff_new_pack.Nh6S1W/_old 2017-02-26 17:10:03.984518926 +0100 +++ /var/tmp/diff_new_pack.Nh6S1W/_new 2017-02-26 17:10:03.988518319 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-CXX # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,26 +18,23 @@ %define modname CXX %define tarname pycxx +%define py3_incdir %(python3 -c "from distutils import sysconfig; print (sysconfig.get_python_inc())") Name: python3-%{modname} -Version: 6.2.5 +Version: 7.0.1 Release: 0 Summary: Write Python extensions in C++ License: BSD-3-Clause Group: Development/Languages/Python Url: http://CXX.sourceforge.net/ -Source0: %{tarname}-%{version}.tar.gz +Source0: http://prdownloads.sourceforge.net/cxx/pycxx-%{version}.tar.gz Source1: %{name}-rpmlintrc # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: python-%{modname}-6.2.3-change-include-paths.patch -# PATCH-FIX-UPSTREAM python-CXX-6.2.5-fix-version.patch -- fix version number from 6.24 to 6.25, needs to be updated for new releases -Patch1: python-CXX-6.2.5-fix-version.patch BuildRequires: python3-2to3 BuildRequires: python3-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: python3-cxx = %{version} Obsoletes: python3-cxx < %{version} BuildArch: noarch -%define incl_ver %{py3_ver}%{?py3_abiflags} %description PyCXX is a set of classes to help create extensions of Python in the C @@ -60,21 +57,21 @@ %prep %setup -q -n %{tarname}-%{version} %patch0 -p1 -%patch1 -p1 %build python3 setup.py build %install + python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} -install %{modname}/*.hxx %{buildroot}/%{_includedir}/python%{incl_ver}/%{modname}/ -install %{modname}/*.h %{buildroot}/%{_includedir}/python%{incl_ver}/%{modname}/ -cp -R %{modname}/Python3 %{buildroot}/%{_includedir}/python%{incl_ver}/%{modname}/ +install %{modname}/*.hxx %{buildroot}/%{py3_incdir}/%{modname}/ +install %{modname}/*.h %{buildroot}/%{py3_incdir}/%{modname}/ +cp -R %{modname}/Python3 %{buildroot}/%{py3_incdir}/%{modname}/ install Src/*.c %{buildroot}/%{_datadir}/python%{py3_ver}/%{modname}/ install Src/*.cxx %{buildroot}/%{_datadir}/python%{py3_ver}/%{modname}/ cp -R Src/Python2 %{buildroot}/%{_datadir}/python%{py3_ver}/%{modname}/ chmod -x %{buildroot}/%{_datadir}/python%{py3_ver}/%{modname}/*.* -chmod -x %{buildroot}/%{_includedir}/python%{incl_ver}/%{modname}/*.* +chmod -x %{buildroot}/%{py3_incdir}/%{modname}/*.* %files %defattr(-,root,root) @@ -85,7 +82,7 @@ %files devel %defattr(-,root,root) %doc Doc/Python3/ -%{_includedir}/python%{incl_ver}/%{modname}/ +%{py3_incdir}/%{modname}/ %dir %{_datadir}/python%{py3_ver}/ %{_datadir}/python%{py3_ver}/%{modname}/ ++++++ pycxx-6.2.5.tar.gz -> pycxx-7.0.1.tar.gz ++++++ ++++ 8951 lines of diff (skipped)
participants (1)
-
root@hilbertn.suse.de