Initial Commit
- initial default booting image
This commit is contained in:
22
package/python-can/Config.in
Normal file
22
package/python-can/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_PYTHON_CAN
|
||||
bool "python-can"
|
||||
select BR2_PACKAGE_PYTHON3_SQLITE # runtime
|
||||
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
|
||||
select BR2_PACKAGE_PYTHON_PACKAGING # runtime
|
||||
select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
|
||||
select BR2_PACKAGE_PYTHON_WRAPT # runtime
|
||||
help
|
||||
This module provides controller area network support for
|
||||
Python.
|
||||
|
||||
https://github.com/hardbyte/python-can
|
||||
|
||||
if BR2_PACKAGE_PYTHON_CAN
|
||||
|
||||
config BR2_PACKAGE_PYTHON_CAN_VIEWER
|
||||
bool "python-can-viewer"
|
||||
select BR2_PACKAGE_PYTHON3_CURSES # runtime
|
||||
help
|
||||
Also install the viewer tool (requires ncurses).
|
||||
|
||||
endif
|
||||
5
package/python-can/python-can.hash
Normal file
5
package/python-can/python-can.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/python-can/json
|
||||
md5 98a1f02a9983f7c117a23bfc444ae524 python_can-4.6.1.tar.gz
|
||||
sha256 290fea135d04b8504ebff33889cc6d301e2181a54099116609f940825ffe5005 python_can-4.6.1.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.txt
|
||||
22
package/python-can/python-can.mk
Normal file
22
package/python-can/python-can.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-can
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_CAN_VERSION = 4.6.1
|
||||
PYTHON_CAN_SOURCE = python_can-$(PYTHON_CAN_VERSION).tar.gz
|
||||
PYTHON_CAN_SITE = https://files.pythonhosted.org/packages/74/f9/a9d99d36dd33be5badb747801c9255c3c526171a5542092eaacc73350fb8
|
||||
PYTHON_CAN_SETUP_TYPE = setuptools
|
||||
PYTHON_CAN_LICENSE = LGPL-3.0
|
||||
PYTHON_CAN_LICENSE_FILES = LICENSE.txt
|
||||
PYTHON_CAN_DEPENDENCIES = host-python-setuptools-scm
|
||||
|
||||
ifneq ($(BR2_PACKAGE_PYTHON_CAN_VIEWER),y)
|
||||
define PYTHON_CAN_REMOVE_VIEWER
|
||||
rm -f $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/can/viewer.py
|
||||
endef
|
||||
PYTHON_CAN_POST_INSTALL_TARGET_HOOKS += PYTHON_CAN_REMOVE_VIEWER
|
||||
endif
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user