#1 Patch for Python 3.13
Merged 7 months ago by limb. Opened 7 months ago by limb.
rpms/ limb/python-gattlib rawhide  into  rawhide

file added
+13
@@ -0,0 +1,13 @@ 

+ --- a/src/gattlib.cpp~	2022-07-12 01:13:30.000000000 -0500

+ +++ b/src/gattlib.cpp	2023-11-21 15:46:52.627114146 -0600

+ @@ -96,10 +96,6 @@

+  

+  void

+  IOService::start() {

+ -    if (!PyEval_ThreadsInitialized()) {

+ -        PyEval_InitThreads();

+ -    }

+ -

+      boost::thread iothread(std::bind(&IOService::operator(), this));

+      start_event.wait(10);

+  }

file modified
+6 -2
@@ -2,7 +2,7 @@ 

  

  Name:               python-gattlib

  Version:            0.20210616

- Release:            7%{?dist}

+ Release:            8%{?dist}

  Summary:            Library to access Bluetooth LE devices

  

  License:            Apache-2.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later
@@ -11,6 +11,7 @@ 

  URL:                https://github.com/oscaracena/pygattlib

  Source0:            https://files.pythonhosted.org/packages/source/g/%{modname}/%{modname}-%{version}.tar.gz

  Source1:	    COPYING

+ Patch0:             py313.patch

  

  BuildRequires:      gcc-c++

  
@@ -22,7 +23,7 @@ 

  %{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}

  BuildRequires:      python%{python3_pkgversion}-devel

  BuildRequires:      python%{python3_pkgversion}-setuptools

- BuildRequires:      boost-python3-devel

+ BuildRequires:      boost-python%{python3_pkgversion}-devel

  BuildRequires:      glib2-devel

  BuildRequires:      bluez-libs-devel

  
@@ -52,6 +53,9 @@ 

  %{python3_sitearch}/%{modname}*.egg-info/

  

  %changelog

+ * Tue Nov 21 2023 Gwyn Ciesla <gwync@protonmail.com> - 0.20210616-8

+ - Patch for Python 3.13

+ 

  * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20210616-7

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

  

no initial comment

Pull-Request has been merged by limb

7 months ago
Metadata