void-packages/srcpkgs/python-bluez/template

26 lines
781 B
Bash
Raw Normal View History

2015-01-06 08:58:06 +01:00
# Template file for 'python-bluez'
pkgname=python-bluez
version=0.20
revision=1
wrksrc="PyBluez-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="bluetooth"
hostmakedepends="unzip 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>"
2015-01-06 08:58:06 +01:00
license="GPL-2"
homepage="http://code.google.com/p/pybluez/"
distfiles="http://pybluez.googlecode.com/files/PyBluez-${version}.zip"
checksum=c5dbf8cc538acc98d18a16d75ce950c4726126f3818b89b620aac12614c2c048
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*
}
}