commit python-xdg for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package python-xdg for openSUSE:Factory checked in at Mon May 25 00:58:27 CEST 2009. -------- --- python-xdg/python-xdg.changes 2008-12-02 12:17:04.000000000 +0100 +++ /mounts/work_src_done/STABLE/python-xdg/python-xdg.changes 2009-05-22 13:58:29.000000000 +0200 @@ -1,0 +2,9 @@ +Fri May 22 13:49:42 CEST 2009 - vuntz@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. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- python-xdg-indentation.patch python-xdg-rpmlintrc pyxdg-0.16.tar.bz2 New: ---- pyxdg-0.17.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xdg.spec ++++++ --- /var/tmp/diff_new_pack.Mu2423/_old 2009-05-25 00:58:11.000000000 +0200 +++ /var/tmp/diff_new_pack.Mu2423/_new 2009-05-25 00:58:11.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-xdg (Version 0.16) +# spec file for package python-xdg (Version 0.17) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 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 @@ -18,17 +18,15 @@ Name: python-xdg -%define real_name pyxdg -Summary: PyXDG is a python library to access freedesktop.org standards -Version: 0.16 -Release: 2 +%define _name pyxdg +Summary: Python library to access freedesktop.org standards +Version: 0.17 +Release: 1 License: LGPL v2.1 or later Group: Development/Libraries/Python Url: http://freedesktop.org/Software/pyxdg -# http://www.freedesktop.org/~lanius/pyxdg-%{version}.tar.gz -Source: %{real_name}-%{version}.tar.bz2 -Source1: python-xdg-rpmlintrc -Patch1: python-xdg-indentation.patch +Source: %{_name}-%{version}.tar.bz2 +BuildRequires: fdupes BuildRequires: python-devel %py_requires BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -59,26 +57,31 @@ Sergey Kuleshov <svyatogor@gentoo.org> %prep -%setup -q -n %{real_name}-%{version} -%patch1 -p1 +%setup -q -n %{_name}-%{version} %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_usr}" +%fdupes %{buildroot}/%{py_sitedir} %clean -# %{__rm} -rf %{buildroot} +%{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING README TODO %{py_sitedir}/*.egg-info -%dir %{py_sitedir}/xdg -%{py_sitedir}/xdg/* +%{py_sitedir}/xdg %changelog +* Fri May 22 2009 vuntz@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 2008 riggwelter@opensuse.org - Fix indentation problem in DesktopEntry * Fri Oct 24 2008 lrupp@suse.de ++++++ pyxdg-0.16.tar.bz2 -> pyxdg-0.17.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pyxdg-0.16/ChangeLog new/pyxdg-0.17/ChangeLog --- old/pyxdg-0.16/ChangeLog 2008-08-07 19:11:48.000000000 +0200 +++ new/pyxdg-0.17/ChangeLog 2008-10-30 23:34:13.000000000 +0100 @@ -1,3 +1,9 @@ +Version 0.17 + +2008-10-30 Heinrich Wendel <h_wendel@cojobo.net> + * Menu.py: Python <= 2.3 compatibility fix + * DesktopEntry.py: Fix wrong indention + Version 0.16 2008-08-07 Heinrich Wendel <h_wendel@cojobo.net> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pyxdg-0.16/PKG-INFO new/pyxdg-0.17/PKG-INFO --- old/pyxdg-0.16/PKG-INFO 2008-08-07 19:13:43.000000000 +0200 +++ new/pyxdg-0.17/PKG-INFO 2008-10-30 23:38:35.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: pyxdg -Version: 0.16 +Version: 0.17 Summary: PyXDG contains implementations of freedesktop.org standards in python. Home-page: http://cvs.freedesktop.org/cgi-bin/viewcvs.cgi/pyxdg/ Author: Heinrich Wendel diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pyxdg-0.16/setup.py new/pyxdg-0.17/setup.py --- old/pyxdg-0.16/setup.py 2008-08-07 19:09:25.000000000 +0200 +++ new/pyxdg-0.17/setup.py 2008-10-30 23:37:28.000000000 +0100 @@ -3,7 +3,7 @@ from distutils.core import setup setup( name = "pyxdg", - version = "0.16", + version = "0.17", description = "PyXDG contains implementations of freedesktop.org standards in python.", maintainer = "Heinrich Wendel", maintainer_email = "h_wendel@cojobo.net", diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pyxdg-0.16/xdg/DesktopEntry.py new/pyxdg-0.17/xdg/DesktopEntry.py --- old/pyxdg-0.16/xdg/DesktopEntry.py 2008-03-02 14:56:33.000000000 +0100 +++ new/pyxdg-0.17/xdg/DesktopEntry.py 2008-08-10 17:51:31.000000000 +0200 @@ -181,7 +181,7 @@ else: #OnlyShowIn and NotShowIn if self.content[group].has_key("OnlyShowIn") and self.content[group].has_key("NotShowIn"): - self.errors.append("Group may either have OnlyShowIn or NotShowIn, but not both") + self.errors.append("Group may either have OnlyShowIn or NotShowIn, but not both") def checkKey(self, key, value, group): # standard keys diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pyxdg-0.16/xdg/Menu.py new/pyxdg-0.17/xdg/Menu.py --- old/pyxdg-0.16/xdg/Menu.py 2008-06-02 11:29:42.000000000 +0200 +++ new/pyxdg-0.17/xdg/Menu.py 2008-10-30 23:32:42.000000000 +0100 @@ -15,6 +15,13 @@ ELEMENT_NODE = xml.dom.Node.ELEMENT_NODE +# for python <= 2.3 +try: + reversed = reversed +except NameError: + def reversed(x): + return x[::-1] + class Menu: def __init__(self): # Public stuff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de