2019-02-04 21:10:47 +08:00
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
|
|
PKG_NAME:=python-schema
|
2023-08-25 01:07:05 +08:00
|
|
|
|
PKG_VERSION:=0.7.5
|
2020-05-01 05:11:08 +08:00
|
|
|
|
PKG_RELEASE:=1
|
2023-09-04 17:08:43 +08:00
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
2019-02-04 21:10:47 +08:00
|
|
|
|
|
2020-05-01 05:11:08 +08:00
|
|
|
|
PYPI_NAME:=schema
|
2023-08-25 01:07:05 +08:00
|
|
|
|
PKG_HASH:=f06717112c61895cabc4707752b88716e8420a8819d71404501e114f91043197
|
|
|
|
|
|
|
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
|
PKG_LICENSE_FILES:=LICENSE-MIT
|
2019-02-04 21:10:47 +08:00
|
|
|
|
|
2020-05-01 05:11:08 +08:00
|
|
|
|
include ../pypi.mk
|
2019-02-04 21:10:47 +08:00
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
|
|
|
|
|
define Package/python3-schema
|
|
|
|
|
SECTION:=lang
|
|
|
|
|
CATEGORY:=Languages
|
|
|
|
|
SUBMENU:=Python
|
|
|
|
|
URL:=https://github.com/keleshev/schema
|
2023-08-25 01:07:05 +08:00
|
|
|
|
TITLE:=Simple data validation library
|
2019-02-04 21:10:47 +08:00
|
|
|
|
DEPENDS:=+python3-light +python3-contextlib2
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
define Package/python3-schema/description
|
2023-08-25 01:07:05 +08:00
|
|
|
|
schema is a library for validating Python data structures, such as those
|
|
|
|
|
obtained from config-files, forms, external services or command-line
|
|
|
|
|
parsing, converted from JSON/YAML (or something else) to Python
|
|
|
|
|
data-types.
|
2019-02-04 21:10:47 +08:00
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-schema))
|
|
|
|
|
$(eval $(call BuildPackage,python3-schema))
|
|
|
|
|
$(eval $(call BuildPackage,python3-schema-src))
|