forked from pool/python-pybluez
Accepting request 591656 from home:mgorse:branches:devel:languages:python
- Update to version 0.22: * experimental support for Bluetooth Low Energy, based on pygattlib implementation * l2cap options issue #88 * When cancelling device discovery, DeviceDiscoverer does not call inquiry_complete() #85 * No way to select device id for device discovery #77 * _get_available_port() should try to bind() with a supplied address instead of "" #45 * changes from 0.20 to 0.21(Apr 05, 2015) * No way to select device id for device discovery #77 * RSSI info not passed on by DeviceDiscoverer #74 * Warnings during compilation on linux #73 * python3 UnicodeDecodeError in DeviceDiscoverer find_devices * changes from 0.19 to 0.20(Jan 13, 2014) * Python 3 is now supported. * Python 3.3 uses Visual C++ 2010 Express Edition for build on windows. * changes from 0.18 to 0.19 * Added option to return the class of device in discover_devices() (Lukas Hetzenecker) * Added setl2capsecurity() method to BluetoothSocket * Fixed get_l2cap_options(), set_l2cap_options(), set_l2cap_mtu() * Added abovementioned functions as socket methods * Added BT_SECURITY_*, L2CAP_MODE_* constants * Added support for the "Extended Inquiry Response" event in the asynchronous DeviceDiscoverer (Lukas Hetzenecker) * Fixed problems with kernel 3.x - Drop python-pybluez-linux3-fix.patch: fixed upstream. - Update URL. - Add a python3 package. OBS-URL: https://build.opensuse.org/request/show/591656 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybluez?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
f277fccde3
commit
adfd937ac4
3
0.22.tar.gz
Normal file
3
0.22.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:53db881a2668791062985e1ff7afbe6527cdd9af3676a3160420a235bee3c768
|
||||||
|
size 132176
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:66b2184e0eaad5e1ecc89eb4c81cba0696b3028b85d1301186b45b0bbd761065
|
|
||||||
size 74501
|
|
@@ -1,13 +0,0 @@
|
|||||||
diff -u -r PyBluez-0.18.orig/bluetooth/__init__.py PyBluez-0.18/bluetooth/__init__.py
|
|
||||||
--- PyBluez-0.18.orig/bluetooth/__init__.py 2009-11-24 11:39:49.000000000 +0300
|
|
||||||
+++ PyBluez-0.18/bluetooth/__init__.py 2011-08-22 23:00:31.000000000 +0400
|
|
||||||
@@ -30,7 +30,7 @@
|
|
||||||
_dbg("Widcomm not ready. falling back to MS stack")
|
|
||||||
from msbt import *
|
|
||||||
|
|
||||||
-elif sys.platform == "linux2":
|
|
||||||
+elif sys.platform == "linux2" or sys.platform == "linux3":
|
|
||||||
from bluez import *
|
|
||||||
elif sys.platform == "darwin":
|
|
||||||
from osx import *
|
|
||||||
Только в PyBluez-0.18/bluetooth: __init__.py~
|
|
@@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 27 14:42:04 UTC 2018 - mgorse@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.22:
|
||||||
|
* experimental support for Bluetooth Low Energy, based on
|
||||||
|
pygattlib implementation
|
||||||
|
* l2cap options issue #88
|
||||||
|
* When cancelling device discovery, DeviceDiscoverer does not
|
||||||
|
call inquiry_complete() #85
|
||||||
|
* No way to select device id for device discovery #77
|
||||||
|
* _get_available_port() should try to bind() with
|
||||||
|
a supplied address instead of "" #45
|
||||||
|
* changes from 0.20 to 0.21(Apr 05, 2015)
|
||||||
|
* No way to select device id for device discovery #77
|
||||||
|
* RSSI info not passed on by DeviceDiscoverer #74
|
||||||
|
* Warnings during compilation on linux #73
|
||||||
|
* python3 UnicodeDecodeError in DeviceDiscoverer find_devices
|
||||||
|
* changes from 0.19 to 0.20(Jan 13, 2014)
|
||||||
|
* Python 3 is now supported.
|
||||||
|
* Python 3.3 uses Visual C++ 2010 Express Edition for build on windows.
|
||||||
|
* changes from 0.18 to 0.19
|
||||||
|
* Added option to return the class of device in
|
||||||
|
discover_devices() (Lukas Hetzenecker)
|
||||||
|
* Added setl2capsecurity() method to BluetoothSocket
|
||||||
|
* Fixed get_l2cap_options(), set_l2cap_options(), set_l2cap_mtu()
|
||||||
|
* Added abovementioned functions as socket methods
|
||||||
|
* Added BT_SECURITY_*, L2CAP_MODE_* constants
|
||||||
|
* Added support for the "Extended Inquiry Response" event in
|
||||||
|
the asynchronous DeviceDiscoverer (Lukas Hetzenecker)
|
||||||
|
* Fixed problems with kernel 3.x
|
||||||
|
- Drop python-pybluez-linux3-fix.patch: fixed upstream.
|
||||||
|
- Update URL.
|
||||||
|
- Add a python3 package.
|
||||||
|
- Modernize spec using spec-cleaner.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 24 20:28:10 UTC 2011 - gankov@opensuse.org
|
Wed Aug 24 20:28:10 UTC 2011 - gankov@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pybluez
|
# spec file for package python-pybluez
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,51 +15,43 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pybluez
|
Name: python-pybluez
|
||||||
BuildRequires: bluez-devel python-devel
|
Version: 0.22
|
||||||
|
Release: 0
|
||||||
Summary: A Python Bluetooth wrapper
|
Summary: A Python Bluetooth wrapper
|
||||||
Version: 0.18
|
License: GPL-2.0-or-later
|
||||||
Release: 7
|
|
||||||
Source: PyBluez-%{version}.tar.gz
|
|
||||||
Patch1: python-pybluez-linux3-fix.patch
|
|
||||||
License: GPL-2.0+
|
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Url: https://github.com/karulis/pybluez/
|
||||||
Url: http://code.google.com/p/pybluez/
|
Source: https://github.com/karulis/pybluez/archive/%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: bluez-devel
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Obsoletes: pybluez
|
Obsoletes: pybluez
|
||||||
Provides: pybluez
|
Provides: pybluez
|
||||||
%py_requires
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PyBluez is an effort to create python wrappers around system Bluetooth
|
PyBluez is an effort to create python wrappers around system Bluetooth
|
||||||
resources to allow Python developers to easily and quickly create
|
resources to allow Python developers to easily and quickly create
|
||||||
Bluetooth applications.
|
Bluetooth applications.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Albert Huang <albert@csail.mit.edu>
|
|
||||||
Calvin On <calvinon@csail.mit.edu>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n PyBluez-%{version} -q
|
%setup -q -n pybluez-%{version}
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" python setup.py build
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
%python_install
|
||||||
|
|
||||||
%clean
|
%files %{python_files}
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%license COPYING
|
||||||
|
%doc CHANGELOG README
|
||||||
%files -f INSTALLED_FILES
|
%{python_sitearch}/bluetooth/
|
||||||
%defattr(-,root,root)
|
%{python_sitearch}/PyBluez-%{version}-py*.egg-info
|
||||||
%doc CHANGELOG COPYING README
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user