2015-01-06 07:58:06 +00:00
|
|
|
# Template file for 'python-bluez'
|
|
|
|
pkgname=python-bluez
|
2015-08-30 08:26:50 +00:00
|
|
|
version=0.22
|
2015-01-06 07:58:06 +00:00
|
|
|
revision=1
|
2015-08-17 09:01:43 +00:00
|
|
|
wrksrc="pybluez-${version}"
|
2015-01-06 07:58:06 +00:00
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
pycompile_module="bluetooth"
|
2015-08-30 08:27:47 +00:00
|
|
|
hostmakedepends="python-devel python3.4-devel python-setuptools python3.4-setuptools"
|
2015-01-06 07:58:06 +00:00
|
|
|
makedepends="python-devel python3.4-devel libbluetooth-devel"
|
|
|
|
short_desc="Python2 wrapper for the BlueZ Bluetooth stack"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-01-06 07:58:06 +00:00
|
|
|
license="GPL-2"
|
2015-08-17 09:01:43 +00:00
|
|
|
homepage="http://karulis.github.io/pybluez/"
|
|
|
|
distfiles="https://github.com/karulis/pybluez/archive/${version}.tar.gz"
|
2015-08-30 08:26:50 +00:00
|
|
|
checksum=53db881a2668791062985e1ff7afbe6527cdd9af3676a3160420a235bee3c768
|
2015-01-06 07:58:06 +00:00
|
|
|
|
|
|
|
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*
|
|
|
|
}
|
|
|
|
}
|