diff --git a/srcpkgs/python-bluez/template b/srcpkgs/python-bluez/template index e64f13602ba..1988d5bcadd 100644 --- a/srcpkgs/python-bluez/template +++ b/srcpkgs/python-bluez/template @@ -1,13 +1,12 @@ # Template file for 'python-bluez' pkgname=python-bluez version=0.22 -revision=1 +revision=2 wrksrc="pybluez-${version}" build_style=python-module -python_versions="2.7 3.4" pycompile_module="bluetooth" -hostmakedepends="python-devel python3.4-devel python-setuptools python3.4-setuptools" -makedepends="python-devel python3.4-devel libbluetooth-devel" +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 " license="GPL-2" @@ -15,11 +14,16 @@ homepage="http://karulis.github.io/pybluez/" distfiles="https://github.com/karulis/pybluez/archive/${version}.tar.gz" checksum=53db881a2668791062985e1ff7afbe6527cdd9af3676a3160420a235bee3c768 -python3.4-bluez_package() { - short_desc="${short_desc/2/3.4/}" - pycompile_version="3.4" +python3-bluez_package() { + replaces="python3.4-bluez>=0" + short_desc="${short_desc/2/3}" pycompile_module="bluetooth" pkg_install() { - vmove usr/lib/python3.4* + vmove usr/lib/python3* } } +python3.4-bluez_package() { + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-bluez>=${version}_${revision}" +} diff --git a/srcpkgs/python3-bluez b/srcpkgs/python3-bluez new file mode 120000 index 00000000000..755b7c4e640 --- /dev/null +++ b/srcpkgs/python3-bluez @@ -0,0 +1 @@ +python-bluez \ No newline at end of file