Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory
checked in at Tue Mar 8 11:02:14 CET 2011.



--------
--- python-py2pack/python-py2pack.changes       2011-01-26 18:36:59.000000000 
+0100
+++ /mounts/work_src_done/STABLE/python-py2pack/python-py2pack.changes  
2011-02-16 10:06:55.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Feb 16 08:42:27 UTC 2011 - sasc...@suse.de
+
+- Update to version 0.3.11
+  * Remove newer Python features (allow running on older Distros,
+    namely RHEL5 and SLES9)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  py2pack-0.3.10.tar.bz2

New:
----
  py2pack-0.3.11.tar.bz2

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

Other differences:
------------------
++++++ python-py2pack.spec ++++++
--- /var/tmp/diff_new_pack.QaVDYa/_old  2011-03-08 10:58:42.000000000 +0100
+++ /var/tmp/diff_new_pack.QaVDYa/_new  2011-03-08 10:58:42.000000000 +0100
@@ -23,7 +23,7 @@
 %define mod_name py2pack
 
 Name:           python-%{mod_name}
-Version:        0.3.10
+Version:        0.3.11
 Release:        1
 Url:            http://github.com/saschpe/py2pack
 Summary:        Generate distribution packages from Python packages on PyPI

++++++ py2pack-0.3.10.tar.bz2 -> py2pack-0.3.11.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.10/PKG-INFO new/py2pack-0.3.11/PKG-INFO
--- old/py2pack-0.3.10/PKG-INFO 2011-01-26 18:29:49.000000000 +0100
+++ new/py2pack-0.3.11/PKG-INFO 2011-02-16 09:39:16.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.3.10
+Version: 0.3.11
 Summary: Generate distribution packages from Python packages on PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.10/py2pack/__init__.py 
new/py2pack-0.3.11/py2pack/__init__.py
--- old/py2pack-0.3.10/py2pack/__init__.py      2011-01-26 18:28:23.000000000 
+0100
+++ new/py2pack-0.3.11/py2pack/__init__.py      2011-02-16 09:38:58.000000000 
+0100
@@ -1,5 +1,5 @@
 __doc__ = 'Generate distribution packages from Python packages on PyPI'
 __author__ = 'Sascha Peilicke <sasc...@gmx.de>'
-__version__ = '0.3.10'
+__version__ = '0.3.11'
 
 from py2pack import list, search, fetch, generate, main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.3.10/py2pack/py2pack.py 
new/py2pack-0.3.11/py2pack/py2pack.py
--- old/py2pack-0.3.10/py2pack/py2pack.py       2011-01-18 22:00:26.000000000 
+0100
+++ new/py2pack-0.3.11/py2pack/py2pack.py       2011-02-16 09:25:03.000000000 
+0100
@@ -71,8 +71,11 @@
     data['user_name'] = pwd.getpwuid(os.getuid())[4]                        # 
set system user (packager)
     template = env.get_template(args.template)
     result = template.render(data)
-    with open(args.filename, 'w') as outfile:                               # 
write result to spec file
+    outfile = open(args.filename, 'w')                                      # 
write result to spec file
+    try:
         outfile.write(result)
+    finally:
+        outfile.close()
 
 def check_or_set_version(args):
     if not args.version:                                                    # 
take first version found


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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to