python3-bluez: update to 0.23, drop python 2

This commit is contained in:
Đoàn Trần Công Danh 2020-09-25 08:33:01 +07:00
parent e0877d07dd
commit 24a81ac2d3
3 changed files with 14 additions and 24 deletions

View file

@ -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 <orphan@voidlinux.org>"
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*
}
}

View file

@ -1 +0,0 @@
python-bluez

View file

@ -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 <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://pybluez.readthedocs.io"
distfiles="$PYPI_SITE/P/PyBluez/PyBluez-${version}.tar.gz"
checksum=c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de