Hello community,

here is the log from the commit of package python-ZConfig for openSUSE:Factory 
checked in at 2014-04-17 14:11:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ZConfig (Old)
 and      /work/SRC/openSUSE:Factory/.python-ZConfig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ZConfig"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ZConfig/python-ZConfig.changes    
2013-09-27 18:02:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-ZConfig.new/python-ZConfig.changes       
2014-04-17 14:11:31.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Apr 16 17:00:09 UTC 2014 - [email protected]
+
+- Update to version 3.0.4
+  + Added Python 3.4 support
+- Implement update-alternatives
+
+-------------------------------------------------------------------

Old:
----
  ZConfig-3.0.3.tar.gz

New:
----
  ZConfig-3.0.4.tar.gz

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

Other differences:
------------------
++++++ python-ZConfig.spec ++++++
--- /var/tmp/diff_new_pack.8BZGVY/_old  2014-04-17 14:11:32.000000000 +0200
+++ /var/tmp/diff_new_pack.8BZGVY/_new  2014-04-17 14:11:32.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-ZConfig
-Version:        3.0.3
+Version:        3.0.4
 Release:        0
 Summary:        Structured Configuration Library
 License:        ZPL-2.1
@@ -70,16 +70,38 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+# Rename binaries to get package installable with py/py3 package
+mv %{buildroot}%{_bindir}/zconfig %{buildroot}%{_bindir}/zconfig-%{py_ver}
+mv %{buildroot}%{_bindir}/zconfig_schema2html 
%{buildroot}%{_bindir}/zconfig_schema2html-%{py_ver}
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+touch %{buildroot}%{_sysconfdir}/alternatives/zconfig
+ln -sf %{_sysconfdir}/alternatives/zconfig %{buildroot}/%{_bindir}/zconfig
+touch %{buildroot}%{_sysconfdir}/alternatives/zconfig_schema2html
+ln -sf %{_sysconfdir}/alternatives/zconfig_schema2html 
%{buildroot}/%{_bindir}/zconfig_schema2html
 
 %check
 python setup.py test -v
 
+%post
+update-alternatives \
+    --install %{_bindir}/zconfig zconfig %{_bindir}/zconfig-%{py_ver} 30 \
+    --slave %{_bindir}/zconfig_schema2html zconfig_schema2html 
%{_bindir}/zconfig_schema2html-%{py_ver}
+
+%preun
+if [ $1 -eq 0 ] ; then
+    update-alternatives --remove zconfig %{_bindir}/zconfig-%{py_ver}
+fi
+
 %files
 %defattr(-,root,root)
 %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt PKG-INFO README.txt
 %{python_sitelib}/*
+%ghost %{_sysconfdir}/alternatives/zconfig
+%ghost %{_sysconfdir}/alternatives/zconfig_schema2html
 %{_bindir}/zconfig
+%{_bindir}/zconfig-%{py_ver}
 %{_bindir}/zconfig_schema2html
+%{_bindir}/zconfig_schema2html-%{py_ver}
 
 %files doc
 %defattr(-,root,root,-)

++++++ ZConfig-3.0.3.tar.gz -> ZConfig-3.0.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ZConfig-3.0.3/.gitignore new/ZConfig-3.0.4/.gitignore
--- old/ZConfig-3.0.3/.gitignore        2013-03-03 00:07:52.000000000 +0100
+++ new/ZConfig-3.0.4/.gitignore        2014-03-20 20:47:05.000000000 +0100
@@ -1,4 +1,9 @@
 *.pyc
 *.egg-info
 __pycache__
-.tox
+.tox/
+.installed.cfg
+bin/
+develop-eggs/
+eggs/
+parts/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ZConfig-3.0.3/.travis.yml 
new/ZConfig-3.0.4/.travis.yml
--- old/ZConfig-3.0.3/.travis.yml       1970-01-01 01:00:00.000000000 +0100
+++ new/ZConfig-3.0.4/.travis.yml       2014-03-20 20:47:05.000000000 +0100
@@ -0,0 +1,12 @@
+language: python
+python:
+    - 2.6
+    - 2.7
+    - 3.2
+    - 3.3
+install:
+    - pip install . --use-mirrors
+script:
+    - python setup.py test -q
+notifications:
+    email: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ZConfig-3.0.3/CHANGES.txt 
new/ZConfig-3.0.4/CHANGES.txt
--- old/ZConfig-3.0.3/CHANGES.txt       2013-03-03 00:39:07.000000000 +0100
+++ new/ZConfig-3.0.4/CHANGES.txt       2014-03-20 20:48:28.000000000 +0100
@@ -2,6 +2,11 @@
 Change History for ZConfig
 ==========================
 
+3.0.4 (2014-03-20)
+------------------
+
+- Added Python 3.4 support.
+
 
 3.0.3 (2013-03-02)
 ------------------
@@ -28,7 +33,7 @@
 
 - Added Python 3.3 support.
 
-- Droped Python 2.4 and 2.5 support.
+- Dropped Python 2.4 and 2.5 support.
 
 
 2.9.3 (2012-06-25)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ZConfig-3.0.3/PKG-INFO new/ZConfig-3.0.4/PKG-INFO
--- old/ZConfig-3.0.3/PKG-INFO  2013-03-03 00:40:47.000000000 +0100
+++ new/ZConfig-3.0.4/PKG-INFO  2014-03-20 20:49:27.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: ZConfig
-Version: 3.0.3
+Version: 3.0.4
 Summary: Structured Configuration Library
 Home-page: http://www.zope.org/Members/fdrake/zconfig/
 Author: Zope Foundation and Contributors
@@ -106,6 +106,11 @@
         Change History for ZConfig
         ==========================
         
+        3.0.4 (2014-03-20)
+        ------------------
+        
+        - Added Python 3.4 support.
+        
         
         3.0.3 (2013-03-02)
         ------------------
@@ -132,7 +137,7 @@
         
         - Added Python 3.3 support.
         
-        - Droped Python 2.4 and 2.5 support.
+        - Dropped Python 2.4 and 2.5 support.
         
         
         2.9.3 (2012-06-25)
@@ -379,6 +384,7 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.2
 Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Software Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ZConfig-3.0.3/ZConfig.egg-info/PKG-INFO 
new/ZConfig-3.0.4/ZConfig.egg-info/PKG-INFO
--- old/ZConfig-3.0.3/ZConfig.egg-info/PKG-INFO 2013-03-03 00:40:47.000000000 
+0100
+++ new/ZConfig-3.0.4/ZConfig.egg-info/PKG-INFO 2014-03-20 20:49:26.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: ZConfig
-Version: 3.0.3
+Version: 3.0.4
 Summary: Structured Configuration Library
 Home-page: http://www.zope.org/Members/fdrake/zconfig/
 Author: Zope Foundation and Contributors
@@ -106,6 +106,11 @@
         Change History for ZConfig
         ==========================
         
+        3.0.4 (2014-03-20)
+        ------------------
+        
+        - Added Python 3.4 support.
+        
         
         3.0.3 (2013-03-02)
         ------------------
@@ -132,7 +137,7 @@
         
         - Added Python 3.3 support.
         
-        - Droped Python 2.4 and 2.5 support.
+        - Dropped Python 2.4 and 2.5 support.
         
         
         2.9.3 (2012-06-25)
@@ -379,6 +384,7 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.2
 Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Software Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ZConfig-3.0.3/ZConfig.egg-info/SOURCES.txt 
new/ZConfig-3.0.4/ZConfig.egg-info/SOURCES.txt
--- old/ZConfig-3.0.3/ZConfig.egg-info/SOURCES.txt      2013-03-03 
00:40:47.000000000 +0100
+++ new/ZConfig-3.0.4/ZConfig.egg-info/SOURCES.txt      2014-03-20 
20:49:27.000000000 +0100
@@ -1,4 +1,5 @@
 .gitignore
+.travis.yml
 CHANGES.txt
 COPYRIGHT.txt
 LICENSE.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ZConfig-3.0.3/bootstrap.py 
new/ZConfig-3.0.4/bootstrap.py
--- old/ZConfig-3.0.3/bootstrap.py      2013-03-02 23:53:00.000000000 +0100
+++ new/ZConfig-3.0.4/bootstrap.py      2014-03-20 20:47:05.000000000 +0100
@@ -18,7 +18,11 @@
 use the -c option to specify an alternate configuration file.
 """
 
-import os, shutil, sys, tempfile
+import os
+import shutil
+import sys
+import tempfile
+
 from optparse import OptionParser
 
 tmpeggs = tempfile.mkdtemp()
@@ -31,8 +35,8 @@
 Simply run this script in a directory containing a buildout.cfg, using the
 Python that you want bin/buildout to use.
 
-Note that by using --setup-source and --download-base to point to
-local resources, you can keep this script from going over the network.
+Note that by using --find-links to point to local resources, you can keep 
+this script from going over the network.
 '''
 
 parser = OptionParser(usage=usage)
@@ -48,23 +52,21 @@
                         "bootstrap and buildout will get the newest releases "
                         "even if they are alphas or betas."))
 parser.add_option("-c", "--config-file",
-                   help=("Specify the path to the buildout configuration "
-                         "file to be used."))
+                  help=("Specify the path to the buildout configuration "
+                        "file to be used."))
 parser.add_option("-f", "--find-links",
-                   help=("Specify a URL to search for buildout releases"))
+                  help=("Specify a URL to search for buildout releases"))
 
 
 options, args = parser.parse_args()
 
 ######################################################################
-# load/install distribute
+# load/install setuptools
 
 to_reload = False
 try:
-    import pkg_resources, setuptools
-    if not hasattr(pkg_resources, '_distribute'):
-        to_reload = True
-        raise ImportError
+    import pkg_resources
+    import setuptools
 except ImportError:
     ez = {}
 
@@ -73,8 +75,10 @@
     except ImportError:
         from urllib2 import urlopen
 
-    exec(urlopen('http://python-distribute.org/distribute_setup.py').read(), 
ez)
-    setup_args = dict(to_dir=tmpeggs, download_delay=0, no_fake=True)
+    # XXX use a more permanent ez_setup.py URL when available.
+    exec(urlopen('https://bitbucket.org/pypa/setuptools/raw/0.7.2/ez_setup.py'
+                ).read(), ez)
+    setup_args = dict(to_dir=tmpeggs, download_delay=0)
     ez['use_setuptools'](**setup_args)
 
     if to_reload:
@@ -89,7 +93,7 @@
 ######################################################################
 # Install buildout
 
-ws  = pkg_resources.working_set
+ws = pkg_resources.working_set
 
 cmd = [sys.executable, '-c',
        'from setuptools.command.easy_install import main; main()',
@@ -104,8 +108,8 @@
 if find_links:
     cmd.extend(['-f', find_links])
 
-distribute_path = ws.find(
-    pkg_resources.Requirement.parse('distribute')).location
+setuptools_path = ws.find(
+    pkg_resources.Requirement.parse('setuptools')).location
 
 requirement = 'zc.buildout'
 version = options.version
@@ -113,13 +117,14 @@
     # Figure out the most recent final version of zc.buildout.
     import setuptools.package_index
     _final_parts = '*final-', '*final'
+
     def _final_version(parsed_version):
         for part in parsed_version:
             if (part[:1] == '*') and (part not in _final_parts):
                 return False
         return True
     index = setuptools.package_index.PackageIndex(
-        search_path=[distribute_path])
+        search_path=[setuptools_path])
     if find_links:
         index.add_find_links((find_links,))
     req = pkg_resources.Requirement.parse(requirement)
@@ -142,7 +147,7 @@
 cmd.append(requirement)
 
 import subprocess
-if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=distribute_path)) != 0:
+if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=setuptools_path)) != 0:
     raise Exception(
         "Failed to execute command:\n%s",
         repr(cmd)[1:-1])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ZConfig-3.0.3/setup.cfg new/ZConfig-3.0.4/setup.cfg
--- old/ZConfig-3.0.3/setup.cfg 2013-03-03 00:40:47.000000000 +0100
+++ new/ZConfig-3.0.4/setup.cfg 2014-03-20 20:49:27.000000000 +0100
@@ -1,7 +1,7 @@
 [bdist_rpm]
 doc_files = 
        LICENSE.txt
-       NEWS.txt
+       CHANGES.txt
        README.txt
        doc/schema.dtd
        doc/zconfig.pdf
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ZConfig-3.0.3/setup.py new/ZConfig-3.0.4/setup.py
--- old/ZConfig-3.0.3/setup.py  2013-03-03 00:39:30.000000000 +0100
+++ new/ZConfig-3.0.4/setup.py  2014-03-20 20:48:34.000000000 +0100
@@ -18,7 +18,7 @@
 
 options = dict(
     name="ZConfig",
-    version='3.0.3',
+    version='3.0.4',
     author="Fred L. Drake, Jr.",
     author_email="[email protected]",
     maintainer="Zope Foundation and Contributors",
@@ -55,6 +55,7 @@
         'Programming Language :: Python :: 3',
         'Programming Language :: Python :: 3.2',
         'Programming Language :: Python :: 3.3',
+        'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: Implementation :: CPython',
         'Operating System :: OS Independent',
         'Topic :: Software Development',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ZConfig-3.0.3/tox.ini new/ZConfig-3.0.4/tox.ini
--- old/ZConfig-3.0.3/tox.ini   2013-03-03 00:09:20.000000000 +0100
+++ new/ZConfig-3.0.4/tox.ini   2014-03-20 20:44:58.000000000 +0100
@@ -1,5 +1,5 @@
 [tox]
-envlist = py26,py27,py32,py33
+envlist = py26,py27,py32,py33,py34
 
 [testenv]
 commands =

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

Reply via email to