Hello community, here is the log from the commit of package python-kde4 for openSUSE:Factory checked in at 2013-04-22 14:31:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-kde4 (Old) and /work/SRC/openSUSE:Factory/.python-kde4.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kde4", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/python-kde4/python-kde4.changes 2013-03-14 15:36:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-kde4.new/python-kde4.changes 2013-04-22 14:31:55.000000000 +0200 @@ -1,0 +2,16 @@ +Sun Apr 14 07:58:14 UTC 2013 - [email protected] + +- Update descriptions so that the purpose of each package is clearer + +------------------------------------------------------------------- +Mon Mar 25 10:38:56 UTC 2013 - [email protected] + +- Split out sub-packages for seldomly-used modules that also have heavy + requirements: akonadi, khtml, knewstuff, phonon, plasma, nepomuk, soprano +- Merge common package into devel package. This previously made little + sense and the devel package was empty +- Proper update-alternatives for Python3 +- ldconfig shouldn't be needed +- %py_requires isn't really needed (especially not for Py3 / oS) + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python-kde4/python3-kde4.changes 2013-03-14 15:36:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-kde4.new/python3-kde4.changes 2013-04-22 14:31:55.000000000 +0200 @@ -1,0 +2,16 @@ +Sun Apr 14 07:59:22 UTC 2013 - [email protected] + +- Update descriptions so that the purpose of each package is clearer + +------------------------------------------------------------------- +Mon Mar 25 10:38:56 UTC 2013 - [email protected] + +- Split out sub-packages for seldomly-used modules that also have heavy + requirements: akonadi, khtml, knewstuff, phonon, plasma, nepomuk, soprano +- Merge common package into devel package. This previously made little + sense and the devel package was empty +- Proper update-alternatives for Python3 +- ldconfig shouldn't be needed +- %py_requires isn't really needed (especially not for Py3 / oS) + +------------------------------------------------------------------- Old: ---- pykde4-4.10.1.tar.xz New: ---- pykde4-4.10.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-kde4.spec ++++++ --- /var/tmp/diff_new_pack.gLhXLC/_old 2013-04-22 14:31:58.000000000 +0200 +++ /var/tmp/diff_new_pack.gLhXLC/_new 2013-04-22 14:31:58.000000000 +0200 @@ -17,7 +17,7 @@ Name: python-kde4 -Version: 4.10.1 +Version: 4.10.2 Release: 0 Summary: Python bindings for KDE 4 License: LGPL-2.1+ and GPL-2.0+ @@ -35,74 +35,172 @@ Requires: python-qt4 Requires: update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build -%py_requires +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%endif %kde4_runtime_requires -%kde4_akonadi_requires %description -Python KDE bindings using PyQt4 SIP technology. +Bindings for the KDE Development Platform based on PyQt4 and SIP. Use of these bindings +allows to write Python applications that use the KDE C++ libraries. + +%package akonadi +Summary: Python bindings for KDE 4 - Akonadi +Group: Development/Libraries/KDE +Requires: %{name} = %{version} +%kde4_akonadi_requires +%kde4_runtime_requires + +%description akonadi +This package contains bindings for the Akonadi PIM libraries, allowing the creation of +Python applications using Akonadi. + +%package khtml +Summary: Python bindings for KDE 4 - KHTML +Group: Development/Libraries/KDE +Requires: %{name} = %{version} +%kde4_runtime_requires + +%description khtml +This package contains Python bindings for the KHTML rendering engine, which can be +used from Python applications. + +%package knewstuff +Summary: Python bindings for KDE 4 - KNewStuff +Group: Development/Libraries/KDE +Requires: %{name} = %{version} + +%description knewstuff +This package contains Python bindings for the KNewStuff library. It allows the use of +the GHNS framework from Python. + +%package nepomuk +Summary: Python bindings for KDE 4 - Nepomuk +Group: Development/Libraries/KDE +Requires: %{name} = %{version} +%kde4_runtime_requires + +%description nepomuk +This package contains Python bindings for the Nepomuk semantic framework. + +%package plasma +Summary: Python bindings for KDE 4 - Plasma +Group: Development/Libraries/KDE +Requires: %{name} = %{version} +%kde4_runtime_requires + +%description plasma +This package contains Python bindings for the Plasma library. In +conjunction with the Python script engne, it allows writing Plasma widgets +in Python. + +%package phonon +Summary: Python bindings for KDE 4 - Phonon +Group: Development/Libraries/KDE +Requires: %{name} = %{version} + +%description phonon +This package contains Python bindings for the Phonon multimedia libraries. +These bindings allow the use of Phonon, and its associated media capabilities, +in Python applications. -%package common -Summary: Common files needed to build additional bindings for PyKDE4 +%package soprano +Summary: Python bindings for KDE 4 - Soprano Group: Development/Libraries/KDE +Requires: %{name} = %{version} -%description common -This package contains common files required to build additional bindings for -PyKDE4. It is used with either Python 2 or 3. +%description soprano +This pacakge contains Python bindings for the Soprano semantic library. +It allows the use of the library from Python applications. %package devel -Summary: Development files of python-kde4 +Summary: Development files of %{name} Group: Development/Libraries/KDE Requires: %{name} = %{version} -Requires: %{name}-common = %{version} +Provides: %{name}-common = %{version} +#TODO: Change back to '<' after next version update: +Obsoletes: %{name}-common <= %{version} Requires: python-qt4-devel %description devel This package contains development files for the Python bindings for the -KDE Development Platform. +KDE Development Platform. It also contains common files required to build +additional bindings for PyKDE4. It is used with either Python 2 or 3. %prep %setup -q -n pykde4-%{version} %build - %cmake_kde4 -d build -- -DPYKDEUIC4_ALTINSTALL=TRUE -DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE - %make_jobs +%cmake_kde4 -d build -- -DPYKDEUIC4_ALTINSTALL=TRUE -DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE +%make_jobs %install - cd build - - %kde4_makeinstall - %fdupes -s %{buildroot}%{_datadir} +cd build +%kde4_makeinstall +%fdupes -s %{buildroot}%{_datadir} +rm -rf %{buildroot}%{_kde4_appsdir}/pykde4/examples %post -/sbin/ldconfig update-alternatives --install %{_bindir}/pykdeuic4 pykdeuic4 %{_bindir}/pykdeuic4-%{py_ver} 50 %postun -/sbin/ldconfig - update-alternatives --remove pykdeuic4 %{_bindir}/pykdeuic4-%{py_ver} - if [ -e "%{_sysconfdir}/alternatives/pykdeuic4" ]; then update-alternatives --auto pykdeuic4 fi %files %defattr(-,root,root) -%{py_sitedir}/PyKDE4 -%exclude %{_kde4_appsdir}/pykde4/examples +%doc COPYING COPYING.LESSER docs/html %{_kde4_appsdir}/pykde4 +%{_bindir}/pykdeuic4-%{py_ver} %{_kde4_modulesdir}/kpythonpluginfactory.so -%{_kde4_bindir}/pykdeuic4-%{py_ver} -%{py_sitedir}/PyQt4/uic/widget-plugins -%{py_sitedir}/PyQt4/uic/pykdeuic4.* +%dir %{python_sitearch}/PyKDE4 +%{python_sitearch}/PyKDE4/__init__.* +%{python_sitearch}/PyKDE4/dnssd.so +%{python_sitearch}/PyKDE4/kdecore.so +%{python_sitearch}/PyKDE4/kdeui.so +%{python_sitearch}/PyKDE4/kio.so +%{python_sitearch}/PyKDE4/kparts.so +%{python_sitearch}/PyKDE4/kterminal.so +%{python_sitearch}/PyKDE4/ktexteditor.so +%{python_sitearch}/PyKDE4/kutils.so +%{python_sitearch}/PyKDE4/solid.so +%{python_sitearch}/PyKDE4/pykdeconfig.* +%{python_sitearch}/PyQt4/uic/widget-plugins +%{python_sitearch}/PyQt4/uic/pykdeuic4.* -%files common +%files akonadi %defattr(-,root,root) -%{_datadir}/sip/PyKDE4 +%{python_sitearch}/PyKDE4/akonadi.so + +%files khtml +%defattr(-,root,root) +%{python_sitearch}/PyKDE4/khtml.so + +%files knewstuff +%defattr(-,root,root) +%{python_sitearch}/PyKDE4/knewstuff.so + +%files nepomuk +%defattr(-,root,root) +%{python_sitearch}/PyKDE4/nepomuk.so + +%files plasma +%defattr(-,root,root) +%{python_sitearch}/PyKDE4/plasma.so + +%files phonon +%defattr(-,root,root) +%{python_sitearch}/PyKDE4/phonon.so + +%files soprano +%defattr(-,root,root) +%{python_sitearch}/PyKDE4/soprano.so %files devel %defattr(-,root,root) -%{_kde4_appsdir}/pykde4/examples +%doc examples +%{_datadir}/sip/PyKDE4 %changelog ++++++ python3-kde4.spec ++++++ --- /var/tmp/diff_new_pack.gLhXLC/_old 2013-04-22 14:31:58.000000000 +0200 +++ /var/tmp/diff_new_pack.gLhXLC/_new 2013-04-22 14:31:58.000000000 +0200 @@ -17,7 +17,7 @@ Name: python3-kde4 -Version: 4.10.1 +Version: 4.10.2 Release: 0 Summary: Python bindings for KDE 4 License: LGPL-2.1+ and GPL-2.0+ @@ -30,64 +30,172 @@ BuildRequires: libkdepimlibs4-devel BuildRequires: nepomuk-core-devel BuildRequires: okular-devel -BuildRequires: python3-devel BuildRequires: python3-qt4-devel BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python3-qt4 Requires: update-alternatives -%py_requires +BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires -%kde4_akonadi_requires %description -Python KDE bindings using PyQt4 SIP technology. This package includes bindings -built for Python 3. +Bindings for the KDE Development Platform based on PyQt4 and SIP. Use of these bindings +allows to write Python applications that use the KDE C++ libraries. + +%package akonadi +Summary: Python bindings for KDE 4 - Akonadi +Group: Development/Libraries/KDE +Requires: %{name} = %{version} +%kde4_akonadi_requires +%kde4_runtime_requires + +%description akonadi +This package contains bindings for the Akonadi PIM libraries, allowing the creation of +Python applications using Akonadi. + +%package khtml +Summary: Python bindings for KDE 4 - KHTML +Group: Development/Libraries/KDE +Requires: %{name} = %{version} +%kde4_runtime_requires + +%description khtml +This package contains Python bindings for the KHTML rendering engine, which can be +used from Python applications. + +%package knewstuff +Summary: Python bindings for KDE 4 - KNewStuff +Group: Development/Libraries/KDE +Requires: %{name} = %{version} + +%description knewstuff +This package contains Python bindings for the KNewStuff library. It allows the use of +the GHNS framework from Python. + +%package nepomuk +Summary: Python bindings for KDE 4 - Nepomuk +Group: Development/Libraries/KDE +Requires: %{name} = %{version} +%kde4_runtime_requires + +%description nepomuk +This package contains Python bindings for the Nepomuk semantic framework. + +%package plasma +Summary: Python bindings for KDE 4 - Plasma +Group: Development/Libraries/KDE +Requires: %{name} = %{version} +%kde4_runtime_requires + +%description plasma +This package contains Python bindings for the Plasma library. In +conjunction with the Python script engne, it allows writing Plasma widgets +in Python. + +%package phonon +Summary: Python bindings for KDE 4 - Phonon +Group: Development/Libraries/KDE +Requires: %{name} = %{version} + +%description phonon +This package contains Python bindings for the Phonon multimedia libraries. +These bindings allow the use of Phonon, and its associated media capabilities, +in Python applications. + +%package soprano +Summary: Python bindings for KDE 4 - Soprano +Group: Development/Libraries/KDE +Requires: %{name} = %{version} + +%description soprano +This pacakge contains Python bindings for the Soprano semantic library. +It allows the use of the library from Python applications. %package devel -Summary: Development files of python-kde4 +Summary: Development files of %{name} Group: Development/Libraries/KDE Requires: %{name} = %{version} -Requires: python-kde4-common = %{version} +Requires: python-qt4-devel %description devel -This package contains development files for the Python 3 bindings for the -KDE Development Platform. +This package contains development files for the Python bindings for the +KDE Development Platform. It also contains common files required to build +additional bindings for PyKDE4. It is used with either Python 2 or 3. %prep %setup -q -n pykde4-%{version} %build - %cmake_kde4 -d build -- -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYKDEUIC4_ALTINSTALL=TRUE -DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE - %make_jobs +%cmake_kde4 -d build -- -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYKDEUIC4_ALTINSTALL=TRUE -DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE +%make_jobs %install - cd build - %kde4_makeinstall - %fdupes -s %{buildroot}%{_datadir} - rm -rf %{buildroot}%{_datadir}/sip/PyKDE4 - rm -rf %{buildroot}%{_kde4_appsdir}/pykde4/examples +cd build +%kde4_makeinstall +%fdupes -s %{buildroot}%{_datadir} +rm -rf %{buildroot}%{_kde4_appsdir}/pykde4/examples +rm -rf %{buildroot}%{_datadir}/sip/PyKDE4 %post -/sbin/ldconfig update-alternatives --install %{_bindir}/pykdeuic4 pykdeuic4 %{_bindir}/pykdeuic4-%{py3_ver} 40 %postun -/sbin/ldconfig - -update-alternatives --remove pykdeuic4 %{_bindir}/pykdeuic4-%{py_ver} - +update-alternatives --remove pykdeuic4 %{_bindir}/pykdeuic4-%{py3_ver} if [ -e "%{_sysconfdir}/alternatives/pykdeuic4" ]; then update-alternatives --auto pykdeuic4 fi %files %defattr(-,root,root) -%{python3_sitearch}/PyKDE4 +%doc COPYING COPYING.LESSER docs/html %{_kde4_appsdir}/pykde4 -%{_kde4_bindir}/pykdeuic4-%{py3_ver} +%{_bindir}/pykdeuic4-%{py3_ver} +%dir %{python3_sitearch}/PyKDE4 +%{python3_sitearch}/PyKDE4/__init__.* +%{python3_sitearch}/PyKDE4/__pycache__ +%{python3_sitearch}/PyKDE4/dnssd.so +%{python3_sitearch}/PyKDE4/kdecore.so +%{python3_sitearch}/PyKDE4/kdeui.so +%{python3_sitearch}/PyKDE4/kio.so +%{python3_sitearch}/PyKDE4/kparts.so +%{python3_sitearch}/PyKDE4/kterminal.so +%{python3_sitearch}/PyKDE4/ktexteditor.so +%{python3_sitearch}/PyKDE4/kutils.so +%{python3_sitearch}/PyKDE4/solid.so +%{python3_sitearch}/PyKDE4/pykdeconfig.* %{python3_sitearch}/PyQt4/uic/widget-plugins %{python3_sitearch}/PyQt4/uic/pykdeuic4.* %{python3_sitearch}/PyQt4/uic/__pycache__/ +%files akonadi +%defattr(-,root,root) +%{python3_sitearch}/PyKDE4/akonadi.so + +%files khtml +%defattr(-,root,root) +%{python3_sitearch}/PyKDE4/khtml.so + +%files knewstuff +%defattr(-,root,root) +%{python3_sitearch}/PyKDE4/knewstuff.so + +%files nepomuk +%defattr(-,root,root) +%{python3_sitearch}/PyKDE4/nepomuk.so + +%files plasma +%defattr(-,root,root) +%{python3_sitearch}/PyKDE4/plasma.so + +%files phonon +%defattr(-,root,root) +%{python3_sitearch}/PyKDE4/phonon.so + +%files soprano +%defattr(-,root,root) +%{python3_sitearch}/PyKDE4/soprano.so + +%files devel +%defattr(-,root,root) +%doc examples + %changelog ++++++ pykde4-4.10.1.tar.xz -> pykde4-4.10.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pykde4-4.10.1/CMakeLists.txt new/pykde4-4.10.2/CMakeLists.txt --- old/pykde4-4.10.1/CMakeLists.txt 2013-03-01 07:38:30.000000000 +0100 +++ new/pykde4-4.10.2/CMakeLists.txt 2013-03-29 08:02:00.000000000 +0100 @@ -241,6 +241,8 @@ get_filename_component(LIB_DIR ${KDE4_LIB_DIR} NAME) +set (SIP_FILES_INSTALL_DIR ${SHARE_INSTALL_PREFIX}/sip) + set(SIP_CONFIGURATION " kde_version_parts = '${KDE_VERSION}'.split('.') kde_version_hex = int(kde_version_parts[0])*65536 + int(kde_version_parts[1])*256 + int(kde_version_parts[2]) @@ -258,7 +260,7 @@ 'pykde_kde_sip_flags': '${_SIP_TAGS} ${_SIP_X} ${SIP_EXTRA_OPTIONS}', 'pykde_mod_dir': '${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyKDE4', 'pykde_modules': '${PYKDE_MODULES}', - 'pykde_sip_dir': '${SIP_DEFAULT_SIP_DIR}/PyKDE4', + 'pykde_sip_dir': '${SIP_FILES_INSTALL_DIR}/PyKDE4', 'pykde_version': kde_version_hex, 'pykde_version_str': '${KDE_VERSION}' } @@ -270,7 +272,7 @@ # Install the .sip files for anyone that wants to build bindings on top of PyKDE4. # (Don't forget the / at the end of sip/.) -install(DIRECTORY sip/ DESTINATION ${SIP_DEFAULT_SIP_DIR}/PyKDE4 +install(DIRECTORY sip/ DESTINATION ${SIP_FILES_INSTALL_DIR}/PyKDE4 PATTERN "*~" EXCLUDE # This sucks, why can't I just whitelist what I _do_ want? PATTERN ".svn" EXCLUDE PATTERN "*.in" EXCLUDE) Files old/pykde4-4.10.1/tools/cmake_project/sample_project/doc/en/index.cache.bz2 and new/pykde4-4.10.2/tools/cmake_project/sample_project/doc/en/index.cache.bz2 differ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
