Hello community, here is the log from the commit of package python-usb for openSUSE:Factory checked in at 2013-01-25 09:37:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-usb (Old) and /work/SRC/openSUSE:Factory/.python-usb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-usb", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/python-usb/python-usb.changes 2012-04-18 16:30:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-usb.new/python-usb.changes 2013-01-25 09:37:35.000000000 +0100 @@ -1,0 +2,52 @@ +Tue Jan 22 17:33:43 UTC 2013 - [email protected] + +- Build version 1.0.0a3 + + Fixed: find() function returns -1 when not findind a substring. + + PATH_MAX is 1024 for all *BSD machines. + + Fixed type in libusb0 backend. + + Fixed: correct PATH_MAX for Darwin/Mac OSX. + + Fixed: correct value of PATH_MAX for FreeBSD + + Renamed libusb01 backend to libusb0. + + Renamed libusb10 backend to libusb1 + libusb 1.0 and libusbx probably will have backward compatibility across + all 1.x version, so there is no point in calling the backend libusb10, + since it should work with all 1.x series of the library. + + Limit zeroth string descriptor request to 254 bytes + This string descriptor cannot be longer than 255 bytes anyway, since + its length is defined by its first byte. + Also, the libusb code warns "Some devices choke on size > 255". + Since each language code is two byte long, only an even + number of bytes makes sense, so request only 254 bytes. + + Makes legacy byteWrite() and interruptWrite() more compatible with pyusb 0.4.x + PyUSB 0.4 has a very flexible input buffer treatment. This change does + not mimic it for all, but make legacy module more close to it. + + Fix "localtion/location" typo. + + Limit get_string() length to string descriptor length + Use the length as reported by the first byte of the descriptor. + Otherwise (at least for some backend/kernel combinations) the buffer + length provided by the user would be used instead, and NUL characters + would be appended to the returned string. + This also makes the legacy getString() function compatible with + pyusb 0.4. + + Return deviceVersion and usbVersion as strings + PyUSB 0.4 sets deviceVerion and usbVersion attributes as strings. So do + it for the legacy module. + + Fixed syntax errors for Python 2.4 + + Merge pull request #4 from JNRowe/master + Very minor fixes to tutorial + + Use __ suffix for inline links in reST. + Very minor, but stops docutils issuing a unreferenced link warning. + + Fixed alternate_setting in tutorial. + Typo and missing dev parameter. + + patch for data loss + + Fixed configuration indexing in the tutorial + + Updated ACKNOWLEDGEMENTS file. + + Fixed: allow Interface objects as parameters for kernel driver functions + + Fixed: do not used version_info named parameters to preserve backward compatibility + +------------------------------------------------------------------- +Thu Jan 3 18:01:44 UTC 2013 - [email protected] + +- Fix building on SLES + +------------------------------------------------------------------- Old: ---- pyusb-1.0.0a2.tar.bz2 New: ---- pyusb-1.0.0a3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-usb.spec ++++++ --- /var/tmp/diff_new_pack.Vqsduu/_old 2013-01-25 09:37:41.000000000 +0100 +++ /var/tmp/diff_new_pack.Vqsduu/_new 2013-01-25 09:37:41.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-usb # -# 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 @@ -16,20 +16,22 @@ # -%define versuffix a2 +%define versuffix a3 Name: python-usb Version: 1.0.0 -Release: 0.0 +Release: 0 Summary: USB access on the Python language License: BSD-3-Clause Group: Development/Languages/Python Url: http://sourceforge.net/projects/pyusb/ -Source: pyusb-%{version}%{versuffix}.tar.bz2 +Source: http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-alpha-3/pyusb-%{version}%{versuffix}.tar.gz BuildRequires: dos2unix BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} > 1110 BuildArch: noarch +%endif %description Aims to provide easy USB access to the Python language. -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
