diff options
Diffstat (limited to 'lang/python/django-jsonfield/Makefile')
-rw-r--r-- | lang/python/django-jsonfield/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/lang/python/django-jsonfield/Makefile b/lang/python/django-jsonfield/Makefile new file mode 100644 index 0000000..476e288 --- /dev/null +++ b/lang/python/django-jsonfield/Makefile @@ -0,0 +1,45 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=django-jsonfield +PKG_VERSION:=2.1.1 +PKG_RELEASE:=2 + +PYPI_NAME:=jsonfield +PKG_HASH:=ed7c5e1829e9453e24a8bebef1e702ffe402e6def6b326f0e0b88764c59a6dc7 + +PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com> +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=LICENSE + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-django-jsonfield + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=A reusable Django field to store validated JSON in models + URL:=https://github.com/rpkilby/jsonfield + DEPENDS:= \ + @BROKEN \ + +python3 \ + +python3-django1 \ + +python3-six +endef + +define Package/python3-django-jsonfield/description + jsonfield is a reusable model field that allows you to store validated + JSON, automatically handling serialization to and from the database. +endef + +$(eval $(call Py3Package,python3-django-jsonfield)) +$(eval $(call BuildPackage,python3-django-jsonfield)) +$(eval $(call BuildPackage,python3-django-jsonfield-src)) |