python-aiocoap: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yegor Yefremov 2017-09-13 16:18:59 +02:00 committed by Peter Korsgaard
parent c8352f997d
commit 662b775c5c
4 changed files with 26 additions and 0 deletions

View File

@ -691,6 +691,7 @@ endif
source "package/python3/Config.in"
if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
menu "External python modules"
source "package/python-aiocoap/Config.in"
source "package/python-alsaaudio/Config.in"
source "package/python-argh/Config.in"
source "package/python-arrow/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_AIOCOAP
bool "python-aiocoap"
depends on BR2_PACKAGE_PYTHON3
help
Python CoAP library.
https://github.com/chrysn/aiocoap

View File

@ -0,0 +1,4 @@
# md5 from https://pypi.python.org/pypi/aiocoap/json, sha256 locally computed
md5 f5fed00767b4197f2fbaa0ff95cbbf78 aiocoap-0.3.tar.gz
sha256 402d4151db6d8d0b1d66af5b6e10e0de1521decbf12140637e5b8d2aa9c5aef6 aiocoap-0.3.tar.gz
sha256 2bb211d412a6bfa4b2a9cf01123c7fe90e5e6185938896e23ab07b84f8494180 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-aiocoap
#
################################################################################
PYTHON_AIOCOAP_VERSION = 0.3
PYTHON_AIOCOAP_SOURCE = aiocoap-$(PYTHON_AIOCOAP_VERSION).tar.gz
PYTHON_AIOCOAP_SITE = https://pypi.python.org/packages/9c/f6/d839e4b14258d76e74a39810829c13f8dd31de2bfe0915579b2a609d1bbe
PYTHON_AIOCOAP_SETUP_TYPE = setuptools
PYTHON_AIOCOAP_LICENSE = MIT
PYTHON_AIOCOAP_LICENSE_FILES = LICENSE
$(eval $(python-package))