b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2017-2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/) |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=python-msgpack |
| 11 | PKG_VERSION:=1.0.7 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=msgpack |
| 15 | PKG_HASH:=572efc93db7a4d27e404501975ca6d2d9775705c2d922390d878fcf768d92c87 |
| 16 | |
| 17 | PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com> |
| 18 | PKG_LICENSE:=Apache-2.0 |
| 19 | PKG_LICENSE_FILES:=COPYING |
| 20 | |
| 21 | PKG_BUILD_DEPENDS:=python-cython/host |
| 22 | |
| 23 | include ../pypi.mk |
| 24 | include $(INCLUDE_DIR)/package.mk |
| 25 | include ../python3-package.mk |
| 26 | |
| 27 | define Package/python3-msgpack |
| 28 | SUBMENU:=Python |
| 29 | SECTION:=lang |
| 30 | CATEGORY:=Languages |
| 31 | TITLE:=MessagePack serializer |
| 32 | URL:=https://msgpack.org/ |
| 33 | DEPENDS:=+python3-light +libstdcpp |
| 34 | endef |
| 35 | |
| 36 | define Package/python3-msgpack/description |
| 37 | MessagePack is an efficient binary serialization format. |
| 38 | It lets you exchange data among multiple languages like JSON. |
| 39 | endef |
| 40 | |
| 41 | $(eval $(call Py3Package,python3-msgpack)) |
| 42 | $(eval $(call BuildPackage,python3-msgpack)) |
| 43 | $(eval $(call BuildPackage,python3-msgpack-src)) |