void-packages/srcpkgs/python-bluez/template

24 lines
752 B
Bash

# Template file for 'python-bluez'
pkgname=python-bluez
version=0.22
revision=3
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="Juan RP <xtraeme@voidlinux.eu>"
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*
}
}