Skip to content

Commit

Permalink
Merge pull request #109 from ski7777/ftduino-pkg
Browse files Browse the repository at this point in the history
Remove ftduino_direct.py and add as python package
  • Loading branch information
PeterDHabermehl committed Dec 24, 2017
2 parents da89d2e + d6e73bd commit 84ff1fb
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 109 deletions.
109 changes: 0 additions & 109 deletions board/fischertechnik/TXT/rootfs/opt/ftc/ftduino_direct.py

This file was deleted.

1 change: 1 addition & 0 deletions configs/fischertechnik_TXT_defconfig
Expand Up @@ -216,6 +216,7 @@ BR2_PACKAGE_PYTHON_WEDO=y
BR2_PACKAGE_PYTHON_ZBARLIGHT=y
BR2_PACKAGE_PYTHON_LIBROBOINT=y
BR2_PACKAGE_PYTHON_FTTXPY=y
BR2_PACKAGE_PYTHON_FTDUINO_DIRECT=y

#
# Crypto
Expand Down
1 change: 1 addition & 0 deletions package/Config.in
Expand Up @@ -701,6 +701,7 @@ menu "External python modules"
source "package/python-flask-jsonrpc/Config.in"
source "package/python-flask-login/Config.in"
source "package/python-flup/Config.in"
source "package/python-ftduino-direct/Config.in"
source "package/python-ftrobopy/Config.in"
source "package/python-fttxpy/Config.in"
source "package/python-futures/Config.in"
Expand Down
6 changes: 6 additions & 0 deletions package/python-ftduino-direct/Config.in
@@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_FTDUINO_DIRECT
bool "python-ftduino-direct"
help
Python interface for the Till Harbaum's ftduino

https://github.com/PeterDHabermehl/ftduino_direct
21 changes: 21 additions & 0 deletions package/python-ftduino-direct/python-ftduino-direct.mk
@@ -0,0 +1,21 @@
################################################################################
#
# python-ftrobopy
#
################################################################################

PYTHON_FTDUINO_DIRECT_VERSION = fcc31f1c559c4a80174ee7c49805e3052c35f946
PYTHON_FTDUINO_DIRECT_SITE = $(call github,PeterDHabermehl,ftduino_direct,$(PYTHON_FTDUINO_DIRECT_VERSION))
PYTHON_FTDUINO_DIRECT_LICENSE = GPL-2.0
PYTHON_FTDUINO_DIRECT_LICENSE_FILES = LICENSE
PYTHON_FTDUINO_DIRECT_INSTALL_STAGING = NO
PYTHON_FTDUINO_DIRECT_SETUP_TYPE = distutils
PYTHON_FTDUINO_DIRECT_SUBDIR = python

ifeq ($(BR2_PACKAGE_PYTHON),y)
PYTHON_FTDUINO_DIRECT_DEPENDENCIES += python
else ifeq ($(BR2_PACKAGE_PYTHON3),y)
PYTHON_FTDUINO_DIRECT_DEPENDENCIES += python3
endif

$(eval $(python-package))

0 comments on commit 84ff1fb

Please sign in to comment.