2019-03-27 05:23:43 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2019 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-voluptuous
|
2021-01-10 01:31:58 +08:00
|
|
|
PKG_VERSION:=0.12.1
|
|
|
|
PKG_RELEASE:=1
|
2019-03-27 05:23:43 +08:00
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
PYPI_NAME:=voluptuous
|
2021-01-10 01:31:58 +08:00
|
|
|
PKG_HASH:=663572419281ddfaf4b4197fd4942d181630120fb39b333e3adad70aeb56444b
|
2019-03-27 05:23:43 +08:00
|
|
|
|
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
|
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
include ../pypi.mk
|
2019-03-27 05:23:43 +08:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
2020-04-22 01:27:50 +08:00
|
|
|
define Package/python3-voluptuous
|
2019-03-27 05:23:43 +08:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
|
|
|
TITLE:=Data validation library
|
|
|
|
URL:=https://github.com/alecthomas/voluptuous
|
|
|
|
DEPENDS:= \
|
2020-04-22 01:27:50 +08:00
|
|
|
+python3-light
|
2019-03-27 05:23:43 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-voluptuous/description
|
2020-04-01 22:21:16 +08:00
|
|
|
It is primarily intended for validating data coming into Python as JSON, YAML, etc.
|
2019-03-27 05:23:43 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-voluptuous))
|
|
|
|
$(eval $(call BuildPackage,python3-voluptuous))
|
|
|
|
$(eval $(call BuildPackage,python3-voluptuous-src))
|