use setuptools build system for python package for web interface
This commit is contained in:
parent
0abff3484c
commit
15ce23ca53
|
@ -1,3 +1,3 @@
|
||||||
source "$BR2_EXTERNAL_DOOR_PI_PATH/package/poll_desfire/Config.in"
|
source "$BR2_EXTERNAL_DOOR_PI_PATH/package/poll_desfire/Config.in"
|
||||||
source "$BR2_EXTERNAL_DOOR_PI_PATH/package/libfreefare_git/Config.in"
|
source "$BR2_EXTERNAL_DOOR_PI_PATH/package/libfreefare_git/Config.in"
|
||||||
source "$BR2_EXTERNAL_DOOR_PI_PATH/package/door_admin/Config.in"
|
source "$BR2_EXTERNAL_DOOR_PI_PATH/package/python-door-admin/Config.in"
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
DOOR_ADMIN_VERSION = 0.0.2
|
|
||||||
DOOR_ADMIN_SOURCE = door_admin_v$(DOOR_ADMIN_VERSION).tar.gz
|
|
||||||
DOOR_ADMIN_SITE = https://git.imaginaerraum.de/Telos4/DoorAdmin/archive
|
|
||||||
DOOR_ADMIN_DEPENDENCIES = python-flask-security-too python-flask-wtf python-flask-sqlalchemy
|
|
||||||
DOOR_ADMIN_LICENSE = GPL-3.0
|
|
||||||
|
|
||||||
define DOOR_ADMIN_INSTALL_STAGING_CMDS
|
|
||||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=$(STAGING_DIR) install
|
|
||||||
endef
|
|
||||||
|
|
||||||
define DOOR_ADMIN_INSTALL_TARGET_CMDS
|
|
||||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=$(TARGET_DIR) install
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(generic-package))
|
|
|
@ -1,4 +1,4 @@
|
||||||
config BR2_PACKAGE_DOOR_ADMIN
|
config BR2_PACKAGE_PYTHON_DOOR_ADMIN
|
||||||
bool "door_admin"
|
bool "door_admin"
|
||||||
select BR2_PACKAGE_PYTHON_PAHO_MQTT
|
select BR2_PACKAGE_PYTHON_PAHO_MQTT
|
||||||
select BR2_PACKAGE_PYTHON_BCRYPT
|
select BR2_PACKAGE_PYTHON_BCRYPT
|
9
br_external/package/python-door-admin/door_admin.mk
Normal file
9
br_external/package/python-door-admin/door_admin.mk
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
PYTHON_DOOR_ADMIN_VERSION = 0.0.3
|
||||||
|
PYTHON_DOOR_ADMIN_SOURCE = door_admin_v$(PYTHON_DOOR_ADMIN_VERSION).tar.gz
|
||||||
|
PYTHON_DOOR_ADMIN_SITE = https://git.imaginaerraum.de/Telos4/DoorAdmin/archive
|
||||||
|
PYTHON_DOOR_ADMIN_LICENSE = GPL-3.0
|
||||||
|
PYTHON_DOOR_ADMIN_LICENSE_FILES = LICENSE
|
||||||
|
PYTHON_DOOR_ADMIN_SETUP_TYPE = setuptools
|
||||||
|
#PYTHON_DOOR_ADMIN_DEPENDENCIES = python-flask-security-too, python-flask-wtf, python-flask-mail, python-paho-mqtt, python-flask-sqlalchemy
|
||||||
|
|
||||||
|
$(eval $(python-package))
|
Loading…
Reference in New Issue
Block a user