blob: 537a32fbc132ace03620213dc23c6f10dd99f39b [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001# This is free software, licensed under the GNU General Public License v2.
2# See /LICENSE for more information.
3#
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=python-schema
8PKG_VERSION:=0.7.5
9PKG_RELEASE:=1
10PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com
11
12PYPI_NAME:=schema
13PKG_HASH:=f06717112c61895cabc4707752b88716e8420a8819d71404501e114f91043197
14
15PKG_LICENSE:=MIT
16PKG_LICENSE_FILES:=LICENSE-MIT
17
18include ../pypi.mk
19include $(INCLUDE_DIR)/package.mk
20include ../python3-package.mk
21
22define Package/python3-schema
23 SECTION:=lang
24 CATEGORY:=Languages
25 SUBMENU:=Python
26 URL:=https://github.com/keleshev/schema
27 TITLE:=Simple data validation library
28 DEPENDS:=+python3-light +python3-contextlib2
29endef
30
31define Package/python3-schema/description
32schema is a library for validating Python data structures, such as those
33obtained from config-files, forms, external services or command-line
34parsing, converted from JSON/YAML (or something else) to Python
35data-types.
36endef
37
38$(eval $(call Py3Package,python3-schema))
39$(eval $(call BuildPackage,python3-schema))
40$(eval $(call BuildPackage,python3-schema-src))