From f9202d0ab23bf2d42607f503b884ed5620659ad0 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 4 Feb 2013 22:07:43 +0100 Subject: [PATCH] remove package 'PyBluez' Signed-off-by: Stephan Raue --- packages/python/system/PyBluez/build | 31 --------------- packages/python/system/PyBluez/install | 25 ------------ packages/python/system/PyBluez/meta | 36 ------------------ .../PyBluez/patches/PyBluez-0.18-linux3.patch | 38 ------------------- .../patches/PyBluez-0.18-setuptools.patch | 14 ------- 5 files changed, 144 deletions(-) delete mode 100755 packages/python/system/PyBluez/build delete mode 100755 packages/python/system/PyBluez/install delete mode 100644 packages/python/system/PyBluez/meta delete mode 100644 packages/python/system/PyBluez/patches/PyBluez-0.18-linux3.patch delete mode 100644 packages/python/system/PyBluez/patches/PyBluez-0.18-setuptools.patch diff --git a/packages/python/system/PyBluez/build b/packages/python/system/PyBluez/build deleted file mode 100755 index 69832db409..0000000000 --- a/packages/python/system/PyBluez/build +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr" -export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib" - -cd $PKG_BUILD - -python setup.py build --cross-compile -python setup.py install --root=./.install --prefix=/usr diff --git a/packages/python/system/PyBluez/install b/packages/python/system/PyBluez/install deleted file mode 100755 index 85a37ef61d..0000000000 --- a/packages/python/system/PyBluez/install +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -cp -PR $PKG_BUILD/.install/* $INSTALL diff --git a/packages/python/system/PyBluez/meta b/packages/python/system/PyBluez/meta deleted file mode 100644 index 9e2686fa2d..0000000000 --- a/packages/python/system/PyBluez/meta +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -PKG_NAME="PyBluez" -PKG_VERSION="0.18" -PKG_REV="1" -PKG_ARCH="any" -PKG_LICENSE="GPL" -PKG_SITE="http://code.google.com/p/pybluez/" -PKG_URL="http://pybluez.googlecode.com/files/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="Python bluez" -PKG_BUILD_DEPENDS="toolchain Python distutilscross bluez" -PKG_PRIORITY="optional" -PKG_SECTION="python/system" -PKG_SHORTDESC="PyBluez: an effort to create python wrappers around system Bluetooth resources" -PKG_LONGDESC="PyBluez is an effort to create python wrappers around system Bluetooth resources to allow Python developers to easily and quickly create Bluetooth applications." -PKG_IS_ADDON="no" - -PKG_AUTORECONF="no" diff --git a/packages/python/system/PyBluez/patches/PyBluez-0.18-linux3.patch b/packages/python/system/PyBluez/patches/PyBluez-0.18-linux3.patch deleted file mode 100644 index d0a5a95312..0000000000 --- a/packages/python/system/PyBluez/patches/PyBluez-0.18-linux3.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -Naur PyBluez-0.18/bluetooth/__init__.py PyBluez-0.18.patch/bluetooth/__init__.py ---- PyBluez-0.18/bluetooth/__init__.py 2009-11-24 09:39:49.000000000 +0100 -+++ PyBluez-0.18.patch/bluetooth/__init__.py 2011-11-30 11:41:31.652163261 +0100 -@@ -30,10 +30,12 @@ - _dbg("Widcomm not ready. falling back to MS stack") - from msbt import * - --elif sys.platform == "linux2": -+elif sys.platform.startswith("linux"): - from bluez import * - elif sys.platform == "darwin": - from osx import * -+else: -+ raise Exception("This platform (%s) is currently not supported by pybluez." % sys.platform) - - discover_devices.__doc__ = \ - """ -diff -Naur PyBluez-0.18/setup.py PyBluez-0.18.patch/setup.py ---- PyBluez-0.18/setup.py 2009-11-25 23:39:55.000000000 +0100 -+++ PyBluez-0.18.patch/setup.py 2011-11-30 11:42:45.018457088 +0100 -@@ -46,7 +46,7 @@ - ) - mods.append (mod2) - --elif sys.platform == 'linux2': -+elif sys.platform.startswith('linux'): - mod1 = Extension('bluetooth._bluetooth', - libraries = ['bluetooth'], - sources = ['bluez/btmodule.c', 'bluez/btsdp.c']) -@@ -59,6 +59,8 @@ - sources = ['osx/_osxbt.c'] - ) - mods = [ mod1 ] -+else: -+ raise Exception("This platform (%s) is currently not supported by pybluez." % sys.platform) - - - setup ( name = 'PyBluez', diff --git a/packages/python/system/PyBluez/patches/PyBluez-0.18-setuptools.patch b/packages/python/system/PyBluez/patches/PyBluez-0.18-setuptools.patch deleted file mode 100644 index db3c2be711..0000000000 --- a/packages/python/system/PyBluez/patches/PyBluez-0.18-setuptools.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Naur PyBluez-0.18/setup.py PyBluez-0.18.patch/setup.py ---- PyBluez-0.18/setup.py 2009-11-25 23:39:55.000000000 +0100 -+++ PyBluez-0.18.patch/setup.py 2010-10-18 23:47:16.585821819 +0200 -@@ -1,7 +1,9 @@ - #!/usr/bin/env python - --from distutils.core import setup, Extension -+from setuptools import setup -+from setuptools.extension import Extension - from distutils.debug import DEBUG -+ - import sys - import os -