summaryrefslogtreecommitdiffstats
path: root/lang/python/python-marshmallow/Makefile
blob: 9b9f6de3f741c5ec69ddfdc5afce8db53c9b5d01 (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
47
48
# SPDX-License-Identifier: GPL-2.0-only

include $(TOPDIR)/rules.mk

PKG_NAME:=python-marshmallow
PKG_VERSION:=4.3.0
PKG_RELEASE:=1

PYPI_NAME:=marshmallow
PKG_HASH:=fb43c53b3fe240b8f6af37223d6ef1636f927ad9bea8ab323afad95dff090880

PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE

HOST_BUILD_DEPENDS:= \
	python3/host \
	python-packaging/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-marshmallow
  SECTION:=lang
  CATEGORY:=Languages
  SUBMENU:=Python
  TITLE:=Marshmallow
  URL:=https://github.com/marshmallow-code/marshmallow
  DEPENDS:= \
    +python3-decimal \
    +python3-light \
    +python3-packaging \
    +python3-urllib \
    +python3-uuid
endef

define Package/python3-marshmallow/description
  A lightweight library for converting complex datatypes to and from native
  Python datatypes.
endef

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