void-packages/srcpkgs/python-bluez/template

26 lines
777 B
Bash

# Template file for 'python-bluez'
pkgname=python-bluez
version=0.21
revision=1
wrksrc="pybluez-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="bluetooth"
hostmakedepends="python-devel python3.4-devel"
makedepends="python-devel python3.4-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=be973f27c149bc6e1253336a2373bd92b0f360c0ba25c4ece98b192b09f4c03d
python3.4-bluez_package() {
short_desc="${short_desc/2/3.4/}"
pycompile_version="3.4"
pycompile_module="bluetooth"
pkg_install() {
vmove usr/lib/python3.4*
}
}