Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git] / lang / python / django-jsonfield / Makefile
1 #
2 # Copyright (C) 2007-2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=django-jsonfield
11 PKG_VERSION:=2.1.1
12 PKG_RELEASE:=2
13
14 PYPI_NAME:=jsonfield
15 PKG_HASH:=ed7c5e1829e9453e24a8bebef1e702ffe402e6def6b326f0e0b88764c59a6dc7
16
17 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
18 PKG_LICENSE:=MIT
19 PKG_LICENSE_FILES:=LICENSE
20
21 include ../pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../python3-package.mk
24
25 define Package/python3-django-jsonfield
26 SUBMENU:=Python
27 SECTION:=lang
28 CATEGORY:=Languages
29 TITLE:=A reusable Django field to store validated JSON in models
30 URL:=https://github.com/rpkilby/jsonfield
31 DEPENDS:= \
32 +python3 \
33 +python3-django1 \
34 +python3-six
35 endef
36
37 define Package/python3-django-jsonfield/description
38 jsonfield is a reusable model field that allows you to store validated
39 JSON, automatically handling serialization to and from the database.
40 endef
41
42 $(eval $(call Py3Package,python3-django-jsonfield))
43 $(eval $(call BuildPackage,python3-django-jsonfield))
44 $(eval $(call BuildPackage,python3-django-jsonfield-src))