From 8f91c0d96a4607611f0485b2725bcd58a0245f72 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 6 Jan 2015 08:58:06 +0100 Subject: [PATCH] New package: python-bluez-0.20. --- srcpkgs/python-bluez/template | 25 +++++++++++++++++++++++++ srcpkgs/python3.4-bluez | 1 + 2 files changed, 26 insertions(+) create mode 100644 srcpkgs/python-bluez/template create mode 120000 srcpkgs/python3.4-bluez diff --git a/srcpkgs/python-bluez/template b/srcpkgs/python-bluez/template new file mode 100644 index 00000000000..61d08d0544c --- /dev/null +++ b/srcpkgs/python-bluez/template @@ -0,0 +1,25 @@ +# 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 " +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* + } +} diff --git a/srcpkgs/python3.4-bluez b/srcpkgs/python3.4-bluez new file mode 120000 index 00000000000..755b7c4e640 --- /dev/null +++ b/srcpkgs/python3.4-bluez @@ -0,0 +1 @@ +python-bluez \ No newline at end of file