blob: 6a8fc170ec7982203795ffdcdf9135df6a89831b (
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
|
# 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
PKG_VERSION:=0.7.2
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://codeload.github.com/keleshev/schema/tar.gz/v$(PKG_VERSION)?
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_HASH:=df35c5ecf00f890f6c4780007478c72403730641c83392bae97d4f41f1172805
PKG_BUILD_DIR:=$(BUILD_DIR)/schema-$(PKG_VERSION)
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
TITLE:=python3-schema
DEPENDS:=+python3-light
VARIANT:=python3
endef
define Package/python3-schema/description
Schema validation just got Pythonic
endef
$(eval $(call Py3Package,python3-schema))
$(eval $(call BuildPackage,python3-schema))
$(eval $(call BuildPackage,python3-schema-src))
|