14
0

- Renamed to python-pyserial (from python-serial)

- Fixed mon-executable scripts and wrong EOL encoding rpmlint issues

- update to 2.5
  * python 3 compatibility
  * many bugfixes and features, see CHANGES.txt

- build as noarch on newer distros

- update to 2.4
  * iterator interface
  * inter-character timeout
  * support for Jython and IronPython
  * bugfixes

- updated to reflect python changes due to #149809

- converted neededforbuild to BuildRequires

- update to 2.2

- spec file cleanup

- Initial creation of package python-serial (pyserial).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyserial?expand=0&rev=1
This commit is contained in:
Sascha Peilicke
2011-09-06 15:27:11 +00:00
committed by Git OBS Bridge
commit 07003a51a6
5 changed files with 140 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
pyserial-2.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eddd22280e0dac0888c6cddd8906ebd902fa42467fee151c43ecde4196bbf511
size 106278

52
python-pyserial.changes Normal file
View File

@@ -0,0 +1,52 @@
-------------------------------------------------------------------
Tue Sep 6 15:23:26 UTC 2011 - saschpe@suse.de
- Renamed to python-pyserial (from python-serial)
- Fixed mon-executable scripts and wrong EOL encoding rpmlint issues
-------------------------------------------------------------------
Mon Oct 11 10:18:45 UTC 2010 - coolo@novell.com
- update to 2.5
* python 3 compatibility
* many bugfixes and features, see CHANGES.txt
-------------------------------------------------------------------
Wed Aug 12 20:04:41 CEST 2009 - matejcik@suse.cz
- build as noarch on newer distros
-------------------------------------------------------------------
Fri Sep 12 14:28:26 CEST 2008 - matejcik@suse.cz
- update to 2.4
* iterator interface
* inter-character timeout
* support for Jython and IronPython
* bugfixes
-------------------------------------------------------------------
Tue Feb 28 16:46:03 CET 2006 - jmatejek@suse.cz
- updated to reflect python changes due to #149809
-------------------------------------------------------------------
Wed Jan 25 21:40:51 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Thu Oct 6 16:22:18 CEST 2005 - matejcik@suse.cz
- update to 2.2
-------------------------------------------------------------------
Tue Nov 30 11:56:48 CET 2004 - mcihar@suse.cz
- spec file cleanup
-------------------------------------------------------------------
Wed Aug 25 22:36:00 CEST 2004 - garloff@suse.de
- Initial creation of package python-serial (pyserial).

61
python-pyserial.spec Normal file
View File

@@ -0,0 +1,61 @@
#
# spec file for package python-pyserial
#
# Copyright (c) 2011 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: python-pyserial
Version: 2.5
Release: 0
Url: http://pyserial.sourceforge.net/
Summary: Python Serial Port Extension
License: Python
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pyserial/pyserial-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-Sphinx
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%endif
Provides: python-serial = %{version}
#TODO: Change back to '<' after next version update
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
%prep
%setup -q -n pyserial-%{version}
sed -i "1d" serial/{serialposix,__init__}.py # Fix non-executable scripts
sed -i "s/\r//" examples/port_publisher.py # Fix EOL encoding
%build
python setup.py build
make -C documentation html && rm documentation/_build/html/.buildinfo # Build HTML documentation
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc CHANGES.txt LICENSE.txt README.txt examples documentation/_build/*
%{_bindir}/miniterm.py
%{python_sitelib}/*
%changelog