From 24a81ac2d3724c75ecfe6d8bc3790d1017ec2224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 25 Sep 2020 08:33:01 +0700 Subject: [PATCH] python3-bluez: update to 0.23, drop python 2 --- srcpkgs/python-bluez/template | 23 ----------------------- srcpkgs/python3-bluez | 1 - srcpkgs/python3-bluez/template | 14 ++++++++++++++ 3 files changed, 14 insertions(+), 24 deletions(-) delete mode 100644 srcpkgs/python-bluez/template delete mode 120000 srcpkgs/python3-bluez create mode 100644 srcpkgs/python3-bluez/template diff --git a/srcpkgs/python-bluez/template b/srcpkgs/python-bluez/template deleted file mode 100644 index 4734e47038..0000000000 --- a/srcpkgs/python-bluez/template +++ /dev/null @@ -1,23 +0,0 @@ -# Template file for 'python-bluez' -pkgname=python-bluez -version=0.22 -revision=5 -wrksrc="pybluez-${version}" -build_style=python-module -pycompile_module="bluetooth" -hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools" -makedepends="python-devel python3-devel libbluetooth-devel" -short_desc="Python2 wrapper for the BlueZ Bluetooth stack" -maintainer="Orphaned " -license="GPL-2" -homepage="http://karulis.github.io/pybluez/" -distfiles="https://github.com/karulis/pybluez/archive/${version}.tar.gz" -checksum=53db881a2668791062985e1ff7afbe6527cdd9af3676a3160420a235bee3c768 - -python3-bluez_package() { - short_desc="${short_desc/2/3}" - pycompile_module="bluetooth" - pkg_install() { - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-bluez b/srcpkgs/python3-bluez deleted file mode 120000 index 755b7c4e64..0000000000 --- a/srcpkgs/python3-bluez +++ /dev/null @@ -1 +0,0 @@ -python-bluez \ No newline at end of file diff --git a/srcpkgs/python3-bluez/template b/srcpkgs/python3-bluez/template new file mode 100644 index 0000000000..4f503ebcfd --- /dev/null +++ b/srcpkgs/python3-bluez/template @@ -0,0 +1,14 @@ +# Template file for 'python3-bluez' +pkgname=python3-bluez +version=0.23 +revision=1 +wrksrc="PyBluez-${version}" +build_style=python3-module +hostmakedepends="python3-devel python3-setuptools" +makedepends="python3-devel libbluetooth-devel" +short_desc="Python3 wrapper for the BlueZ Bluetooth stack" +maintainer="Orphaned " +license="GPL-2.0-or-later" +homepage="https://pybluez.readthedocs.io" +distfiles="$PYPI_SITE/P/PyBluez/PyBluez-${version}.tar.gz" +checksum=c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de