Hello community, here is the log from the commit of package python3-pyside for openSUSE:Factory checked in at 2017-12-22 12:20:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-pyside (Old) and /work/SRC/openSUSE:Factory/.python3-pyside.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pyside" Fri Dec 22 12:20:08 2017 rev:4 rq:559045 version:1.2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python3-pyside/python3-pyside.changes 2016-02-01 19:56:45.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-pyside.new/python3-pyside.changes 2017-12-22 12:21:02.145368868 +0100 @@ -1,0 +2,29 @@ +Thu Dec 21 10:16:25 UTC 2017 - fab...@ritter-vogt.de + +- Split off common files to new python-pyside-common package + +------------------------------------------------------------------- +Sat Dec 2 15:44:04 UTC 2017 - fab...@ritter-vogt.de + +- Do not build against Qt4 WebKit: + * Vade retro satana +- BuildIgnore: openssl to not pull in conflicting openssl packages + +------------------------------------------------------------------- +Thu Mar 9 17:26:39 UTC 2017 - d...@stellardeath.org + +- Trivial fix to be able to use python 3.6 + +------------------------------------------------------------------- +Thu Sep 8 15:57:00 UTC 2016 - car...@techbyte.ca + +- Changed source from github to pypi.python.org +- Added python3-setuptools to support compilation of egg_info +- Added pyside-support-python3.5.patch to fix compiling of egg_info +- Dropped pyside-fix-include-dir-qtgui.patch, no longer required +- Changed build type to release +- Disable build to include version suffix +- Delivered pkginfo file with a suffix of "-py3" in order differentiate + pkg from python2 version. + +------------------------------------------------------------------- Old: ---- pyside-1.2.4.tar.gz pyside-fix-include-dir-qtgui.patch New: ---- PySide-1.2.4.tar.gz pyside-support-python3.5.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-pyside.spec ++++++ --- /var/tmp/diff_new_pack.IuLyND/_old 2017-12-22 12:21:03.033325572 +0100 +++ /var/tmp/diff_new_pack.IuLyND/_new 2017-12-22 12:21:03.037325377 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-pyside # -# Copyright (c) 2015 SUSE LINUX 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 @@ -16,28 +16,31 @@ # -Name: python3-pyside +%define _name pyside +%define libprefix lib%{_name} +%define pyname PySide +Name: python3-%{_name} Version: 1.2.4 Release: 0 Summary: PySide - python bindings for Qt License: LGPL-2.1+ Group: Development/Languages/Python Url: http://qt-project.org/wiki/PySide -Source0: https://github.com/PySide/PySide/archive/%{version}/pyside-%{version}.tar.gz -# PATCH-FIX pyside-fix-include-dir-qtgui r...@fthiessen.de -- fixes include directory for QtGui component. -# Reported upstream: https://bugreports.qt.io/browse/PYSIDE-283 -Patch0: pyside-fix-include-dir-qtgui.patch +Source0: https://pypi.python.org/packages/source/P/%{pyname}/%{pyname}-%{version}.tar.gz +Patch0: pyside-support-python3.5.patch +# We don't need this during build and it conflicts with libqt4-devel:libopenssl_1_0_0-devel +#!BuildIgnore: openssl BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: graphviz-devel -BuildRequires: libQtWebKit-devel BuildRequires: libqt4-devel >= 4.8 BuildRequires: libshiboken-python3-devel BuildRequires: libxslt-devel BuildRequires: phonon-devel BuildRequires: python3-devel BuildRequires: python3-pyside-shiboken +BuildRequires: python3-setuptools +Requires: python-pyside-common %description The PySide project provides LGPL-licensed Python bindings for the Qt @@ -45,6 +48,13 @@ open source and proprietary software development and ultimately aim to support all of the platforms as Qt itself. +%package -n python-pyside-common +Summary: PySide - files shared between PySide versions +Group: Development/Languages/Python + +%description -n python-pyside-common +This package contains files needed by PySide for Python 2 and Python 3. + %package devel Summary: PySide - python bindings for Qt Group: Development/Languages/Python @@ -64,40 +74,46 @@ applications. %prep -%setup -q -n PySide-%{version} +%setup -q -n %{pyname}-%{version} %patch0 -p1 %build -%cmake -DCMAKE_BUILD_TYPE=Debug \ - -DBUILD_TESTS=FALSE \ +python%{py3_ver} setup.py egg_info +cd sources/%{_name} +%cmake -DCMAKE_BUILD_TYPE=Release \ -DUSE_PYTHON3=1 \ - -DENABLE_VERSION_SUFFIX=TRUE \ + -DBUILD_TESTS=FALSE \ -DQT_PHONON_INCLUDE_DIR=%{_includedir}/phonon make %{?_smp_mflags} ctest -R qtcore || true %install -cd build -make DESTDIR=%{buildroot} install %{?_smp_mflags} +pushd sources/%{_name}/build +%makeinstall DESTDIR=%{buildroot} +# copy egg_info +cp -R %{_builddir}/%{pyname}-%{version}/%{_name}_package/%{pyname}.egg-info %{buildroot}%{python3_sitearch}/%{pyname}-%{version}-py%{py3_ver}.egg-info +mv %{buildroot}%{_libdir}/pkgconfig/%{_name}.pc %{buildroot}%{_libdir}/pkgconfig/%{_name}-py3.pc %fdupes %{buildroot} +popd %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %files %defattr(-,root,root) -%doc COPYING -%{_libdir}/libpyside-*.so.* -%{python3_sitearch}/PySide-*/ -%{python3_sitearch}/PySide/ -%{_datadir}/PySide-*/ +%doc sources/pyside/COPYING +%{_libdir}/%{libprefix}.*.so.* +%{python3_sitearch}/%{pyname}/ +%{python3_sitearch}/%{pyname}-%{version}-py%{py3_ver}.egg-info/ + +%files -n python-pyside-common +%{_datadir}/%{pyname}/ %files devel %defattr(-,root,root) -%{_includedir}/PySide-*/ -%{_libdir}/libpyside-*.so -%{_libdir}/cmake/PySide-%{version}/ -%{_libdir}/pkgconfig/pyside-*.pc +%{_includedir}/%{pyname}/ +%{_libdir}/%{libprefix}.*.so +%{_libdir}/cmake/* +%{_libdir}/pkgconfig/%{_name}-*.pc %changelog ++++++ pyside-support-python3.5.patch ++++++ diff --git a/setup.py b/setup.py index a9c96bf..b39df36 100644 --- a/setup.py +++ b/setup.py @@ -1005,6 +1005,8 @@ setup( 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Database', 'Topic :: Software Development', 'Topic :: Software Development :: Code Generators',