diff options
| author | Karel Kočí <karel.koci@nic.cz> | 2019-02-04 14:10:47 +0100 |
|---|---|---|
| committer | Karel Kočí <karel.koci@nic.cz> | 2019-03-11 17:21:31 +0100 |
| commit | 091d93d2a58e1db0568bcd21269e6cfa33ee3ace (patch) | |
| tree | 51a7f5ffc5bdcbf6370c57e507bc6f64ae1d5442 /lang/python/python-schema | |
| parent | c9f70feec304c6159d4afdbb6e391618d22238e3 (diff) | |
python-schema: add package
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
Diffstat (limited to 'lang/python/python-schema')
| -rw-r--r-- | lang/python/python-schema/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lang/python/python-schema/Makefile b/lang/python/python-schema/Makefile new file mode 100644 index 000000000..65ba4fd08 --- /dev/null +++ b/lang/python/python-schema/Makefile @@ -0,0 +1,36 @@ +# 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.0 +PKG_RELEASE:=1 +PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> + +PKG_SOURCE_URL:=https://codeload.github.com/keleshev/schema/tar.gz/v$(PKG_VERSION)? +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_HASH:=6c6da2154c0f63025127a1ecb3b2f07b95ec8dd029663fc74ab2e972bf770c72 +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 +python3-contextlib2 + 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)) |
