mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
python-bluez: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
57b1fb4d19
commit
f758ada7d0
2 changed files with 13 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'python-bluez'
|
# Template file for 'python-bluez'
|
||||||
pkgname=python-bluez
|
pkgname=python-bluez
|
||||||
version=0.22
|
version=0.22
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="pybluez-${version}"
|
wrksrc="pybluez-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="bluetooth"
|
pycompile_module="bluetooth"
|
||||||
hostmakedepends="python-devel python3.4-devel python-setuptools python3.4-setuptools"
|
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
|
||||||
makedepends="python-devel python3.4-devel libbluetooth-devel"
|
makedepends="python-devel python3-devel libbluetooth-devel"
|
||||||
short_desc="Python2 wrapper for the BlueZ Bluetooth stack"
|
short_desc="Python2 wrapper for the BlueZ Bluetooth stack"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -15,11 +14,16 @@ homepage="http://karulis.github.io/pybluez/"
|
||||||
distfiles="https://github.com/karulis/pybluez/archive/${version}.tar.gz"
|
distfiles="https://github.com/karulis/pybluez/archive/${version}.tar.gz"
|
||||||
checksum=53db881a2668791062985e1ff7afbe6527cdd9af3676a3160420a235bee3c768
|
checksum=53db881a2668791062985e1ff7afbe6527cdd9af3676a3160420a235bee3c768
|
||||||
|
|
||||||
python3.4-bluez_package() {
|
python3-bluez_package() {
|
||||||
short_desc="${short_desc/2/3.4/}"
|
replaces="python3.4-bluez>=0"
|
||||||
pycompile_version="3.4"
|
short_desc="${short_desc/2/3}"
|
||||||
pycompile_module="bluetooth"
|
pycompile_module="bluetooth"
|
||||||
pkg_install() {
|
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}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-bluez
Symbolic link
1
srcpkgs/python3-bluez
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-bluez
|
Loading…
Add table
Reference in a new issue