Hello community, here is the log from the commit of package python-xdg for openSUSE:Factory checked in at 2013-01-17 10:19:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xdg (Old) and /work/SRC/openSUSE:Factory/.python-xdg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xdg", Maintainer is "gnome-maintain...@suse.de" Changes: -------- --- /work/SRC/openSUSE:Factory/python-xdg/python-xdg.changes 2011-10-19 13:40:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-xdg.new/python-xdg.changes 2013-01-17 10:19:18.000000000 +0100 @@ -1,0 +2,67 @@ +Tue Jan 15 09:13:20 UTC 2013 - vu...@opensuse.org + +- Drop use of %py_requires (or equivalent for python3): a + python(abi) Requires is automatically added. + +------------------------------------------------------------------- +Tue Jan 15 08:39:02 UTC 2013 - vu...@opensuse.org + +- Add pre_checkin.sh and rework python3 packaging so that only + updating the python-xdg spec file is enough: the few differences + between the two spec files are handled with a %build_for_python3 + define. + +------------------------------------------------------------------- +Mon Jan 14 15:21:03 UTC 2013 - p.drou...@gmail.com + +- Initial python3 support + +------------------------------------------------------------------- +Mon Jan 14 15:16:11 UTC 2013 - p.drou...@gmail.com + +- Update to version 0.25: + + Add support for $XDG_RUNTIME_DIR (deb#656338). + + Allow desktop entry files that are not encoded in UTF-8 + (deb#693855). + + Mime: Add support for subclasses and aliases. +- Changes from version 0.24: + + Update allowed DesktopEntry categories following changes to the + specification. + + Fix removal of empty submenu (fdo#54747). + + Documentation is now available on RTD: + http://pyxdg.readthedocs.org/ + + A few more tests, and some code cleanup. + + Fix failure to parse some menu files when kde-config is missing + (fdo#56426). +- Changes from version 0.23: + + Fix a test for non-UTF-8 locales. +- Changes from version 0.22: + + Better unicode handling in several modules. + + Fix for sorting non-ASCII menu entries (fdo#52492). + + More tests. +- Changes from version 0.21: + + Tests can now be run conveniently using nosetests, and cover + more of the code. + + BaseDirectory: New save_cache_path() function (fdo#26458). + + Config: Default icon theme is 'hicolor', not 'highcolor'. + + Menu: Obsolete Rule.compile() method removed. + + DesktopEntry: + - Corrected spelling of checkCategories() method (fdo#24974). + - Consider Actions and Keywords keys standard. + - Accept non-ASCII Keywords. + - Update list of environments valid for OnlyShowIn. + + Mime: Fix get_type_by_contents() in Python 3. + + RecentFiles: Minor bug fixes. +- Changes from version 0.20: + + Compatible with Python 3; requires Python 2.6 or later + + Clean up accidental GPL license notice in Menu.py + + Add test scripts for xdg.Mime, xdg.Locale and xdg.RecentFiles + + Fixes for icon theme validation + + Fix exception in xdg.Mime + + Replace invalid string exceptions + + Fall back to default base directories if $XDG* environment + variables are set but empty. + + Remove use of deprecated os.popen3 in Menu.py + + Correct URLs in README + +------------------------------------------------------------------- New Changes file: --- /dev/null 2013-01-09 19:40:42.352580873 +0100 +++ /work/SRC/openSUSE:Factory/.python-xdg.new/python3-xdg.changes 2013-01-17 10:19:18.000000000 +0100 @@ -0,0 +1,128 @@ +------------------------------------------------------------------- +Tue Jan 15 09:13:20 UTC 2013 - vu...@opensuse.org + +- Drop use of %py_requires (or equivalent for python3): a + python(abi) Requires is automatically added. + +------------------------------------------------------------------- +Tue Jan 15 08:39:02 UTC 2013 - vu...@opensuse.org + +- Add pre_checkin.sh and rework python3 packaging so that only + updating the python-xdg spec file is enough: the few differences + between the two spec files are handled with a %build_for_python3 + define. + +------------------------------------------------------------------- +Mon Jan 14 15:21:03 UTC 2013 - p.drou...@gmail.com + +- Initial python3 support + +------------------------------------------------------------------- +Mon Jan 14 15:16:11 UTC 2013 - p.drou...@gmail.com + +- Update to version 0.25: + + Add support for $XDG_RUNTIME_DIR (deb#656338). + + Allow desktop entry files that are not encoded in UTF-8 + (deb#693855). + + Mime: Add support for subclasses and aliases. +- Changes from version 0.24: + + Update allowed DesktopEntry categories following changes to the + specification. + + Fix removal of empty submenu (fdo#54747). + + Documentation is now available on RTD: + http://pyxdg.readthedocs.org/ + + A few more tests, and some code cleanup. + + Fix failure to parse some menu files when kde-config is missing + (fdo#56426). +- Changes from version 0.23: + + Fix a test for non-UTF-8 locales. +- Changes from version 0.22: + + Better unicode handling in several modules. + + Fix for sorting non-ASCII menu entries (fdo#52492). + + More tests. +- Changes from version 0.21: + + Tests can now be run conveniently using nosetests, and cover + more of the code. + + BaseDirectory: New save_cache_path() function (fdo#26458). + + Config: Default icon theme is 'hicolor', not 'highcolor'. + + Menu: Obsolete Rule.compile() method removed. + + DesktopEntry: + - Corrected spelling of checkCategories() method (fdo#24974). + - Consider Actions and Keywords keys standard. + - Accept non-ASCII Keywords. + - Update list of environments valid for OnlyShowIn. + + Mime: Fix get_type_by_contents() in Python 3. + + RecentFiles: Minor bug fixes. +- Changes from version 0.20: + + Compatible with Python 3; requires Python 2.6 or later + + Clean up accidental GPL license notice in Menu.py + + Add test scripts for xdg.Mime, xdg.Locale and xdg.RecentFiles + + Fixes for icon theme validation + + Fix exception in xdg.Mime + + Replace invalid string exceptions + + Fall back to default base directories if $XDG* environment + variables are set but empty. + + Remove use of deprecated os.popen3 in Menu.py + + Correct URLs in README + +------------------------------------------------------------------- +Tue Oct 18 13:12:50 UTC 2011 - vu...@opensuse.org + +- Add Provides/Obsoletes for python-pyxdg, which is the name of the + package in Packman. + +------------------------------------------------------------------- +Wed Jan 27 14:17:23 CET 2010 - vu...@opensuse.org + +- Update to version 0.19: + + IniFile.py: add support for trusted desktop files + + DesktopEntry.py: Support spec version 1.0, deb#563660 + + MimeType.py: Fix parsing of in memory data, deb#563718 + + DesktopEntry.py: Fix constructor, deb#551297, deb#562951, + deb#562952 + +------------------------------------------------------------------- +Thu Dec 17 10:57:27 CET 2009 - vu...@opensuse.org + +- Update to version 0.18: + + DesktopEntry.py: Add getMimeTypes() method, correctly returning + strings + + DesktopEntry.py: Deprecated getMimeType() returning list of regex + + Menu.py: Add support for XDG_MENU_PREFIX + + Mime.py: Add get_type_by_contents() + +------------------------------------------------------------------- +Sun Aug 9 12:43:26 CEST 2009 - co...@novell.com + +- use new python macros + +------------------------------------------------------------------- +Fri May 22 13:49:42 CEST 2009 - vu...@novell.com + +- Update to version 0.17: + + Menu.py: Python <= 2.3 compatibility fix + + DesktopEntry.py: Fix wrong indention +- Drop python-xdg-indentation.patch: fixed upstream. +- Use fdupes. + +------------------------------------------------------------------- +Tue Dec 02 11:14:45 GMT 2008 - riggwel...@opensuse.org + +- Fix indentation problem in DesktopEntry + +------------------------------------------------------------------- +Fri Oct 24 12:52:55 CEST 2008 - lr...@suse.de + +- update to 0.16 + + IconTheme.py: Add more directories to the pixmap path + + IniFile.py: Fix saving of relative filenames + + IniFile.py, DesktopEntry.py: Fix __cmp__ method + + IniFile.py, IconTheme.py: Better error handling +- avoid self-provides +- remove provides/obsoletes for non existing package +- cleanup in %%install is not necessary + +------------------------------------------------------------------- +Tue Jul 25 21:35:33 CEST 2008 - ma...@suse.de + +- initial SUSE package Old: ---- pyxdg-0.19.tar.bz2 New: ---- pre_checkin.sh python3-xdg.changes python3-xdg.spec pyxdg-0.25.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xdg.spec ++++++ --- /var/tmp/diff_new_pack.BMqNpE/_old 2013-01-17 10:19:19.000000000 +0100 +++ /var/tmp/diff_new_pack.BMqNpE/_new 2013-01-17 10:19:19.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-xdg # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products 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,24 +16,39 @@ # +%define build_for_python3 0 + +%if %{build_for_python3} +%define local_py_sitelib %{python3_sitelib} +%define local_python python3 +%else +%define local_py_sitelib %{python_sitelib} +%define local_python %{__python} +%endif Name: python-xdg %define _name pyxdg Summary: Python library to use freedesktop.org specifications -Version: 0.19 -Release: 1 -# FIXME: on new upstream version (> 0.19), change <= in Obsoletes to < License: LGPL-2.1+ Group: Development/Libraries/Python +Version: 0.25 +Release: 0 Url: http://freedesktop.org/Software/pyxdg Source: %{_name}-%{version}.tar.bz2 BuildRequires: fdupes +%if %{build_for_python3} +BuildRequires: python3-devel +BuildRequires: python3-distribute +%else BuildRequires: python-devel +%endif +%if !(%{build_for_python3}) +# For old packman packages (only python2) Provides: python-pyxdg = %{version} -# <= for now, as the packman package named python-pyxdg is for 0.19 too -Obsoletes: python-pyxdg <= %{version} -%py_requires +Obsoletes: python-pyxdg < %{version} +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description python-xdg (PyXDG) is a python library to use freedesktop.org @@ -43,19 +58,16 @@ %setup -q -n %{_name}-%{version} %build -%{__python} setup.py build +%{local_python} setup.py build %install -%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_usr}" -%fdupes %{buildroot}/%{python_sitelib} - -%clean -%{__rm} -rf %{buildroot} +%{local_python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" +%fdupes %{buildroot}/%{local_py_sitelib} %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING README TODO -%{python_sitelib}/*.egg-info -%{python_sitelib}/xdg +%{local_py_sitelib}/*.egg-info +%{local_py_sitelib}/xdg %changelog ++++++ python3-xdg.spec ++++++ # # spec file for package python3-xdg # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define build_for_python3 1 %if %{build_for_python3} %define local_py_sitelib %{python3_sitelib} %define local_python python3 %else %define local_py_sitelib %{python_sitelib} %define local_python %{__python} %endif Name: python3-xdg %define _name pyxdg Summary: Python library to use freedesktop.org specifications License: LGPL-2.1+ Group: Development/Libraries/Python Version: 0.25 Release: 0 Url: http://freedesktop.org/Software/pyxdg Source: %{_name}-%{version}.tar.bz2 BuildRequires: fdupes %if %{build_for_python3} BuildRequires: python3-devel BuildRequires: python3-distribute %else BuildRequires: python-devel %endif %if !(%{build_for_python3}) # For old packman packages (only python2) Provides: python-pyxdg = %{version} Obsoletes: python-pyxdg < %{version} %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description python-xdg (PyXDG) is a python library to use freedesktop.org specifications. %prep %setup -q -n %{_name}-%{version} %build %{local_python} setup.py build %install %{local_python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" %fdupes %{buildroot}/%{local_py_sitelib} %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING README TODO %{local_py_sitelib}/*.egg-info %{local_py_sitelib}/xdg %changelog ++++++ pre_checkin.sh ++++++ #!/bin/sh sed 's,build_for_python3 0,build_for_python3 1,;s,^\(Name: *\)python-xdg,\1python3-xdg,' python-xdg.spec > python3-xdg.spec cp python-xdg.changes python3-xdg.changes ++++++ pyxdg-0.19.tar.bz2 -> pyxdg-0.25.tar.bz2 ++++++ ++++ 3052 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org