packages/lang/python/python-voluptuous/Makefile
Jeffery To 658b1b6758 python-libraries: Remove Python 2 variants
The Python 2 variants will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-02 14:57:30 +08:00

48 lines
1.2 KiB
Makefile

#
# 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
PKG_VERSION:=0.11.7
PKG_RELEASE:=1
PYPI_NAME:=voluptuous
PKG_HASH:=2abc341dbc740c5e2302c7f9b8e2e243194fb4772585b991931cb5b22e9bf456
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python-voluptuous/Default
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Data validation library
URL:=https://github.com/alecthomas/voluptuous
endef
define Package/python3-voluptuous
$(call Package/python-voluptuous/Default)
DEPENDS:= \
+PACKAGE_python3-voluptuous:python3-light
VARIANT:=python3
endef
define Package/python3-voluptuous/description
It is primarily intended for validating data coming into Python as JSON, YAML, etc.
.
(Variant for Python3)
endef
$(eval $(call Py3Package,python3-voluptuous))
$(eval $(call BuildPackage,python3-voluptuous))
$(eval $(call BuildPackage,python3-voluptuous-src))