From b72607729ca4d0cecdb1c707b24c9fc4fcf2a251 Mon Sep 17 00:00:00 2001 From: Jan Pavlinec Date: Mon, 19 Oct 2020 12:09:55 +0200 Subject: [PATCH] python-msgpack: add new package Signed-off-by: Jan Pavlinec --- lang/python/python-msgpack/Makefile | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 lang/python/python-msgpack/Makefile diff --git a/lang/python/python-msgpack/Makefile b/lang/python/python-msgpack/Makefile new file mode 100644 index 000000000..29d443a2d --- /dev/null +++ b/lang/python/python-msgpack/Makefile @@ -0,0 +1,41 @@ +# +# Copyright (C) 2017-2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/) +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-msgpack +PKG_VERSION:=1.0.0 +PKG_RELEASE:=1 + +PYPI_NAME:=msgpack +PKG_HASH:=9534d5cc480d4aff720233411a1f765be90885750b07df772380b34c10ecb5c0 + +PKG_MAINTAINER:=Jan Pavlinec +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=COPYING + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-msgpack + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=MessagePack (de)serializer + URL:=https://msgpack.org/ + DEPENDS:=+python3-light +libstdcpp +endef + +define Package/python3-msgpack/description + MessagePack is an efficient binary serialization format. + It lets you exchange data among multiple languages like JSON. +endef + +$(eval $(call Py3Package,python3-msgpack)) +$(eval $(call BuildPackage,python3-msgpack)) +$(eval $(call BuildPackage,python3-msgpack-src))