openSUSE Commits
Threads by month
- ----- 2024 -----
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
May 2013
- 1 participants
- 1202 discussions
commit rubygem-activerecord-deprecated_finders for openSUSE:Factory
by root@hilbert.suse.de 02 May '13
by root@hilbert.suse.de 02 May '13
02 May '13
Hello community,
here is the log from the commit of package rubygem-activerecord-deprecated_finders for openSUSE:Factory checked in at 2013-05-02 11:46:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-deprecated_finders (Old)
and /work/SRC/openSUSE:Factory/.rubygem-activerecord-deprecated_finders.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-activerecord-deprecated_finders"
Changes:
--------
New Changes file:
--- /dev/null 2013-04-05 00:01:41.916011506 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-deprecated_finders.new/rubygem-activerecord-deprecated_finders.changes 2013-05-02 11:46:12.000000000 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Sun Apr 28 07:08:24 UTC 2013 - coolo(a)suse.com
+
+- initial package for rails 4
+
New:
----
activerecord-deprecated_finders-1.0.1.gem
rubygem-activerecord-deprecated_finders.changes
rubygem-activerecord-deprecated_finders.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-activerecord-deprecated_finders.spec ++++++
#
# spec file for package rubygem-activerecord-deprecated_finders
#
# 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/
#
Name: rubygem-activerecord-deprecated_finders
Version: 1.0.1
Release: 0
%define mod_name activerecord-deprecated_finders
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 1
Url: https://github.com/rails/activerecord-deprecated_finders
Source: http://rubygems.org/gems/%{mod_full_name}.gem
Summary: This gem contains deprecated finder APIs extracted from Active
License: MIT
Group: Development/Languages/Ruby
%description
Deprecated finder APIs extracted from Active Record.
%package doc
Summary: RDoc documentation for %{mod_name}
Group: Development/Languages/Ruby
Requires: %{name} = %{version}
%description doc
Documentation generated at gem installation time.
Usually in RDoc and RI formats.
%package testsuite
Summary: Test suite for %{mod_name}
Group: Development/Languages/Ruby
Requires: %{name} = %{version}
%description testsuite
Test::Unit or RSpec files, useful for developers.
%prep
#gem_unpack
#if you need patches, apply them here and replace the # with a % sign in the surrounding lines
#gem_build
%build
%install
%gem_install -f
%files
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
%files doc
%defattr(-,root,root,-)
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
%files testsuite
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
%changelog
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package rsyslog for openSUSE:Factory checked in at 2013-05-02 11:45:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rsyslog (Old)
and /work/SRC/openSUSE:Factory/.rsyslog.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rsyslog"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rsyslog/rsyslog.changes 2013-04-23 17:35:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rsyslog.new/rsyslog.changes 2013-05-02 11:45:57.000000000 +0200
@@ -1,0 +2,67 @@
+Tue Apr 30 13:59:30 UTC 2013 - mt(a)suse.de
+
+- Adopted config file to stop instead of deprecated "~" action.
+
+-------------------------------------------------------------------
+Tue Apr 30 10:49:01 UTC 2013 - mt(a)suse.de
+
+- Enabled log file signing module lmsig_gt using GuardTime as
+ separate rsyslog-module-guardtime package.
+- Moved previously enabled log file encryption module lmcry_gcry
+ and its utility into a separate rsyslog-module-gcrypt package.
+
+-------------------------------------------------------------------
+Tue Apr 30 07:56:12 UTC 2013 - mt(a)suse.de
+
+- update to 7.3.13 [beta] 2013-04-29:
+ - added omrabbitmq module (contributed, untested)
+ Note: this is unsupported and as such was moved immediately
+ into the beta version.
+ Thanks to Vaclav Tomec for providing this module.
+ - bugfix: build problem when –enable-encryption was not selected
+ Thanks to Michael Biebl for fixing this.
+ - doc bugfix: omfile parameter “VeryRobustZip” was documentas as
+ “VeryReliableZip”
+ closes: http://bugzilla.adiscon.com/show_bug.cgi?id=437
+ Thanks to Thomas Doll for reporting this.
+- update to 7.3.12 [devel] 2013-04-25:
+ - added doc for omelasticsearch
+ Thanks to Radu Gheorghe for the doc contribution.
+ - omelasticsearch: _id field support for bulk operations
+ closes: http://bugzilla.adiscon.com/show_bug.cgi?id=392
+ Thanks to Jérôme Renard for the idea and patches.
+ - max number of templates for plugin use has been increased to five
+ - platform compatibility enhancement: solve compile issue with
+ libgcrypt do not use GCRY_CIPHER_MODE_AESWRAP where not available
+ fix compile on Solaris
+ Thanks to Martin Carpenter for the patch.
+ - bugfix: off-by-one error in handling local FQDN name (regression)
+ A remporary buffer was allocated one byte too small. Did only
+ affect startup, not actual operations. Came up during routine tests,
+ and can have no effect once the engine runs. Introduced in 7.3.11.
+ - bugfix: build problems on Solaris
+ closes: http://bugzilla.adiscon.com/show_bug.cgi?id=436
+ - bugfix: block size limit was not properly honored
+ - bugfix: potential segfault in guardtime signature provider
+ it could segfault if an error was reported by the GuardTime API,
+ because an invalid free could happen then
+- update to 7.3.11 [devel] 2013-04-23
+ - added support for encrypting log files (lmcry_gcry plugin)
+ - omhiredis: added support for redis pipeline support
+ Thanks to Brian Knox for the patch.
+ - bugfix: $PreserveFQDN is not properly working
+ Thanks to Louis Bouchard for the patch
+ closes: http://bugzilla.adiscon.com/show_bug.cgi?id=426
+ - bugfix: imuxsock aborted due to problem in ratelimiting code
+ Thanks to Tomas Heinrich for the patch.
+ - bugfix: imuxsock aborted under some conditions regression from
+ ratelimiting enhancements – this was a different one to the one
+ Tomas Heinrich patched.
+ - bugfix: timestamp problems in imkmsg
+- Enabled systemd imjournal,omjournal modules on > 12.3.
+- Enabled mmanon, providing anonymization support
+- Enabled lmcry_gcry.so, providing log file encryption support
+ and the rscryutil utility to manage the encrypted log files.
+- Removed obsolete --enable-pthreads configure option.
+
+-------------------------------------------------------------------
Old:
----
rsyslog-7.2.7.tar.gz
New:
----
rsyslog-7.3.13.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rsyslog.spec ++++++
--- /var/tmp/diff_new_pack.hV0Tn0/_old 2013-05-02 11:46:00.000000000 +0200
+++ /var/tmp/diff_new_pack.hV0Tn0/_new 2013-05-02 11:46:00.000000000 +0200
@@ -20,7 +20,7 @@
Summary: The enhanced syslogd for Linux and Unix
License: (GPL-3.0+ and Apache-2.0)
Group: System/Daemons
-Version: 7.2.7
+Version: 7.3.13
Release: 0
%if 0%{?suse_version} >= 1210
%bcond_without systemd
@@ -36,8 +36,15 @@
%else
%bcond_without systemv
%endif
+%if 0%{?suse_version} > 1230
+%bcond_without journal
+%else
+%bcond_with journal
+%endif
%bcond_without gssapi
%bcond_without gnutls
+%bcond_without gcrypt
+%bcond_without guardtime
%bcond_without mysql
%bcond_without pgsql
%bcond_without relp
@@ -71,6 +78,9 @@
%endif
%{?systemd_requires}
BuildRequires: pkgconfig(systemd)
+%if %{with journal}
+BuildRequires: pkgconfig(libsystemd-journal)
+%endif
%else
Requires(pre): %insserv_prereq %fillup_prereq /etc/init.d/syslog
BuildRequires: klogd
@@ -96,9 +106,14 @@
BuildRequires: krb5-devel
%endif
%if %{with gnutls}
-BuildRequires: libgcrypt-devel
BuildRequires: libgnutls-devel
%endif
+%if %{with gcrypt}
+BuildRequires: libgcrypt-devel
+%endif
+%if %{with guardtime}
+BuildRequires: libgt-devel
+%endif
%if %{with dbi}
BuildRequires: libdbi-devel
%endif
@@ -286,6 +301,39 @@
on current syslog-transport-tls internet drafts).
%endif
+%if %{with gcrypt}
+
+%package module-gcrypt
+Requires: %{name} = %{version}
+Summary: Libgcrypt log file encryption support module for rsyslog
+Group: System/Daemons
+
+%description module-gcrypt
+Rsyslog is an enhanced multi-threaded syslog daemon. See rsyslog
+package.
+
+This module provides log file encryption support using libgcrypt and
+a rsgtutil utility to manage the files.
+%endif
+
+%if %{with guardtime}
+
+%package module-guardtime
+Requires: %{name} = %{version}
+Summary: GuardTime log file signing support module for rsyslog
+Group: System/Daemons
+
+%description module-guardtime
+Rsyslog is an enhanced multi-threaded syslog daemon. See rsyslog
+package.
+
+This module provides log file signing support using GuardTime Keyless
+Signature Service and a rsgtutil utility to manage the files.
+
+The digital timestamping component of the service is officially certified
+and Guardtime is accredited as a timestamp authority by the European Union.
+%endif
+
%if %{with relp}
%package module-relp
@@ -430,7 +478,6 @@
--with-moddirs=%{rsyslog_module_dir_withdeps} \
--enable-option-checking \
--enable-largefile \
- --enable-pthreads \
--enable-regexp \
--enable-zlib \
--enable-klog \
@@ -502,12 +549,28 @@
--enable-imdiag \
--enable-diagtools \
%endif
+%if %{with systemd} && %{with journal}
+ --enable-imjournal \
+ --enable-omjournal \
+%endif
+ --enable-mmanon \
+%if %{with guardtime}
+ --enable-guardtime \
+%endif
+%if %{with gcrypt}
+ --enable-libgcrypt \
+%else
+ --disable-libgcrypt \
+%endif
+ --enable-usertools \
--disable-static
make %{?_smp_mflags:%{_smp_mflags}} V=1
%install
make install DESTDIR="%{buildroot}" V=1
+# Hack for v7.3.13, remove when fixed upstream
+install -m644 tools/rsgtutil.1 %{buildroot}%{_mandir}/man1/
#
rm -f %{buildroot}%{rsyslog_module_dir_nodeps}/*.la
#
@@ -519,6 +582,12 @@
%if %{with gnutls}
lmnsd_gtls.so \
%endif
+%if %{with gcrypt}
+ lmcry_gcry.so \
+%endif
+%if %{with guardtime}
+ lmsig_gt.so \
+%endif
%if %{with gssapi}
omgssapi.so imgssapi.so lmgssutil.so \
%endif
@@ -754,6 +823,7 @@
%{rsyslog_module_dir_nodeps}/imklog.so
%{rsyslog_module_dir_nodeps}/imkmsg.so
%{rsyslog_module_dir_nodeps}/immark.so
+%{rsyslog_module_dir_nodeps}/impstats.so
%{rsyslog_module_dir_nodeps}/imtcp.so
%{rsyslog_module_dir_nodeps}/imttcp.so
%{rsyslog_module_dir_nodeps}/imudp.so
@@ -767,6 +837,7 @@
%{rsyslog_module_dir_nodeps}/lmtcpclt.so
%{rsyslog_module_dir_nodeps}/lmtcpsrv.so
%{rsyslog_module_dir_nodeps}/lmzlibw.so
+%{rsyslog_module_dir_nodeps}/mmanon.so
%{rsyslog_module_dir_nodeps}/ommail.so
%{rsyslog_module_dir_nodeps}/omprog.so
%{rsyslog_module_dir_nodeps}/omruleset.so
@@ -774,11 +845,14 @@
%{rsyslog_module_dir_nodeps}/omtesting.so
%{rsyslog_module_dir_nodeps}/omuxsock.so
%{rsyslog_module_dir_nodeps}/pmlastmsg.so
-%{rsyslog_module_dir_nodeps}/impstats.so
%{rsyslog_module_dir_nodeps}/pmaixforwardedfrom.so
%{rsyslog_module_dir_nodeps}/pmcisconames.so
%{rsyslog_module_dir_nodeps}/pmrfc3164sd.so
%{rsyslog_module_dir_nodeps}/pmsnare.so
+%if %{with systemd} && %{with journal}
+%{rsyslog_module_dir_nodeps}/imjournal.so
+%{rsyslog_module_dir_nodeps}/omjournal.so
+%endif
%dir %{rsyslog_module_dir_withdeps}
%{_mandir}/man5/rsyslog.conf.5*
%{_mandir}/man8/rsyslogd.8*
@@ -919,4 +993,22 @@
%{rsyslog_module_dir_withdeps}/omzmq3.so
%endif
+%if %{with gcrypt}
+
+%files module-gcrypt
+%defattr(-,root,root)
+%{rsyslog_module_dir_withdeps}/lmcry_gcry.so
+%{_bindir}/rscryutil
+%{_mandir}/man1/rscryutil.1*
+%endif
+
+%if %{with guardtime}
+
+%files module-guardtime
+%defattr(-,root,root)
+%{rsyslog_module_dir_withdeps}/lmsig_gt.so
+%{_bindir}/rsgtutil
+%{_mandir}/man1/rsgtutil.1*
+%endif
+
%changelog
++++++ rsyslog-7.2.7.tar.gz -> rsyslog-7.3.13.tar.gz ++++++
++++ 31950 lines of diff (skipped)
++++++ rsyslog.conf.in ++++++
--- /var/tmp/diff_new_pack.hV0Tn0/_old 2013-05-02 11:46:00.000000000 +0200
+++ /var/tmp/diff_new_pack.hV0Tn0/_new 2013-05-02 11:46:00.000000000 +0200
@@ -93,7 +93,7 @@
if ($syslogfacility-text == 'kern') and \
($msg contains 'IN=' and $msg contains 'OUT=') \
then -/var/log/firewall
-& ~
+& stop
#
@@ -107,7 +107,7 @@
if ($programname == 'acpid' or $syslogtag == '[acpid]:') and \
($syslogseverity <= 5 /* notice */) \
then -/var/log/acpid
-& ~
+& stop
#
@@ -116,7 +116,7 @@
if ($programname == 'NetworkManager') or \
($programname startswith 'nm-') \
then -/var/log/NetworkManager
-& ~
+& stop
#
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package rabbitmq-server for openSUSE:Factory checked in at 2013-05-02 11:45:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rabbitmq-server (Old)
and /work/SRC/openSUSE:Factory/.rabbitmq-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rabbitmq-server"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rabbitmq-server/rabbitmq-server.changes 2013-04-05 07:37:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rabbitmq-server.new/rabbitmq-server.changes 2013-05-02 11:45:45.000000000 +0200
@@ -0,0 +1,6 @@
+-------------------------------------------------------------------
+Wed Apr 24 12:25:15 UTC 2013 - tpaszkowski(a)novell.com
+
+- fix rabbitmq-server startup on systemd enabled systems (create
+ /var/run/rabbitmq-server directory using systemd-tmpfiles mechanism)
+
New:
----
rabbitmq-server.tmpfiles.d.conf
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rabbitmq-server.spec ++++++
--- /var/tmp/diff_new_pack.4fKwuY/_old 2013-05-02 11:45:46.000000000 +0200
+++ /var/tmp/diff_new_pack.4fKwuY/_new 2013-05-02 11:45:46.000000000 +0200
@@ -38,6 +38,7 @@
Source4: rabbitmq-server.ocf
Source5: rabbitmq-server.sysconfig
Source6: rabbitmq-server.service
+Source7: rabbitmq-server.tmpfiles.d.conf
Patch0: no-nmap.patch
Patch1: no-remove-common.patch
BuildRequires: erlang
@@ -147,6 +148,12 @@
mkdir -p %{buildroot}%{_localstatedir}/lib/rabbitmq/mnesia
mkdir -p %{buildroot}%{_localstatedir}/log/rabbitmq
+# tmpfiles.d for systemd
+%if 0%{?have_systemd}
+mkdir -p %{buildroot}%/usr/lib/tmpfiles.d
+install -p -D -m 0644 %{SOURCE7} %{buildroot}/usr/lib/tmpfiles.d/rabbitmq-server.conf
+%endif
+
# Build the list of files
rm -f %{_builddir}/filelist.%{name}.rpm
echo '%defattr(-,root,root, -)' >> %{_builddir}/filelist.%{name}.rpm
@@ -173,6 +180,7 @@
%fillup_and_insserv rabbitmq-server
%if 0%{?have_systemd}
%service_add_post %{name}.service
+systemd-tmpfiles --create --clean /usr/lib/tmpfiles.d/rabbitmq-server.conf
%endif
%preun
@@ -201,6 +209,7 @@
%{_sbindir}/rcrabbitmq-server
%if 0%{?have_systemd}
%{_unitdir}/%{name}.service
+/usr/lib/tmpfiles.d/rabbitmq-server.conf
%endif
%dir /usr/lib/ocf
%dir /usr/lib/ocf/resource.d
++++++ rabbitmq-server.tmpfiles.d.conf ++++++
d /var/run/rabbitmq 0755 rabbitmq root - -
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-xlrd for openSUSE:Factory checked in at 2013-05-02 11:45:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xlrd (Old)
and /work/SRC/openSUSE:Factory/.python-xlrd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xlrd"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xlrd/python-xlrd.changes 2012-12-28 22:48:05.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-xlrd.new/python-xlrd.changes 2013-05-02 11:45:27.000000000 +0200
@@ -1,0 +2,20 @@
+Tue Apr 30 11:34:15 UTC 2013 - toddrme2178(a)gmail.com
+
+- Remove unnecessary .py extension from executable
+- Fix python2/python3 executable name conflict
+
+-------------------------------------------------------------------
+Tue Apr 16 18:52:07 UTC 2013 - jfunk(a)funktronics.ca
+
+- Update to 0.9.2:
+ - Bug fixes
+- Changes from 0.9.1:
+ * Removed support for Python < 2.6
+ * Bug fixes
+- Changes from 0.9.0:
+ * Python3 support
+ * Expanded tests
+ * Bug fixes
+- Spec cleanup
+
+-------------------------------------------------------------------
New Changes file:
--- /dev/null 2013-04-05 00:01:41.916011506 +0200
+++ /work/SRC/openSUSE:Factory/.python-xlrd.new/python3-xlrd.changes 2013-05-02 11:45:27.000000000 +0200
@@ -0,0 +1,11 @@
+-------------------------------------------------------------------
+Tue Apr 30 11:34:15 UTC 2013 - toddrme2178(a)gmail.com
+
+- Remove unnecessary .py extension from executable
+- Fix python2/python3 executable name conflict
+
+-------------------------------------------------------------------
+Tue Apr 16 19:29:03 UTC 2013 - jfunk(a)funktronics.ca
+
+- Create python3 package
+
Old:
----
shabang.patch
xlrd-0.8.0.tar.gz
New:
----
python3-xlrd.changes
python3-xlrd.spec
reveng1.xlsx
text_bar.xlsx
xlrd-0.9.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-xlrd.spec ++++++
--- /var/tmp/diff_new_pack.LkX4a4/_old 2013-05-02 11:45:29.000000000 +0200
+++ /var/tmp/diff_new_pack.LkX4a4/_new 2013-05-02 11:45:29.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-xlrd
#
-# Copyright (c) 2012 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
@@ -11,29 +11,30 @@
# 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/
#
+
Name: python-xlrd
-Version: 0.8.0
+Version: 0.9.2
Release: 0
Url: http://www.lexicon.net/sjmachin/xlrd.htm
Summary: Library for Developers to Extract Data From Microsoft Excel Spreadsheet Files
License: BSD-4-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/x/xlrd/xlrd-%{version}.tar.gz
-Patch: shabang.patch
+# Test files missing in the 0.9.2 tarball. https://github.com/python-excel/xlrd/issues/49
+Source1: reveng1.xlsx
+Source2: text_bar.xlsx
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
+BuildRequires: python-nose
+%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()")}
+%else
BuildArch: noarch
%endif
-%endif
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%description
Extract data from new and old Excel spreadsheets on any platform. Pure Python
@@ -41,18 +42,23 @@
%prep
%setup -q -n xlrd-%{version}
-%patch -p1
+# Add missing test files
+cp %{SOURCE1} %{SOURCE2} tests/
%build
-CFLAGS="%{optflags}" python setup.py build
+python setup.py build
+
+%check
+nosetests
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+mv %{buildroot}%{_bindir}/runxlrd.py %{buildroot}%{_bindir}/runxlrd
%files
%defattr(-,root,root,-)
-%doc xlrd/doc/* xlrd/examples
-%{_bindir}/runxlrd.py
+%doc xlrd/doc/* xlrd/examples README.html
+%{_bindir}/runxlrd
%{python_sitelib}/*
%changelog
++++++ python3-xlrd.spec ++++++
#
# spec file for package python3-xlrd
#
# 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/
#
Name: python3-xlrd
Version: 0.9.2
Release: 0
Url: http://www.lexicon.net/sjmachin/xlrd.htm
Summary: Library for Developers to Extract Data From Microsoft Excel Spreadsheet Files
License: BSD-4-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/x/xlrd/xlrd-%{version}.tar.gz
# Test files missing in the 0.9.2 tarball. https://github.com/python-excel/xlrd/issues/49
Source1: reveng1.xlsx
Source2: text_bar.xlsx
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3
BuildRequires: python3-devel
BuildRequires: python3-nose
BuildArch: noarch
%description
Extract data from new and old Excel spreadsheets on any platform. Pure Python
(2.1 to 2.6). Strong support for Excel dates. Unicode-aware.
%prep
%setup -q -n xlrd-%{version}
# Add missing test files
cp %{SOURCE1} %{SOURCE2} tests/
%build
python3 setup.py build
%check
nosetests-%{py3_ver}
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
mv %{buildroot}%{_bindir}/runxlrd.py %{buildroot}%{_bindir}/runxlrd-python3
%files
%defattr(-,root,root,-)
%doc xlrd/doc/* xlrd/examples README.html
%{_bindir}/runxlrd-python3
%{python_sitelib}/*
%changelog
++++++ text_bar.xlsx ++++++
++++++ xlrd-0.8.0.tar.gz -> xlrd-0.9.2.tar.gz ++++++
++++ 4810 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-WSME for openSUSE:Factory checked in at 2013-05-02 11:45:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-WSME (Old)
and /work/SRC/openSUSE:Factory/.python-WSME.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-WSME"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-WSME/python-WSME.changes 2013-04-24 12:23:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-WSME.new/python-WSME.changes 2013-05-02 11:45:02.000000000 +0200
@@ -1,0 +2,20 @@
+Mon Apr 29 11:27:37 UTC 2013 - dmueller(a)suse.com
+
+- update to 0.5b2:
+ * Changed the way datas of complex types are stored. In previous
+ versions, an attribute was added to the type for each attribute,
+ its name being the attribute name prefixed with ‘_’.
+ Starting with this version, a single attribute _wsme_dataholder
+ is added to the instance.
+ * Add a special type ‘HostRequest’ that allow a function to
+ ask for the host framework request object in its arguments.
+ * Pecan adapter: Debug mode (which returns the exception
+ tracebacks to the client) can be enabled by the pecan
+ application configuration.
+ * Fix: the cornice adapter was not usable.
+ * Fix: Submodules of wsmeext were missing in the packages.
+ * Fix: The demo app was still depending on the WSME-Soap package (which has been merged into WSME in 0.5b1).
+ * Fix: A function with only on ‘body’ parameter would fail when being called.
+ * Fix: Missing arguments were poorly reported by the frameworks adapters.
+
+-------------------------------------------------------------------
Old:
----
WSME-0.5b1.tar.gz
New:
----
WSME-0.5b2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-WSME.spec ++++++
--- /var/tmp/diff_new_pack.4Jz1Q3/_old 2013-05-02 11:45:03.000000000 +0200
+++ /var/tmp/diff_new_pack.4Jz1Q3/_new 2013-05-02 11:45:03.000000000 +0200
@@ -13,25 +13,26 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
Name: python-WSME
-Version: 0.5b1
+Version: 0.5b2
Release: 0
-License: MIT
Summary: Web Services Made Easy
-Url: http://packages.python.org/WSME/
+License: MIT
Group: Development/Languages/Python
+Url: http://packages.python.org/WSME/
Source: http://pypi.python.org/packages/source/W/WSME/WSME-%{version}.tar.gz
+BuildRequires: python-WebOb
+BuildRequires: python-d2to1
BuildRequires: python-devel
BuildRequires: python-distribute
-BuildRequires: python-d2to1
-BuildRequires: python-WebOb
BuildRequires: python-simplegeneric
BuildRequires: python-six
+Requires: python-WebOb
Requires: python-simplegeneric
Requires: python-six
-Requires: python-WebOb
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()")}
++++++ WSME-0.5b1.tar.gz -> WSME-0.5b2.tar.gz ++++++
++++ 7019 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-six for openSUSE:Factory checked in at 2013-05-02 11:44:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-six (Old)
and /work/SRC/openSUSE:Factory/.python-six.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-six"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-six/python-six.changes 2012-09-21 14:56:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2013-05-02 11:44:56.000000000 +0200
@@ -1,0 +2,14 @@
+Mon Apr 29 11:14:05 UTC 2013 - dmueller(a)suse.com
+
+- update to 1.3.0:
+ - In six.iter(items/keys/values/lists), passed keyword arguments through to the
+ underlying method.
+ - Add six.iterlists().
+ - Fix Jython detection.
+
+-------------------------------------------------------------------
+Thu Nov 22 14:18:55 UTC 2012 - toddrme2178(a)gmail.com
+
+- Removed openSUSE 11.4 spec file workarounds
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-six/python3-six.changes 2012-11-25 14:04:44.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-six.new/python3-six.changes 2013-05-02 11:44:56.000000000 +0200
@@ -1,0 +2,9 @@
+Mon Apr 29 11:14:05 UTC 2013 - dmueller(a)suse.com
+
+- update to 1.3.0:
+ - In six.iter(items/keys/values/lists), passed keyword arguments through to the
+ underlying method.
+ - Add six.iterlists().
+ - Fix Jython detection.
+
+-------------------------------------------------------------------
Old:
----
six-1.2.0.tar.gz
New:
----
six-1.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-six.spec ++++++
--- /var/tmp/diff_new_pack.Q8hc3c/_old 2013-05-02 11:44:58.000000000 +0200
+++ /var/tmp/diff_new_pack.Q8hc3c/_new 2013-05-02 11:44:58.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-six
#
-# Copyright (c) 2012 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
@@ -18,7 +18,7 @@
%define modname six
Name: python-%{modname}
-Version: 1.2.0
+Version: 1.3.0
Release: 0
Url: http://pypi.python.org/pypi/six/
Summary: Python 2 and 3 compatibility utilities
++++++ python3-six.spec ++++++
--- /var/tmp/diff_new_pack.Q8hc3c/_old 2013-05-02 11:44:58.000000000 +0200
+++ /var/tmp/diff_new_pack.Q8hc3c/_new 2013-05-02 11:44:58.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python3-six
#
-# Copyright (c) 2012 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
@@ -18,7 +18,7 @@
%define modname six
Name: python3-%{modname}
-Version: 1.2.0
+Version: 1.3.0
Release: 0
Url: http://pypi.python.org/pypi/six/
Summary: Python 2 and 3 compatibility utilities
++++++ six-1.2.0.tar.gz -> six-1.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.2.0/CHANGES new/six-1.3.0/CHANGES
--- old/six-1.2.0/CHANGES 1970-01-01 01:00:00.000000000 +0100
+++ new/six-1.3.0/CHANGES 2013-03-18 21:35:07.000000000 +0100
@@ -0,0 +1,72 @@
+Changelog for Six
+-----------------
+
+This file lists the changes in each six version.
+
+1.3.0
+-----
+
+- Issue #21: Add methods to access the closure and globals of a function.
+
+- In six.iter(items/keys/values/lists), passed keyword arguments through to the
+ underlying method.
+
+- Add six.iterlists().
+
+- Issue #20: Fix tests if tkinter is not available.
+
+- Issue #17: Define callable to be builtin callable when it is available again
+ in Python 3.2+.
+
+- Issue #16: Rename Python 2 exec_'s arguments, so casually calling exec_ with
+ keyword arguments will raise.
+
+- Issue #14: Put the six.moves package in sys.modules based on the name six is
+ imported under.
+
+- Fix Jython detection.
+
+- Pull request #4: Add email_mime_multipart, email_mime_text, and
+ email_mime_base to six.moves.
+
+1.2.0
+-----
+
+- Issue #13: Make iterkeys/itervalues/iteritems return iterators on Python 3
+ instead of iterables.
+
+- Issue #11: Fix maxsize support on Jython.
+
+- Add six.next() as an alias for six.advance_iterator().
+
+- Use the builtin next() function for advance_iterator() where is available
+ (2.6+), not just Python 3.
+
+- Add the Iterator class for writing portable iterators.
+
+1.1.0
+-----
+
+- Add the int2byte function.
+
+- Add compatibility mappings for iterators over the keys, values, and items of a
+ dictionary.
+
+- Fix six.MAXSIZE on platforms where sizeof(long) != sizeof(Py_ssize_t).
+
+- Issue #3: Add six.moves mappings for filter, map, and zip.
+
+
+1.0.0
+-----
+
+- Issue #2: u() on Python 2.x now resolves unicode escapes.
+
+- Expose an API for adding mappings to six.moves.
+
+
+1.0 beta 1
+----------
+
+- Reworked six into one .py file. This breaks imports. Please tell me if you
+ are interested in an import compatibility layer.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.2.0/LICENSE new/six-1.3.0/LICENSE
--- old/six-1.2.0/LICENSE 2012-05-20 08:35:39.000000000 +0200
+++ new/six-1.3.0/LICENSE 2013-03-17 05:09:50.000000000 +0100
@@ -1,4 +1,4 @@
-Copyright (c) 2010-2011 Benjamin Peterson
+Copyright (c) 2010-2013 Benjamin Peterson
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.2.0/PKG-INFO new/six-1.3.0/PKG-INFO
--- old/six-1.2.0/PKG-INFO 2012-08-28 21:55:21.000000000 +0200
+++ new/six-1.3.0/PKG-INFO 2013-03-18 21:40:09.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: six
-Version: 1.2.0
+Version: 1.3.0
Summary: Python 2 and 3 compatibility utilities
Home-page: http://pypi.python.org/pypi/six/
Author: Benjamin Peterson
@@ -18,6 +18,9 @@
Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be
found there.
+ For questions about six or porting in general, email the python-porting mailing
+ list: http://mail.python.org/mailman/listinfo/python-porting
+
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.2.0/README new/six-1.3.0/README
--- old/six-1.2.0/README 2012-05-20 08:35:39.000000000 +0200
+++ new/six-1.3.0/README 2012-09-29 17:20:10.000000000 +0200
@@ -9,3 +9,6 @@
Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be
found there.
+
+For questions about six or porting in general, email the python-porting mailing
+list: http://mail.python.org/mailman/listinfo/python-porting
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.2.0/documentation/index.rst new/six-1.3.0/documentation/index.rst
--- old/six-1.2.0/documentation/index.rst 2012-06-11 18:12:41.000000000 +0200
+++ new/six-1.3.0/documentation/index.rst 2013-03-18 21:13:44.000000000 +0100
@@ -10,7 +10,8 @@
Six provides simple utilities for wrapping over differences between Python 2 and
Python 3. It is intended to support codebases that work on both Python 2 and 3
-without modification.
+without modification. six consists of only one Python file, so it is painless
+to copy into a project.
Six can be downloaded on `PyPi <http://pypi.python.org/pypi/six/>`_. Its bug
tracker and code hosting is on `BitBucket <http://bitbucket.org/gutworth/six>`_.
@@ -127,14 +128,31 @@
Get the ``self`` of bound method *meth*.
+.. function:: get_function_closure(func)
+
+ Get the closure (list of cells) associated with *func*. This is equivalent
+ to ``func.__closure__`` on Python 2.6+ and ``func.func_closure`` on Python
+ 2.4 and 2.5.
+
+
.. function:: get_function_code(func)
- Get the code object associated with *func*.
+ Get the code object associated with *func*. This is equivalent to
+ ``func.__code__`` on Python 2.6+ and ``func.func_code`` on Python 2.4 and
+ 2.5.
.. function:: get_function_defaults(func)
- Get the defaults tuple associated with *func*.
+ Get the defaults tuple associated with *func*. This is equivalent to
+ ``func.__defaults__`` on Python 2.6+ and ``func.func_defaults`` on Python 2.4
+ and 2.5.
+
+
+.. function:: get_function_globals(func)
+
+ Get the globals of *func*. This is equivalent to ``func.__globals__`` on
+ Python 2.6+ and ``func.func_globals`` on Python 2.4 and 2.5.
.. function:: next(it)
@@ -151,24 +169,34 @@
so using six's version is only necessary when supporting Python 3.0 or 3.1.
-.. function:: iterkeys(dictionary)
+.. function:: iterkeys(dictionary, **kwargs)
Returns an iterator over *dictionary*\'s keys. This replaces
- ``dictionary.iterkeys()`` on Python 2 and ``dictionary.keys()`` on Python 3.
+ ``dictionary.iterkeys()`` on Python 2 and ``dictionary.keys()`` on
+ Python 3. *kwargs* are passed through to the underlying method.
-.. function:: itervalues(dictionary)
+.. function:: itervalues(dictionary, **kwargs)
Returns an iterator over *dictionary*\'s values. This replaces
``dictionary.itervalues()`` on Python 2 and ``dictionary.values()`` on
- Python 3.
+ Python 3. *kwargs* are passed through to the underlying method.
-.. function:: iteritems(dictionary)
+.. function:: iteritems(dictionary, **kwargs)
Returns an iterator over *dictionary*\'s items. This replaces
``dictionary.iteritems()`` on Python 2 and ``dictionary.items()`` on
- Python 3.
+ Python 3. *kwargs* are passed through to the underlying method.
+
+
+.. function:: iterlists(dictionary, **kwargs)
+
+ Calls ``dictionary.iterlists()`` on Python 2 and ``dictionary.lists()`` on
+ Python 3. No builtin Python mapping type has such a method; this method is
+ intended for use with multi-valued dictionaries like `Werkzeug's
+ <http://werkzeug.pocoo.org/docs/datastructures/#werkzeug.datastructures.Mult…>`_.
+ *kwargs* are passed through to the underlying method.
.. class:: Iterator
@@ -196,6 +224,11 @@
default to the scope of the caller. If just *globals* is given, it will also
be used as *locals*.
+ .. note::
+
+ Python 3's :func:`py3:exec` doesn't take keyword arguments, so calling
+ :func:`exec` with them should be avoided.
+
.. function:: print_(*args, *, file=sys.stdout, end="\n", sep=" ")
@@ -250,6 +283,12 @@
with the latin-1 encoding to bytes.
+.. note::
+
+ Since all Python versions 2.6 and after support the ``b`` prefix,
+ :func:`b`, code without 2.5 support doesn't need :func:`b`.
+
+
.. function:: u(text)
A "fake" unicode literal. *text* should always be a normal string literal.
@@ -262,9 +301,14 @@
In Python 3.3, the ``u`` prefix has been reintroduced. Code that only
supports Python 3 versions greater than 3.3 thus does not need
- :func:`u`. Additionally, since all Python versions 2.6 and after support
- the ``b`` prefix, :func:`b`, code without 2.5 support doesn't need
- :func:`b`.
+ :func:`u`.
+
+ .. note::
+
+ On Python 2, :func:`u` doesn't know what the encoding of the literal
+ is. Each byte is converted directly to the unicode codepoint of the same
+ value. Because of this, it's only safe to use :func:`u` with strings of
+ ASCII data.
.. function:: int2byte(i)
@@ -341,6 +385,12 @@
+------------------------------+-------------------------------------+---------------------------------+
| ``cStringIO`` | :func:`py2:cStringIO.StringIO` | :class:`py3:io.StringIO` |
+------------------------------+-------------------------------------+---------------------------------+
+| ``email_mime_multipart`` | :mod:`py2:email.MIMEMultipart` | :mod:`py3:email.mime.multipart` |
++------------------------------+-------------------------------------+---------------------------------+
+| ``email_mime_text`` | :mod:`py2:email.MIMEText` | :mod:`py3:email.mime.text` |
++------------------------------+-------------------------------------+---------------------------------+
+| ``email_mime_base`` | :mod:`py2:email.MIMEBase` | :mod:`py3:email.mime.base` |
++------------------------------+-------------------------------------+---------------------------------+
| ``filter`` | :func:`py2:itertools.ifilter` | :func:`py3:filter` |
+------------------------------+-------------------------------------+---------------------------------+
| ``http_cookiejar`` | :mod:`py2:cookielib` | :mod:`py3:http.cookiejar` |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.2.0/six.py new/six-1.3.0/six.py
--- old/six-1.2.0/six.py 2012-08-28 21:39:22.000000000 +0200
+++ new/six-1.3.0/six.py 2013-03-18 20:58:36.000000000 +0100
@@ -1,11 +1,30 @@
"""Utilities for writing code that runs on Python 2 and 3"""
+# Copyright (c) 2010-2013 Benjamin Peterson
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy of
+# this software and associated documentation files (the "Software"), to deal in
+# the Software without restriction, including without limitation the rights to
+# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+# the Software, and to permit persons to whom the Software is furnished to do so,
+# subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
import operator
import sys
import types
__author__ = "Benjamin Peterson <benjamin(a)python.org>"
-__version__ = "1.2.0"
+__version__ = "1.3.0"
# True if we are running on Python 3.
@@ -26,7 +45,7 @@
text_type = unicode
binary_type = str
- if sys.platform == "java":
+ if sys.platform.startswith("java"):
# Jython always uses 32 bits.
MAXSIZE = int((1 << 31) - 1)
else:
@@ -133,6 +152,9 @@
MovedModule("html_entities", "htmlentitydefs", "html.entities"),
MovedModule("html_parser", "HTMLParser", "html.parser"),
MovedModule("http_client", "httplib", "http.client"),
+ MovedModule("email_mime_multipart", "email.MIMEMultipart", "email.mime.multipart"),
+ MovedModule("email_mime_text", "email.MIMEText", "email.mime.text"),
+ MovedModule("email_mime_base", "email.MIMEBase", "email.mime.base"),
MovedModule("BaseHTTPServer", "BaseHTTPServer", "http.server"),
MovedModule("CGIHTTPServer", "CGIHTTPServer", "http.server"),
MovedModule("SimpleHTTPServer", "SimpleHTTPServer", "http.server"),
@@ -164,7 +186,7 @@
setattr(_MovedItems, attr.name, attr)
del attr
-moves = sys.modules["six.moves"] = _MovedItems("moves")
+moves = sys.modules[__name__ + ".moves"] = _MovedItems("moves")
def add_move(move):
@@ -187,22 +209,28 @@
_meth_func = "__func__"
_meth_self = "__self__"
+ _func_closure = "__closure__"
_func_code = "__code__"
_func_defaults = "__defaults__"
+ _func_globals = "__globals__"
_iterkeys = "keys"
_itervalues = "values"
_iteritems = "items"
+ _iterlists = "lists"
else:
_meth_func = "im_func"
_meth_self = "im_self"
+ _func_closure = "func_closure"
_func_code = "func_code"
_func_defaults = "func_defaults"
+ _func_globals = "func_globals"
_iterkeys = "iterkeys"
_itervalues = "itervalues"
_iteritems = "iteritems"
+ _iterlists = "iterlists"
try:
@@ -213,14 +241,18 @@
next = advance_iterator
+try:
+ callable = callable
+except NameError:
+ def callable(obj):
+ return any("__call__" in klass.__dict__ for klass in type(obj).__mro__)
+
+
if PY3:
def get_unbound_function(unbound):
return unbound
Iterator = object
-
- def callable(obj):
- return any("__call__" in klass.__dict__ for klass in type(obj).__mro__)
else:
def get_unbound_function(unbound):
return unbound.im_func
@@ -237,21 +269,27 @@
get_method_function = operator.attrgetter(_meth_func)
get_method_self = operator.attrgetter(_meth_self)
+get_function_closure = operator.attrgetter(_func_closure)
get_function_code = operator.attrgetter(_func_code)
get_function_defaults = operator.attrgetter(_func_defaults)
+get_function_globals = operator.attrgetter(_func_globals)
-def iterkeys(d):
+def iterkeys(d, **kw):
"""Return an iterator over the keys of a dictionary."""
- return iter(getattr(d, _iterkeys)())
+ return iter(getattr(d, _iterkeys)(**kw))
-def itervalues(d):
+def itervalues(d, **kw):
"""Return an iterator over the values of a dictionary."""
- return iter(getattr(d, _itervalues)())
+ return iter(getattr(d, _itervalues)(**kw))
-def iteritems(d):
+def iteritems(d, **kw):
"""Return an iterator over the (key, value) pairs of a dictionary."""
- return iter(getattr(d, _iteritems)())
+ return iter(getattr(d, _iteritems)(**kw))
+
+def iterlists(d, **kw):
+ """Return an iterator over the (key, [values]) pairs of a dictionary."""
+ return iter(getattr(d, _iterlists)(**kw))
if PY3:
@@ -295,17 +333,17 @@
del builtins
else:
- def exec_(code, globs=None, locs=None):
+ def exec_(_code_, _globs_=None, _locs_=None):
"""Execute code in a namespace."""
- if globs is None:
+ if _globs_ is None:
frame = sys._getframe(1)
- globs = frame.f_globals
- if locs is None:
- locs = frame.f_locals
+ _globs_ = frame.f_globals
+ if _locs_ is None:
+ _locs_ = frame.f_locals
del frame
- elif locs is None:
- locs = globs
- exec("""exec code in globs, locs""")
+ elif _locs_ is None:
+ _locs_ = _globs_
+ exec("""exec _code_ in _globs_, _locs_""")
exec_("""def reraise(tp, value, tb=None):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.2.0/test_six.py new/six-1.3.0/test_six.py
--- old/six-1.2.0/test_six.py 2012-07-16 22:27:05.000000000 +0200
+++ new/six-1.3.0/test_six.py 2013-03-17 05:01:29.000000000 +0100
@@ -77,6 +77,13 @@
assert "htmlparser" not in six._MovedItems.__dict__
+try:
+ import _tkinter
+except ImportError:
+ have_tkinter = False
+else:
+ have_tkinter = True
+
@py.test.mark.parametrize("item_name",
[item.name for item in six._moved_attributes])
def test_move_items(item_name):
@@ -86,7 +93,7 @@
except ImportError:
if item_name == "winreg" and not sys.platform.startswith("win"):
py.test.skip("Windows only module")
- if "_tkinter" in str(sys.exc_info()[1]):
+ if item_name.startswith("tkinter") and not have_tkinter:
py.test.skip("requires tkinter")
raise
@@ -204,11 +211,22 @@
py.test.raises(AttributeError, six.get_method_function, hasattr)
+def test_get_function_closure():
+ def f():
+ x = 42
+ def g():
+ return x
+ return g
+ cell = six.get_function_closure(f())[0]
+ assert type(cell).__name__ == "cell"
+
+
def test_get_function_code():
def f():
pass
assert isinstance(six.get_function_code(f), types.CodeType)
- py.test.raises(AttributeError, six.get_function_code, hasattr)
+ if not hasattr(sys, "pypy_version_info"):
+ py.test.raises(AttributeError, six.get_function_code, hasattr)
def test_get_function_defaults():
@@ -217,13 +235,38 @@
assert six.get_function_defaults(f) == (3, 4)
-def test_dictionary_iterators():
- d = dict(zip(range(10), reversed(range(10))))
- for name in "keys", "values", "items":
- it = getattr(six, "iter" + name)(d)
+def test_get_function_globals():
+ def f():
+ pass
+ assert six.get_function_globals(f) is globals()
+
+
+def test_dictionary_iterators(monkeypatch):
+ class MyDict(dict):
+ if not six.PY3:
+ def lists(self, **kw):
+ return [1, 2, 3]
+ def iterlists(self, **kw):
+ return iter([1, 2, 3])
+ f = MyDict.iterlists
+ del MyDict.iterlists
+ setattr(MyDict, six._iterlists, f)
+ d = MyDict(zip(range(10), reversed(range(10))))
+ for name in "keys", "values", "items", "lists":
+ meth = getattr(six, "iter" + name)
+ it = meth(d)
assert not isinstance(it, list)
assert list(it) == list(getattr(d, name)())
py.test.raises(StopIteration, six.advance_iterator, it)
+ record = []
+ def with_kw(*args, **kw):
+ record.append(kw["kw"])
+ return old(*args)
+ old = getattr(MyDict, getattr(six, "_iter" + name))
+ monkeypatch.setattr(MyDict, getattr(six, "_iter" + name), with_kw)
+ meth(d, kw=42)
+ assert record == [42]
+ monkeypatch.undo()
def test_advance_iterator():
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-sip for openSUSE:Factory checked in at 2013-05-02 11:44:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sip (Old)
and /work/SRC/openSUSE:Factory/.python-sip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sip"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sip/python-sip.changes 2013-04-05 07:44:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-sip.new/python-sip.changes 2013-05-02 11:44:51.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Apr 22 11:35:07 UTC 2013 - dmueller(a)suse.com
+
+- update to 4.14.6:
+ * Bug fix
+
+-------------------------------------------------------------------
Old:
----
sip-4.14.5.tar.gz
New:
----
sip-4.14.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sip.spec ++++++
--- /var/tmp/diff_new_pack.Ywe8eM/_old 2013-05-02 11:44:53.000000000 +0200
+++ /var/tmp/diff_new_pack.Ywe8eM/_new 2013-05-02 11:44:53.000000000 +0200
@@ -20,7 +20,7 @@
%define python_sip_api 9.2
Name: python-sip
-Version: 4.14.5
+Version: 4.14.6
Release: 0
Summary: SIP tool to use python sip bindings
License: GPL-2.0 or GPL-3.0 or SUSE-SIP
python3-sip.spec: same change
++++++ sip-4.14.5.tar.gz -> sip-4.14.6.tar.gz ++++++
++++ 8203 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-scgi for openSUSE:Factory checked in at 2013-05-02 11:44:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scgi (Old)
and /work/SRC/openSUSE:Factory/.python-scgi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scgi"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scgi/python-scgi.changes 2012-01-30 12:28:20.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-scgi.new/python-scgi.changes 2013-05-02 11:44:45.000000000 +0200
@@ -1,0 +2,11 @@
+Tue Apr 23 21:49:28 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 1.14:
+ + Improve logic for reaping dead child processes.
+ + Properly handle interrupted system calls while doing a restart.
+ + Drop GIL when passing file descriptors.
+ + Add target to build multi-architecture mod_scgi for Mac OS.
+- Rebase python-scgi-newstyle-classes.patch.
+- Add python-scgi-apache24.patch: Port to Apache 2.4.
+
+-------------------------------------------------------------------
Old:
----
scgi-1.13.tar.gz
New:
----
python-scgi-apache24.patch
scgi-1.14.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-scgi.spec ++++++
--- /var/tmp/diff_new_pack.DZjVEB/_old 2013-05-02 11:44:46.000000000 +0200
+++ /var/tmp/diff_new_pack.DZjVEB/_new 2013-05-02 11:44:46.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package python-scgi (Version 1.13)
+# spec file for package python-scgi
#
-# Copyright (c) 2009 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
@@ -15,17 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: python-scgi
-Version: 1.13
-Release: 1
+Version: 1.14
+Release: 0
#
-Group: Development/Libraries/Python
-License: SUSE-Python-1.6
#
-BuildRequires: apache2-devel pcre-devel python-devel
+BuildRequires: apache2-devel
+BuildRequires: pcre-devel
+BuildRequires: python-devel
%define apxs /usr/sbin/apxs2
%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN)
@@ -37,8 +35,11 @@
Source: http://python.ca/scgi/releases/scgi-%{version}.tar.gz
Patch0: python-scgi-newstyle-classes.patch
Patch1: python-scgi-1.13_documentation_path.patch
+Patch2: python-scgi-apache24.patch
#
-Summary: Python implementation of the SCGI protocol.
+Summary: Python implementation of the SCGI protocol
+License: SUSE-Python-1.6
+Group: Development/Libraries/Python
%description
The SCGI protocol is a replacement for the Common Gateway Interface
@@ -48,18 +49,12 @@
This package contains the python bindings.
-
-
-Authors:
---------
- Neil Schemenauer <nas(a)mems-exchange.org>
-
%package -n apache2-mod_scgi
-License: SUSE-Python-1.6
-Group: Development/Libraries/Python
-Requires: apache2 %{apache_mmn}
+Requires: %{apache_mmn}
+Requires: apache2
#
-Summary: Apache module named mod_scgi that implements the client side of the protocol.
+Summary: Apache module named mod_scgi that implements the client side of the protocol
+Group: Development/Libraries/Python
%description -n apache2-mod_scgi
The SCGI protocol is a replacement for the Common Gateway Interface
@@ -71,16 +66,11 @@
To load mod_python into Apache, run the command "a2enmod scgi" as root.
-
-
-Authors:
---------
- Neil Schemenauer <nas(a)mems-exchange.org>
-
%prep
%setup -n scgi-%{version}
%patch0 -p1
%patch1
+%patch2 -p1
%build
CFLAGS="%{optflags}" \
++++++ python-scgi-apache24.patch ++++++
--- a/apache2/mod_scgi.c
+++ b/apache2/mod_scgi.c
@@ -135,16 +135,16 @@
return DECLINED;
}
-static void log_err(const char *file, int line, request_rec *r,
+static void log_err(const char *file, int line, int index, request_rec *r,
apr_status_t status, const char *msg)
{
- ap_log_rerror(file, line, APLOG_ERR, status, r, "scgi: %s", msg);
+ ap_log_rerror(file, line, index, APLOG_ERR, status, r, "scgi: %s", msg);
}
-static void log_debug(const char *file, int line, request_rec *r, const
+static void log_debug(const char *file, int line, int index, request_rec *r, const
char *msg)
{
- ap_log_rerror(file, line, APLOG_DEBUG, APR_SUCCESS, r, msg);
+ ap_log_rerror(file, line, index, APLOG_DEBUG, APR_SUCCESS, r, "%s", msg);
}
static char *http2env(apr_pool_t *p, const char *name)
@@ -312,7 +312,7 @@
int i;
apr_status_t rv = 0;
apr_port_t port = 0;
- GET_PORT(port, r->connection->remote_addr);
+ GET_PORT(port, r->useragent_addr);
log_debug(APLOG_MARK,r, "sending headers");
t = apr_table_make(r->pool, 40);
@@ -324,14 +324,14 @@
buf = "0";
add_header(t, "CONTENT_LENGTH", buf);
add_header(t, "SCGI", SCGI_PROTOCOL_VERSION);
- add_header(t, "SERVER_SOFTWARE", ap_get_server_version());
+ add_header(t, "SERVER_SOFTWARE", ap_get_server_banner());
add_header(t, "SERVER_PROTOCOL", r->protocol);
add_header(t, "SERVER_NAME", ap_get_server_name(r));
add_header(t, "SERVER_ADMIN", r->server->server_admin);
add_header(t, "SERVER_ADDR", r->connection->local_ip);
add_header(t, "SERVER_PORT", apr_psprintf(r->pool, "%u",
ap_get_server_port(r)));
- add_header(t, "REMOTE_ADDR", r->connection->remote_ip);
+ add_header(t, "REMOTE_ADDR", r->useragent_ip);
add_header(t, "REMOTE_PORT", apr_psprintf(r->pool, "%d", port));
add_header(t, "REMOTE_USER", r->user);
add_header(t, "REQUEST_METHOD", r->method);
++++++ python-scgi-newstyle-classes.patch ++++++
--- /var/tmp/diff_new_pack.DZjVEB/_old 2013-05-02 11:44:46.000000000 +0200
+++ /var/tmp/diff_new_pack.DZjVEB/_new 2013-05-02 11:44:46.000000000 +0200
@@ -1,17 +1,17 @@
-diff --git a/scgi/scgi_server.py b/scgi/scgi_server.py
-index 0ff8453..19cbe0e 100644
---- a/scgi/scgi_server.py
-+++ b/scgi/scgi_server.py
-@@ -48,7 +48,7 @@ def read_env(input):
- env[items[i]] = items[i+1]
- return env
+Index: scgi-1.14/scgi/scgi_server.py
+===================================================================
+--- scgi-1.14.orig/scgi/scgi_server.py
++++ scgi-1.14/scgi/scgi_server.py
+@@ -61,7 +61,7 @@ class Child:
+ self.closed = 1
+
-class SCGIHandler:
+class SCGIHandler(object):
# Subclasses should override the handle_connection method.
-@@ -159,7 +159,7 @@ class SCGIHandler:
+@@ -172,7 +172,7 @@ class SCGIHandler:
print "%s: %r" % (k, v)
++++++ scgi-1.13.tar.gz -> scgi-1.14.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scgi-1.13/CHANGES.txt new/scgi-1.14/CHANGES.txt
--- old/scgi-1.13/CHANGES.txt 2008-06-28 01:40:10.000000000 +0200
+++ new/scgi-1.14/CHANGES.txt 2009-11-22 00:05:18.000000000 +0100
@@ -1,3 +1,41 @@
+Summary of changes
+==================
+
+v1.14
+-----
+
+Author: Neil Schemenauer <nas(a)arctrix.com>
+Date: Sat Nov 21 17:02:23 2009 -0600
+
+ Update version numbers for v1.14 release.
+
+Author: Neil Schemenauer <nas(a)arctrix.com>
+Date: Tue Oct 27 17:06:12 2009 -0600
+
+ Improve logic for reaping dead child processes.
+
+ Simply the logic for reaping dead children. This also fixes some
+ corner case bugs related to signal handling.
+
+Author: Neil Schemenauer <nas(a)arctrix.com>
+Date: Mon Jul 20 11:16:23 2009 -0600
+
+ Properly handle interrupted system calls while doing a restart.
+
+Author: Neil Schemenauer <nas(a)arctrix.com>
+Date: Thu Jul 9 21:35:42 2009 -0600
+
+ Drop GIL when passing file descriptors.
+
+Author: Neil Schemenauer <nas(a)arctrix.com>
+Date: Sat Aug 9 18:12:22 2008 -0600
+
+ Add target to build multi-architecture mod_scgi for Mac OS.
+
+
+v1.13
+-----
+
Author: Neil Schemenauer <nas(a)arctrix.com>
Date: Wed Jun 11 17:40:47 2008 -0600
@@ -33,6 +71,10 @@
the path being served by SCGI exists on the filesystem. Ensure that
PATH_INFO is correct. Thanks to David Binger for point out the fix.
+
+v1.12
+-----
+
Author: Jeroen T. Vermeulen <jtv(a)thaiopensource.org>
Date: Wed Feb 7 11:28:22 2007 -0600
@@ -88,6 +130,10 @@
Add some pypi information.
+
+v1.11
+-----
+
Author: Neil Schemenauer <nas(a)arctrix.com>
Date: Mon Aug 14 15:49:04 2006 -0600
@@ -149,3 +195,4 @@
Date: Fri May 19 09:30:23 2006 -0600
Import scgi 1.10.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scgi-1.13/PKG-INFO new/scgi-1.14/PKG-INFO
--- old/scgi-1.13/PKG-INFO 2008-06-28 01:40:10.000000000 +0200
+++ new/scgi-1.14/PKG-INFO 2009-11-22 00:05:18.000000000 +0100
@@ -1,12 +1,12 @@
Metadata-Version: 1.0
Name: scgi
-Version: 1.13
+Version: 1.14
Summary: A Python package for implementing SCGI servers.
Home-page: http://python.ca/scgi/
Author: Neil Schemenauer
Author-email: nas(a)arctrix.com
License: DFSG approved (see LICENSE.txt)
-Download-URL: http://python.ca/scgi/releases/scgi-1.13.tar.gz
+Download-URL: http://python.ca/scgi/releases/scgi-1.14.tar.gz
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scgi-1.13/apache1/mod_scgi.c new/scgi-1.14/apache1/mod_scgi.c
--- old/scgi-1.13/apache1/mod_scgi.c 2008-06-12 01:42:36.000000000 +0200
+++ new/scgi-1.14/apache1/mod_scgi.c 2009-11-22 00:02:09.000000000 +0100
@@ -1,4 +1,4 @@
-#define MOD_SCGI_VERSION "1.13"
+#define MOD_SCGI_VERSION "1.14"
#define SCGI_PROTOCOL_VERSION "1"
/* #define VERBOSE_DEBUG */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scgi-1.13/apache2/Makefile new/scgi-1.14/apache2/Makefile
--- old/scgi-1.13/apache2/Makefile 2008-06-12 01:42:30.000000000 +0200
+++ new/scgi-1.14/apache2/Makefile 2008-11-01 08:43:38.000000000 +0100
@@ -2,13 +2,21 @@
APXS=apxs2
APACHECTL=apache2ctl
+# Extra args for building a multi-architecture version OS X 10.5.
+UNIVERSAL="-arch ppc7400 -arch ppc64 -arch i386 -arch x86_64"
+
all:
$(APXS) -c mod_scgi.c
-# XXX should not need the -c option but for some reason it's required :-(
install:
$(APXS) -i -c mod_scgi.c
+universal:
+ $(APXS) -c -Wl,$(UNIVERSAL) -Wc,$(UNIVERSAL) mod_scgi.c
+
+install_universal:
+ $(APXS) -c -Wl,$(UNIVERSAL) -Wc,$(UNIVERSAL) mod_scgi.c
+
clean:
rm -rf mod_scgi.o mod_scgi.lo mod_scgi.slo mod_scgi.la .libs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scgi-1.13/apache2/mod_scgi.c new/scgi-1.14/apache2/mod_scgi.c
--- old/scgi-1.13/apache2/mod_scgi.c 2008-06-12 01:42:36.000000000 +0200
+++ new/scgi-1.14/apache2/mod_scgi.c 2009-11-22 00:02:06.000000000 +0100
@@ -4,7 +4,7 @@
*
*/
-#define MOD_SCGI_VERSION "1.13"
+#define MOD_SCGI_VERSION "1.14"
#define SCGI_PROTOCOL_VERSION "1"
#include "ap_config.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scgi-1.13/scgi/__init__.py new/scgi-1.14/scgi/__init__.py
--- old/scgi-1.13/scgi/__init__.py 2008-06-12 01:42:36.000000000 +0200
+++ new/scgi-1.14/scgi/__init__.py 2009-11-22 00:02:01.000000000 +0100
@@ -1 +1 @@
-__version__ = "1.13"
+__version__ = "1.14"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scgi-1.13/scgi/passfd.c new/scgi-1.14/scgi/passfd.c
--- old/scgi-1.13/scgi/passfd.c 2008-06-12 01:42:31.000000000 +0200
+++ new/scgi-1.14/scgi/passfd.c 2009-07-10 05:33:34.000000000 +0200
@@ -42,6 +42,7 @@
static int
recv_fd(int sockfd)
{
+ ssize_t rv;
char tmp[CMSG_SPACE(sizeof(int))];
struct cmsghdr *cmsg;
struct iovec iov;
@@ -56,8 +57,12 @@
msg.msg_control = tmp;
msg.msg_controllen = sizeof(tmp);
- if (recvmsg(sockfd, &msg, 0) <= 0)
+ Py_BEGIN_ALLOW_THREADS
+ rv = recvmsg(sockfd, &msg, 0);
+ Py_END_ALLOW_THREADS
+ if (rv <= 0) {
return -1;
+ }
cmsg = CMSG_FIRSTHDR(&msg);
return *(int *) CMSG_DATA(cmsg);
}
@@ -65,6 +70,7 @@
static int
send_fd (int sockfd, int fd)
{
+ ssize_t rv;
char tmp[CMSG_SPACE(sizeof(int))];
struct cmsghdr *cmsg;
struct iovec iov;
@@ -84,7 +90,10 @@
msg.msg_iov = &iov;
msg.msg_iovlen = 1;
- if (sendmsg(sockfd, &msg, 0) != 1)
+ Py_BEGIN_ALLOW_THREADS
+ rv = sendmsg(sockfd, &msg, 0);
+ Py_END_ALLOW_THREADS
+ if (rv != 1)
return -1;
return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scgi-1.13/scgi/scgi_server.py new/scgi-1.14/scgi/scgi_server.py
--- old/scgi-1.13/scgi/scgi_server.py 2008-06-12 01:42:31.000000000 +0200
+++ new/scgi-1.14/scgi/scgi_server.py 2009-11-21 23:59:58.000000000 +0100
@@ -48,6 +48,19 @@
env[items[i]] = items[i+1]
return env
+
+class Child:
+ def __init__(self, pid, fd):
+ self.pid = pid
+ self.fd = fd
+ self.closed = 0
+
+ def close(self):
+ if not self.closed:
+ os.close(self.fd)
+ self.closed = 1
+
+
class SCGIHandler:
# Subclasses should override the handle_connection method.
@@ -169,7 +182,7 @@
self.host = host
self.port = port
self.max_children = max_children
- self.children = {} # { pid : fd }
+ self.children = []
self.spawn_child()
self.restart = 0
@@ -196,42 +209,33 @@
sys.exit(0)
else:
os.close(parent_fd)
- self.children[pid] = child_fd
+ self.children.append(Child(pid, child_fd))
+
+ def get_child(self, pid):
+ for child in self.children:
+ if child.pid == pid:
+ return child
+ return None
def reap_children(self):
while self.children:
(pid, status) = os.waitpid(-1, os.WNOHANG)
if pid <= 0:
break
- os.close(self.children[pid])
- del self.children[pid]
+ child = self.get_child(pid)
+ child.close()
+ self.children.remove(child)
def do_stop(self):
- #
- # First close connections to the children, which will cause them
- # to exit after finishing what they are doing.
- #
- for fd in self.children.values():
- os.close(fd)
- #
- # Then do a blocking wait on each until we have cleared the
- # slate.
- #
- for pid in self.children.keys():
- (pid, status) = os.waitpid(pid, 0)
- self.children = {}
+ # Close connections to the children, which will cause them to exit
+ # after finishing what they are doing.
+ for child in self.children:
+ child.close()
def do_restart(self):
- # Stop
self.do_stop()
-
- #
- # Fire off a new child, we'll be wanting it soon.
- #
- self.spawn_child()
self.restart = 0
-
def delegate_request(self, conn):
"""Pass a request fd to a child process to handle. This method
blocks if all the children are busy and we have reached the
@@ -251,8 +255,9 @@
timeout = 0
while 1:
+ fds = [child.fd for child in self.children if not child.closed]
try:
- r, w, e = select.select(self.children.values(), [], [], timeout)
+ r, w, e = select.select(fds, [], [], timeout)
except select.error, e:
if e[0] == errno.EINTR: # got a signal, try again
continue
@@ -261,8 +266,12 @@
# One or more children look like they are ready. Sort
# the file descriptions so that we keep preferring the
# same child.
- r.sort()
- child_fd = r[0]
+ child = None
+ for child in self.children:
+ if not child.closed and child.fd in r:
+ break
+ if child is None:
+ continue # no child found, should not get here
# Try to read the single byte written by the child.
# This can fail if the child died or the pipe really
@@ -271,7 +280,7 @@
# we fall through to the "reap_children" logic and will
# retry the select call.
try:
- ready_byte = os.read(child_fd, 1)
+ ready_byte = os.read(child.fd, 1)
if not ready_byte:
raise IOError # child died?
assert ready_byte == "1", repr(ready_byte)
@@ -289,7 +298,7 @@
# through to the "reap_children" logic and will
# retry the select call.
try:
- passfd.sendfd(child_fd, conn.fileno())
+ passfd.sendfd(child.fd, conn.fileno())
except IOError, exc:
if exc.errno == errno.EPIPE:
pass # broken pipe, child died?
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-pytz for openSUSE:Factory checked in at 2013-05-02 11:44:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytz (Old)
and /work/SRC/openSUSE:Factory/.python-pytz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytz"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytz/python-pytz.changes 2013-01-20 08:16:51.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytz.new/python-pytz.changes 2013-05-02 11:44:37.000000000 +0200
@@ -1,0 +2,16 @@
+Tue Apr 30 12:09:19 UTC 2013 - dmueller(a)suse.com
+
+- remove conflicts with timezone, breaks the build
+
+-------------------------------------------------------------------
+Tue Apr 30 09:56:41 UTC 2013 - dmueller(a)suse.com
+
+- add provides/obsoletes on python(3)-tz
+
+-------------------------------------------------------------------
+Mon Apr 29 12:11:02 UTC 2013 - dmueller(a)suse.com
+
+- update to 2013b:
+ * Sync with timezone 2013b release
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-pytz/python3-pytz.changes 2013-01-20 08:16:51.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytz.new/python3-pytz.changes 2013-05-02 11:44:37.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Apr 30 09:56:41 UTC 2013 - dmueller(a)suse.com
+
+- add provides/obsoletes on python(3)-tz
+
+-------------------------------------------------------------------
Old:
----
pytz-2012j.tar.bz2
New:
----
pytz-2013b.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytz.spec ++++++
--- /var/tmp/diff_new_pack.r4K0wa/_old 2013-05-02 11:44:38.000000000 +0200
+++ /var/tmp/diff_new_pack.r4K0wa/_new 2013-05-02 11:44:38.000000000 +0200
@@ -11,12 +11,13 @@
# 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/
#
+
Name: python-pytz
-Version: 2012j
+Version: 2013b
Release: 0
Url: http://pytz.sourceforge.net
Summary: World timezone definitions, modern and historical
@@ -24,6 +25,8 @@
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pytz/pytz-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Provides: python-tz = 2013b
+Obsoletes: python-tz < 2013b
BuildRequires: fdupes
BuildRequires: python-devel
#BuildRequires: python-nose
++++++ python3-pytz.spec ++++++
--- /var/tmp/diff_new_pack.r4K0wa/_old 2013-05-02 11:44:38.000000000 +0200
+++ /var/tmp/diff_new_pack.r4K0wa/_new 2013-05-02 11:44:38.000000000 +0200
@@ -11,12 +11,13 @@
# 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/
#
+
Name: python3-pytz
-Version: 2012j
+Version: 2013b
Release: 0
Url: http://pytz.sourceforge.net
Summary: World timezone definitions, modern and historical
@@ -24,6 +25,8 @@
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pytz/pytz-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Provides: python3-tz = 2013b
+Obsoletes: python3-tz < 2013b
BuildRequires: fdupes
BuildRequires: python3
BuildRequires: python3-devel
++++++ pytz-2012j.tar.bz2 -> pytz-2013b.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2012j/PKG-INFO new/pytz-2013b/PKG-INFO
--- old/pytz-2012j/PKG-INFO 2013-01-03 10:49:53.000000000 +0100
+++ new/pytz-2013b/PKG-INFO 2013-03-14 18:51:06.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: pytz
-Version: 2012j
+Version: 2013b
Summary: World timezone definitions, modern and historical
Home-page: http://pytz.sourceforge.net
Author: Stuart Bishop
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2012j/pytz/__init__.py new/pytz-2013b/pytz/__init__.py
--- old/pytz-2012j/pytz/__init__.py 2013-01-03 10:47:22.000000000 +0100
+++ new/pytz-2013b/pytz/__init__.py 2013-03-14 18:46:41.000000000 +0100
@@ -9,7 +9,7 @@
'''
# The Olson database is updated several times a year.
-OLSON_VERSION = '2012j'
+OLSON_VERSION = '2013b'
VERSION = OLSON_VERSION
# Version format for a patch release - only one so far.
#VERSION = OLSON_VERSION + '.2'
@@ -794,6 +794,7 @@
'Asia/Kashgar',
'Asia/Kathmandu',
'Asia/Katmandu',
+ 'Asia/Khandyga',
'Asia/Kolkata',
'Asia/Krasnoyarsk',
'Asia/Kuala_Lumpur',
@@ -835,6 +836,7 @@
'Asia/Ulaanbaatar',
'Asia/Ulan_Bator',
'Asia/Urumqi',
+ 'Asia/Ust-Nera',
'Asia/Vientiane',
'Asia/Vladivostok',
'Asia/Yakutsk',
@@ -943,6 +945,7 @@
'Europe/Brussels',
'Europe/Bucharest',
'Europe/Budapest',
+ 'Europe/Busingen',
'Europe/Chisinau',
'Europe/Copenhagen',
'Europe/Dublin',
@@ -1350,6 +1353,7 @@
'Asia/Karachi',
'Asia/Kashgar',
'Asia/Kathmandu',
+ 'Asia/Khandyga',
'Asia/Kolkata',
'Asia/Krasnoyarsk',
'Asia/Kuala_Lumpur',
@@ -1385,6 +1389,7 @@
'Asia/Tokyo',
'Asia/Ulaanbaatar',
'Asia/Urumqi',
+ 'Asia/Ust-Nera',
'Asia/Vientiane',
'Asia/Vladivostok',
'Asia/Yakutsk',
@@ -1427,6 +1432,7 @@
'Europe/Brussels',
'Europe/Bucharest',
'Europe/Budapest',
+ 'Europe/Busingen',
'Europe/Chisinau',
'Europe/Copenhagen',
'Europe/Dublin',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2012j/pytz/tests/test_tzinfo.py new/pytz-2013b/pytz/tests/test_tzinfo.py
--- old/pytz-2012j/pytz/tests/test_tzinfo.py 2013-01-03 10:47:22.000000000 +0100
+++ new/pytz-2013b/pytz/tests/test_tzinfo.py 2013-03-14 18:46:41.000000000 +0100
@@ -21,7 +21,7 @@
# I test for expected version to ensure the correct version of pytz is
# actually being tested.
-EXPECTED_VERSION='2012j'
+EXPECTED_VERSION='2013b'
fmt = '%Y-%m-%d %H:%M:%S %Z%z'
Files old/pytz-2012j/pytz/zoneinfo/Africa/Cairo and new/pytz-2013b/pytz/zoneinfo/Africa/Cairo differ
Files old/pytz-2012j/pytz/zoneinfo/Africa/Casablanca and new/pytz-2013b/pytz/zoneinfo/Africa/Casablanca differ
Files old/pytz-2012j/pytz/zoneinfo/Africa/Gaborone and new/pytz-2013b/pytz/zoneinfo/Africa/Gaborone differ
Files old/pytz-2012j/pytz/zoneinfo/America/Asuncion and new/pytz-2013b/pytz/zoneinfo/America/Asuncion differ
Files old/pytz-2012j/pytz/zoneinfo/America/Barbados and new/pytz-2013b/pytz/zoneinfo/America/Barbados differ
Files old/pytz-2012j/pytz/zoneinfo/America/Bogota and new/pytz-2013b/pytz/zoneinfo/America/Bogota differ
Files old/pytz-2012j/pytz/zoneinfo/America/Costa_Rica and new/pytz-2013b/pytz/zoneinfo/America/Costa_Rica differ
Files old/pytz-2012j/pytz/zoneinfo/America/Curacao and new/pytz-2013b/pytz/zoneinfo/America/Curacao differ
Files old/pytz-2012j/pytz/zoneinfo/America/Kralendijk and new/pytz-2013b/pytz/zoneinfo/America/Kralendijk differ
Files old/pytz-2012j/pytz/zoneinfo/America/Lower_Princes and new/pytz-2013b/pytz/zoneinfo/America/Lower_Princes differ
Files old/pytz-2012j/pytz/zoneinfo/America/Nassau and new/pytz-2013b/pytz/zoneinfo/America/Nassau differ
Files old/pytz-2012j/pytz/zoneinfo/America/Port-au-Prince and new/pytz-2013b/pytz/zoneinfo/America/Port-au-Prince differ
Files old/pytz-2012j/pytz/zoneinfo/America/Santiago and new/pytz-2013b/pytz/zoneinfo/America/Santiago differ
Files old/pytz-2012j/pytz/zoneinfo/Antarctica/Palmer and new/pytz-2013b/pytz/zoneinfo/Antarctica/Palmer differ
Files old/pytz-2012j/pytz/zoneinfo/Asia/Aden and new/pytz-2013b/pytz/zoneinfo/Asia/Aden differ
Files old/pytz-2012j/pytz/zoneinfo/Asia/Amman and new/pytz-2013b/pytz/zoneinfo/Asia/Amman differ
Files old/pytz-2012j/pytz/zoneinfo/Asia/Hong_Kong and new/pytz-2013b/pytz/zoneinfo/Asia/Hong_Kong differ
Files old/pytz-2012j/pytz/zoneinfo/Asia/Khandyga and new/pytz-2013b/pytz/zoneinfo/Asia/Khandyga differ
Files old/pytz-2012j/pytz/zoneinfo/Asia/Muscat and new/pytz-2013b/pytz/zoneinfo/Asia/Muscat differ
Files old/pytz-2012j/pytz/zoneinfo/Asia/Rangoon and new/pytz-2013b/pytz/zoneinfo/Asia/Rangoon differ
Files old/pytz-2012j/pytz/zoneinfo/Asia/Shanghai and new/pytz-2013b/pytz/zoneinfo/Asia/Shanghai differ
Files old/pytz-2012j/pytz/zoneinfo/Asia/Ust-Nera and new/pytz-2013b/pytz/zoneinfo/Asia/Ust-Nera differ
Files old/pytz-2012j/pytz/zoneinfo/Atlantic/Bermuda and new/pytz-2013b/pytz/zoneinfo/Atlantic/Bermuda differ
Files old/pytz-2012j/pytz/zoneinfo/Chile/Continental and new/pytz-2013b/pytz/zoneinfo/Chile/Continental differ
Files old/pytz-2012j/pytz/zoneinfo/Chile/EasterIsland and new/pytz-2013b/pytz/zoneinfo/Chile/EasterIsland differ
Files old/pytz-2012j/pytz/zoneinfo/Egypt and new/pytz-2013b/pytz/zoneinfo/Egypt differ
Files old/pytz-2012j/pytz/zoneinfo/Europe/Busingen and new/pytz-2013b/pytz/zoneinfo/Europe/Busingen differ
Files old/pytz-2012j/pytz/zoneinfo/Europe/Vienna and new/pytz-2013b/pytz/zoneinfo/Europe/Vienna differ
Files old/pytz-2012j/pytz/zoneinfo/Hongkong and new/pytz-2013b/pytz/zoneinfo/Hongkong differ
Files old/pytz-2012j/pytz/zoneinfo/PRC and new/pytz-2013b/pytz/zoneinfo/PRC differ
Files old/pytz-2012j/pytz/zoneinfo/Pacific/Easter and new/pytz-2013b/pytz/zoneinfo/Pacific/Easter differ
Files old/pytz-2012j/pytz/zoneinfo/Pacific/Fiji and new/pytz-2013b/pytz/zoneinfo/Pacific/Fiji differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2012j/pytz/zoneinfo/zone.tab new/pytz-2013b/pytz/zoneinfo/zone.tab
--- old/pytz-2012j/pytz/zoneinfo/zone.tab 2013-01-03 10:47:21.000000000 +0100
+++ new/pytz-2013b/pytz/zoneinfo/zone.tab 2013-03-14 18:46:41.000000000 +0100
@@ -159,7 +159,8 @@
CX -1025+10543 Indian/Christmas
CY +3510+03322 Asia/Nicosia
CZ +5005+01426 Europe/Prague
-DE +5230+01322 Europe/Berlin
+DE +5230+01322 Europe/Berlin most locations
+DE +4742+00841 Europe/Busingen Busingen
DJ +1136+04309 Africa/Djibouti
DK +5540+01235 Europe/Copenhagen
DM +1518-06124 America/Dominica
@@ -341,8 +342,10 @@
RU +5601+09250 Asia/Krasnoyarsk Moscow+04 - Yenisei River
RU +5216+10420 Asia/Irkutsk Moscow+05 - Lake Baikal
RU +6200+12940 Asia/Yakutsk Moscow+06 - Lena River
+RU +623923+1353314 Asia/Khandyga Moscow+06 - Tomponsky, Ust-Maysky
RU +4310+13156 Asia/Vladivostok Moscow+07 - Amur River
RU +4658+14242 Asia/Sakhalin Moscow+07 - Sakhalin Island
+RU +643337+1431336 Asia/Ust-Nera Moscow+07 - Oymyakonsky
RU +5934+15048 Asia/Magadan Moscow+08 - Magadan
RU +5301+15839 Asia/Kamchatka Moscow+08 - Kamchatka
RU +6445+17729 Asia/Anadyr Moscow+08 - Bering Sea
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2012j/pytz.egg-info/PKG-INFO new/pytz-2013b/pytz.egg-info/PKG-INFO
--- old/pytz-2012j/pytz.egg-info/PKG-INFO 2013-01-03 10:49:44.000000000 +0100
+++ new/pytz-2013b/pytz.egg-info/PKG-INFO 2013-03-14 18:50:59.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: pytz
-Version: 2012j
+Version: 2013b
Summary: World timezone definitions, modern and historical
Home-page: http://pytz.sourceforge.net
Author: Stuart Bishop
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2012j/pytz.egg-info/SOURCES.txt new/pytz-2013b/pytz.egg-info/SOURCES.txt
--- old/pytz-2012j/pytz.egg-info/SOURCES.txt 2013-01-03 10:49:44.000000000 +0100
+++ new/pytz-2013b/pytz.egg-info/SOURCES.txt 2013-03-14 18:50:59.000000000 +0100
@@ -337,6 +337,7 @@
pytz/zoneinfo/Asia/Kashgar
pytz/zoneinfo/Asia/Kathmandu
pytz/zoneinfo/Asia/Katmandu
+pytz/zoneinfo/Asia/Khandyga
pytz/zoneinfo/Asia/Kolkata
pytz/zoneinfo/Asia/Krasnoyarsk
pytz/zoneinfo/Asia/Kuala_Lumpur
@@ -381,6 +382,7 @@
pytz/zoneinfo/Asia/Ulaanbaatar
pytz/zoneinfo/Asia/Ulan_Bator
pytz/zoneinfo/Asia/Urumqi
+pytz/zoneinfo/Asia/Ust-Nera
pytz/zoneinfo/Asia/Vientiane
pytz/zoneinfo/Asia/Vladivostok
pytz/zoneinfo/Asia/Yakutsk
@@ -481,6 +483,7 @@
pytz/zoneinfo/Europe/Brussels
pytz/zoneinfo/Europe/Bucharest
pytz/zoneinfo/Europe/Budapest
+pytz/zoneinfo/Europe/Busingen
pytz/zoneinfo/Europe/Chisinau
pytz/zoneinfo/Europe/Copenhagen
pytz/zoneinfo/Europe/Dublin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2012j/setup.py new/pytz-2013b/setup.py
--- old/pytz-2012j/setup.py 2013-01-03 10:47:22.000000000 +0100
+++ new/pytz-2013b/setup.py 2013-03-14 18:46:41.000000000 +0100
@@ -5,6 +5,7 @@
import pytz, sys, os, os.path
try:
+ import setuptools.command
from setuptools import setup
except ImportError:
from distutils.core import setup
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-python-subunit for openSUSE:Factory checked in at 2013-05-02 11:44:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-subunit (Old)
and /work/SRC/openSUSE:Factory/.python-python-subunit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-subunit"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-subunit/python-python-subunit.changes 2013-01-21 17:46:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-python-subunit.new/python-python-subunit.changes 2013-05-02 11:44:11.000000000 +0200
@@ -1,0 +2,14 @@
+Mon Apr 29 12:20:03 UTC 2013 - dmueller(a)suse.com
+
+- update to 0.0.11:
+ * v2 protocol draft included in this release. The v2 protocol trades off human
+ readability for a massive improvement in robustness, the ability to represent
+ concurrent tests in a single stream, cheaper parsing, and that provides
+ significantly better in-line debugging support and structured forwarding
+ of non-test data (such as stdout or stdin data).
+ * make_stream_binary is now public for reuse. (Robert Collins)
+ * Streams with no fileno() attribute are now supported, but they are not
+ checked for being in binary mode: be sure to take care of that if using
+ the library yourself. (Robert Collins)
+
+-------------------------------------------------------------------
New:
----
python-subunit-0.0.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-subunit.spec ++++++
--- /var/tmp/diff_new_pack.rAL8Ci/_old 2013-05-02 11:44:12.000000000 +0200
+++ /var/tmp/diff_new_pack.rAL8Ci/_new 2013-05-02 11:44:12.000000000 +0200
@@ -17,7 +17,7 @@
Name: python-python-subunit
-Version: 0.0.9
+Version: 0.0.11
Release: 0
Summary: Python implementation of subunit test streaming protocol
License: Apache-2.0 or BSD-3-Clause
@@ -26,6 +26,7 @@
Source: http://pypi.python.org/packages/source/p/python-subunit/python-subunit-%{ve…
BuildRequires: python-devel
BuildRequires: python-nose
+Requires: python-extras
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()")}
@@ -57,6 +58,8 @@
%files
%defattr(-,root,root,-)
%doc README NEWS
+%{_bindir}/subunit-2to1
+%{_bindir}/subunit-1to2
%{_bindir}/subunit-filter
%{_bindir}/subunit-ls
%{_bindir}/subunit-notify
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0