From f655445c6b25331203a70c74db928abecb981282e52d539c42fc239f4db67c42 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Sun, 24 Nov 2013 21:06:40 +0000
Subject: [PATCH] Accepting request 208218 from
home:posophe:branches:devel:languages:python
update
OBS-URL: https://build.opensuse.org/request/show/208218
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyserial?expand=0&rev=11
---
pyserial-2.6.tar.gz | 3 ---
pyserial-2.7.tar.gz | 3 +++
python-pyserial.changes | 34 ++++++++++++++++++++++++++++++++++
python-pyserial.spec | 10 ++++------
4 files changed, 41 insertions(+), 9 deletions(-)
delete mode 100644 pyserial-2.6.tar.gz
create mode 100644 pyserial-2.7.tar.gz
diff --git a/pyserial-2.6.tar.gz b/pyserial-2.6.tar.gz
deleted file mode 100644
index c666596..0000000
--- a/pyserial-2.6.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:049dbcda0cd475d3be903e721d60889ee2cc4ec3b62892a81ecef144196413ed
-size 116289
diff --git a/pyserial-2.7.tar.gz b/pyserial-2.7.tar.gz
new file mode 100644
index 0000000..b10238d
--- /dev/null
+++ b/pyserial-2.7.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3542ec0838793e61d6224e27ff05e8ce4ba5a5c5cc4ec5c6a3e8d49247985477
+size 122081
diff --git a/python-pyserial.changes b/python-pyserial.changes
index fb86d8b..4140e8e 100644
--- a/python-pyserial.changes
+++ b/python-pyserial.changes
@@ -1,3 +1,37 @@
+-------------------------------------------------------------------
+Sun Nov 24 21:04:55 UTC 2013 - p.drouand@gmail.com
+
+- Update to version 2.7
+ + Win32: setRTS and setDTR can be called before the port is opened and it will
+ set the initial state on port open.
+ + Posix: add platform specific method: outWaiting (already present for Win32)
+ + Posix: rename flowControl to setXON to match name on Win32, add
+ flowControlOut function
+ + rfc2217: zero polls value (baudrate, data size, stop bits, parity)
+ + Posix: [Patch pyserial:28] Accept any speed on Linux [update]
+ + Posix: [Patch pyserial:29] PosixSerial.read() should "ignore" errno.EINTR
+ + OSX: [Patch pyserial:27] Scan by VendorID/Product ID for USB Serial devices
+ + Ensure working with bytes in write() calls
+ + [Bug 3540332] SerialException not returned
+ + [Bug pyserial:145] Error in socket_connection.py
+ + [Bug pyserial:135] reading from socket with timeout=None causes TypeError
+ + [Bug pyserial:130] setup.py should not append py3k to package name
+ + [Bug pyserial:117] no error on lost conn w/socket://
+ + [Patch 3462364] Fix: NameError: global name 'base' is not defined
+ + list_ports and device() for BSD updated (Anders Langworthy)
+ + [Bug 3518380] python3.2 +m serial.tools.list_ports error
+ + [Bug pyserial:137] Patch to add non +standard baudrates to Cygwin
+ + [Bug pyserial:141] open: Pass errno from IOError to SerialException
+ + [Bug pyserial:125] Undefined 'base' on list_ports_posix.py, function usb_lsusb
+ + [Bug pyserial:151] Serial.write() without a timeout uses 100% CPU on POSIX
+ + [Patch pyserial:30] [PATCH 1/1] serial.Serial() should not raise IOError.
+ + [Bug 3444941] ctypes.WinError() unicode error
+ + [Bug 3550043] on Windows in tools global name 'GetLastError' is not defined
+ + [Bug pyserial:146] flush() does nothing in windows (despite docs)
+ + [Bug pyserial:144] com0com ports ignored due to missing "friendly name"
+ + [Bug pyserial:152] Cannot configure port, some setting was wrong. Can leave
+ port handle open but port not accessible
+
-------------------------------------------------------------------
Wed Apr 24 04:16:24 UTC 2013 - highwaystar.ru@gmail.com
diff --git a/python-pyserial.spec b/python-pyserial.spec
index 8fbb73e..18af67d 100644
--- a/python-pyserial.spec
+++ b/python-pyserial.spec
@@ -17,7 +17,7 @@
Name: python-pyserial
-Version: 2.6
+Version: 2.7
Release: 0
Url: http://pyserial.sourceforge.net/
Summary: Python Serial Port Extension
@@ -27,15 +27,13 @@ Source: http://pypi.python.org/packages/source/p/pyserial/pyserial-%{ver
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-Sphinx
BuildRequires: python-devel
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
+%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
Provides: python-serial = %{version}
Obsoletes: python-serial < %{version}
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
Python Serial Port Extension for Win32, Linux, BSD, Jython, IronPython