From 9d36a0b8c9ebf18a5bcbdf8c94f6fa4381c96772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 18 Oct 2021 18:04:34 -0300 Subject: [PATCH 1/2] python3-bluez: restore package, update to 0.23+20210920 Compilation with python 3.10 is fixed upstream as of 20210920. This reverts commit 5957216b89b88d124a84e5d5045e183bf16a71aa. Other changes - update to 20210920; one could cherry pick the commits that fix the module for python 3.10, but it's more than one (37d7888 is enough to compile but there are other failures due to python 3.10 changes). - remove python3-devel from hostmakedepends. - add python3 to depends. - add make_check=no ; there are no tests and setup.py test fails. - adopt --- srcpkgs/python3-bluez/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/python3-bluez/template diff --git a/srcpkgs/python3-bluez/template b/srcpkgs/python3-bluez/template new file mode 100644 index 000000000000..a379d137b27f --- /dev/null +++ b/srcpkgs/python3-bluez/template @@ -0,0 +1,17 @@ +# Template file for 'python3-bluez' +pkgname=python3-bluez +version=0.23+20210920 +revision=1 +_commit=37d78880179b2a83e7052e0c2b9393499dd3b857 +wrksrc="pybluez-${_commit}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel libbluetooth-devel" +depends="python3" +short_desc="Python3 wrapper for the BlueZ Bluetooth stack" +maintainer="Gonzalo TornarĂ­a " +license="GPL-2.0-or-later" +homepage="https://pybluez.readthedocs.io" +distfiles="https://github.com/pybluez/pybluez/archive/${_commit}.tar.gz" +checksum=4201616ce976742fb756baba91197c89f57061d62009875cc9d6459fcacee0bb +make_check=no # no tests and running setup.py test fails From 6ba619ba398c209d4c6956c5868598d091966c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 18 Oct 2021 18:37:56 -0300 Subject: [PATCH 2/2] removed-packages: remove python3-bluez ... since the package has been restored. --- srcpkgs/removed-packages/template | 1 - 1 file changed, 1 deletion(-) diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index 3781b64247bc..953ea29523a4 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -258,7 +258,6 @@ replaces=" python-xlib<0.29_1 python3-Django<=3.0.7_2 python3-SPARQLWrapper<=1.8.4_4 - python3-bluez<=0.23_2 python3-grako<=3.99.9_7 python3-keepalive<=0.5_6 python3-pyPEG2<=2.15.2_7