Modify

Opened 9 years ago

Closed 8 years ago

Last modified 22 months ago

#2592 closed enhancement (fixed)

new package pybluez

Reported by: holgi03 Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: pybluez Cc:

Description

PyBluez is an effort to create python wrappers around system Bluetooth resources to allow Python developers to easily and quickly create Bluetooth applications.

http://org.csail.mit.edu/pybluez/


#
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Packager: holgi03

include $(TOPDIR)/rules.mk

PKG_NAME:=pybluez
PKG_VERSION:=0.13
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://org.csail.mit.edu/pybluez/release/
PKG_MD5SUM:=eb38d423b49255a7b9f5ba1f50844b53
PKG_BUILD_DEPENDS:=python

include $(INCLUDE_DIR)/package.mk
-include $(if $(DUMP)$(STAGING_DIR)/mk/python-package.mk)
ifeq ($(DUMP)$(Build/Compile/PyMod),)

$(error Python packaging code not found.)

endif

define Package/pybluez

SECTION:=lang
CATEGORY:=Languages
TITLE:=Python wrapper for the BlueZ Bluetooth stack
URL:=http://org.csail.mit.edu/pybluez/
DEPENDS:=python-core +bluez-libs

endef

define Package/python-psycopg/description

This package contains is a Python wrapper for the BlueZ Bluetooth stack

endef

CONFIGURE_ARGS += \

--with-python="$(PYTHON)" \
--with-postgres-libraries="$(STAGING_DIR)/usr/lib" \
--with-postgres-includes="$(STAGING_DIR)/usr/include" \

## --with-mxdatetime-includes="$(STAGING_DIR)$(PYTHON_PKG_DIR)/mx/DateTime/mxDateTime" \

define Build/Compile

$(call Build/Compile/PyMod,., \

install --prefix="$(PKG_INSTALL_DIR)/usr", \
LIBEVENT_HOME="$(STAGING_DIR)/usr/lib" \

)

endef

define PyPackage/pybluez/filespec
+|$(PYTHON_PKG_DIR)/bluetooth
+|$(PYTHON_PKG_DIR)/bluetooth/_bluetooth.so

endef

$(eval $(call PyPackage,pybluez))
$(eval $(call BuildPackage,pybluez))

Attachments (1)

Makefile (1.5 KB) - added by holgi03 9 years ago.
Makefile

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by holgi03

Makefile

comment:1 Changed 8 years ago by nico

  • Resolution set to fixed
  • Status changed from new to closed

Added in [10828], thanks!

comment:2 Changed 22 months ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.