blob: 4894f364c488b5b5145f4980427dabff6ea609bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# SPDX-License-Identifier: GPL-2.0-only
include $(TOPDIR)/rules.mk
PKG_NAME:=python-ajsonrpc
PKG_VERSION:=1.2.0
PKG_RELEASE:=1
PYPI_NAME:=ajsonrpc
PKG_HASH:=791bac18f0bf0dee109194644f151cf8b7ff529c4b8d6239ac48104a3251a19f
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.txt
HOST_BUILD_DEPENDS:=python-setuptools/host
PKG_BUILD_DEPENDS:=python-setuptools/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include ../python3-package.mk
include ../python3-host-build.mk
define Package/python3-ajsonrpc
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Async JSON-RPC 2.0 protocol + asyncio server
URL:=https://github.com/pavlov99/ajsonrpc
DEPENDS:= \
+python3-asyncio \
+python3-light \
+python3-logging
endef
define Package/python3-ajsonrpc/description
Lightweight JSON-RPC 2.0 protocol implementation and asynchronous server
powered by asyncio. This library is a successor of json-rpc and written
by the same team.
endef
$(eval $(call Py3Package,python3-ajsonrpc))
$(eval $(call BuildPackage,python3-ajsonrpc))
$(eval $(call BuildPackage,python3-ajsonrpc-src))
$(eval $(call HostBuild))
|