Hello community,

here is the log from the commit of package python-distutils-extra for 
openSUSE:Factory checked in at 2013-09-09 19:47:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-distutils-extra (Old)
 and      /work/SRC/openSUSE:Factory/.python-distutils-extra.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-distutils-extra"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-distutils-extra/python-distutils-extra.changes
    2012-10-03 09:59:17.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-distutils-extra.new/python-distutils-extra.changes
       2013-09-09 19:47:37.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Sep  8 20:45:19 UTC 2013 - [email protected]
+
+- Update to 2.38:
+  * Use yelp-tools style help installation.
+
+-------------------------------------------------------------------

Old:
----
  python-distutils-extra-2.37.tar.gz

New:
----
  python-distutils-extra-2.38.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-distutils-extra.spec ++++++
--- /var/tmp/diff_new_pack.Ti6IWy/_old  2013-09-09 19:47:38.000000000 +0200
+++ /var/tmp/diff_new_pack.Ti6IWy/_new  2013-09-09 19:47:38.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-distutils-extra
-Version:        2.37
+Version:        2.38
 Release:        0
 Summary:        Distutils/Setuptools Adapter
 License:        GPL-2.0
@@ -25,7 +25,7 @@
 Url:            https://launchpad.net/python-distutils-extra
 Source:         
http://launchpad.net/python-distutils-extra/trunk/%{version}/+download/python-distutils-extra-%{version}.tar.gz
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
+BuildRequires:  python-setuptools
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

++++++ python-distutils-extra-2.37.tar.gz -> python-distutils-extra-2.38.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-distutils-extra-2.37/DistUtilsExtra/__init__.py 
new/python-distutils-extra-2.38/DistUtilsExtra/__init__.py
--- old/python-distutils-extra-2.37/DistUtilsExtra/__init__.py  2012-09-17 
12:36:36.000000000 +0200
+++ new/python-distutils-extra-2.38/DistUtilsExtra/__init__.py  2013-07-22 
17:41:39.000000000 +0200
@@ -1 +1 @@
-__version__ = '2.37'
+__version__ = '2.38'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-distutils-extra-2.37/DistUtilsExtra/command/build_help.py 
new/python-distutils-extra-2.38/DistUtilsExtra/command/build_help.py
--- old/python-distutils-extra-2.37/DistUtilsExtra/command/build_help.py        
2011-03-15 11:44:37.000000000 +0100
+++ new/python-distutils-extra-2.38/DistUtilsExtra/command/build_help.py        
2013-07-22 17:36:23.000000000 +0200
@@ -5,7 +5,7 @@
 import distutils.cmd
 
 class build_help(distutils.cmd.Command):
-    description = 'install docbook XML based documentation'
+    description = 'install Mallard or DocBook XML based documentation'
     user_options= [('help-dir', None, 'help directory in the source tree')]
        
     def initialize_options(self):
@@ -18,22 +18,18 @@
     def get_data_files(self):
         data_files = []
         name = self.distribution.metadata.name
-        omf_pattern = os.path.join(self.help_dir, '*', '*.omf')
 
         for path in glob(os.path.join(self.help_dir, '*')):
             lang = os.path.basename(path)
-            path_xml = os.path.join('share/gnome/help', name, lang)
-            path_figures = os.path.join('share/gnome/help', name, lang, 
'figures')
+            path_xml = os.path.join('share/help', lang, name)
+            path_figures = os.path.join('share/help', lang, name, 'figures')
             
-            docbook_files = glob('%s/*.xml' % path)
+            docbook_files = glob('%s/index.docbook' % path)
+            docbook_files_extra = glob('%s/*.xml' % path)
             mallard_files = glob('%s/*.page' % path)
-            data_files.append((path_xml, docbook_files + mallard_files))
+            data_files.append((path_xml, docbook_files + docbook_files_extra + 
mallard_files))
             data_files.append((path_figures, glob('%s/figures/*.png' % path)))
         
-        omf_files = glob(omf_pattern)
-        if omf_files:
-            data_files.append((os.path.join('share', 'omf', name), omf_files))
-        
         return data_files
     
     def run(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-distutils-extra-2.37/PKG-INFO 
new/python-distutils-extra-2.38/PKG-INFO
--- old/python-distutils-extra-2.37/PKG-INFO    2012-09-17 12:49:30.000000000 
+0200
+++ new/python-distutils-extra-2.38/PKG-INFO    2013-07-22 17:41:46.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: python-distutils-extra
-Version: 2.37
+Version: 2.38
 Summary: Add support for i18n, documentation and icons to distutils
 Home-page: UNKNOWN
 Author: Sebastian Heinlein, Martin Pitt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-distutils-extra-2.37/python_distutils_extra.egg-info/PKG-INFO 
new/python-distutils-extra-2.38/python_distutils_extra.egg-info/PKG-INFO
--- old/python-distutils-extra-2.37/python_distutils_extra.egg-info/PKG-INFO    
2012-09-17 12:49:30.000000000 +0200
+++ new/python-distutils-extra-2.38/python_distutils_extra.egg-info/PKG-INFO    
2013-07-22 17:41:46.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: python-distutils-extra
-Version: 2.37
+Version: 2.38
 Summary: Add support for i18n, documentation and icons to distutils
 Home-page: UNKNOWN
 Author: Sebastian Heinlein, Martin Pitt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-distutils-extra-2.37/test/auto.py 
new/python-distutils-extra-2.38/test/auto.py
--- old/python-distutils-extra-2.37/test/auto.py        2012-08-20 
09:21:58.000000000 +0200
+++ new/python-distutils-extra-2.38/test/auto.py        2013-07-22 
17:36:23.000000000 +0200
@@ -743,12 +743,10 @@
     def test_help_docbook(self):
         '''Docbook XML help'''
 
-        self._mksrc('help/C/myprogram-C.omf')
-        self._mksrc('help/C/myprogram.xml')
+        self._mksrc('help/C/index.docbook')
         self._mksrc('help/C/legal.xml')
         self._mksrc('help/C/figures/mainscreen.png')
-        self._mksrc('help/de/myprogram-de.omf')
-        self._mksrc('help/de/myprogram.xml')
+        self._mksrc('help/de/index.docbook')
         self._mksrc('help/de/legal.xml')
         self._mksrc('help/de/figures/mainscreen.png')
 
@@ -763,14 +761,12 @@
         self.assertTrue('\n  help/notme.png\n' in o)
 
         f = self.installed_files()
-        self.assertTrue('/usr/share/omf/foo/myprogram-C.omf' in f)
-        self.assertTrue('/usr/share/omf/foo/myprogram-de.omf' in f)
-        self.assertTrue('/usr/share/gnome/help/foo/C/myprogram.xml' in f)
-        self.assertTrue('/usr/share/gnome/help/foo/C/legal.xml' in f)
-        self.assertTrue('/usr/share/gnome/help/foo/C/figures/mainscreen.png' 
in f)
-        self.assertTrue('/usr/share/gnome/help/foo/de/myprogram.xml' in f)
-        self.assertTrue('/usr/share/gnome/help/foo/de/legal.xml' in f)
-        self.assertTrue('/usr/share/gnome/help/foo/de/figures/mainscreen.png' 
in f)
+        self.assertTrue('/usr/share/help/C/foo/index.docbook' in f)
+        self.assertTrue('/usr/share/help/C/foo/legal.xml' in f)
+        self.assertTrue('/usr/share/help/C/foo/figures/mainscreen.png' in f)
+        self.assertTrue('/usr/share/help/de/foo/index.docbook' in f)
+        self.assertTrue('/usr/share/help/de/foo/legal.xml' in f)
+        self.assertTrue('/usr/share/help/de/foo/figures/mainscreen.png' in f)
 
     def test_help_mallard(self):
         '''Mallard XML help'''
@@ -793,13 +789,12 @@
         self.assertTrue('\n  help/notme.png\n' in o)
 
         f = self.installed_files()
-        self.assertFalse('/usr/share/omf/foo' in f)
-        self.assertTrue('/usr/share/gnome/help/foo/C/index.page' in f)
-        self.assertTrue('/usr/share/gnome/help/foo/C/legal.page' in f)
-        self.assertTrue('/usr/share/gnome/help/foo/C/figures/mainscreen.png' 
in f)
-        self.assertTrue('/usr/share/gnome/help/foo/de/index.page' in f)
-        self.assertTrue('/usr/share/gnome/help/foo/de/legal.page' in f)
-        self.assertTrue('/usr/share/gnome/help/foo/de/figures/mainscreen.png' 
in f)
+        self.assertTrue('/usr/share/help/C/foo/index.page' in f)
+        self.assertTrue('/usr/share/help/C/foo/legal.page' in f)
+        self.assertTrue('/usr/share/help/C/foo/figures/mainscreen.png' in f)
+        self.assertTrue('/usr/share/help/de/foo/index.page' in f)
+        self.assertTrue('/usr/share/help/de/foo/legal.page' in f)
+        self.assertTrue('/usr/share/help/de/foo/figures/mainscreen.png' in f)
 
     def test_binary_files(self):
         '''Binary files are ignored'''

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to