Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions lang/python/python-ajsonrpc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
Comment on lines +1 to +3
Copy link
Member

@GeorgeSapkin GeorgeSapkin Nov 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using a SPDX license header instead.


include $(TOPDIR)/rules.mk

PKG_NAME:=python-ajsonrpc
PKG_VERSION:=1.2.0
PKG_RELEASE:=1

PYPI_NAME:=ajsonrpc
PKG_HASH:=791bac18f0bf0dee109194644f151cf8b7ff529c4b8d6239ac48104a3251a19f

PKG_MAINTAINER:=Austin Lane <[email protected]>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.txt

HOST_BUILD_DEPENDS:= \
python3/host \
python-build/host \
python-installer/host \
python-wheel/host \
python-setuptools/host
PKG_BUILD_DEPENDS:=python-setuptools/host
Comment on lines +23 to +24
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not look right. Can you please check it once again? :)


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:=Python Library for implementing JSON-RPC 2.0
URL:=https://pypi.org/project/ajsonrpc
DEPENDS:=+python3-light +python3-asyncio +python3-logging
endef

define Package/python3-ajsonrpc/description
Python JSON-RPC 2.0 implementation and asynchronous server powered by asyncio
endef

$(eval $(call Py3Package,python3-ajsonrpc))
$(eval $(call BuildPackage,python3-ajsonrpc))
$(eval $(call BuildPackage,python3-ajsonrpc-src))
$(eval $(call HostBuild))
Loading