You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2007-2017 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=django-picklefield
  9. PKG_VERSION:=2.1.1
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=$(PKG_NAME)
  12. PKG_HASH:=67a5e156343e3b032cac2f65565f0faa81635a99c7da74b0f07a0f5db467b646
  13. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  14. PKG_LICENSE:=MIT
  15. PKG_LICENSE_FILES:=LICENSE
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. PYTHON3_PKG_SETUP_VARS:= \
  20. PKG_VERSION="$(PKG_VERSION)"
  21. define Package/django-picklefield/Default
  22. SUBMENU:=Python
  23. SECTION:=lang
  24. CATEGORY:=Languages
  25. TITLE:=Pickled object field for Django
  26. URL:=https://github.com/gintas/django-picklefield/
  27. endef
  28. define Package/python3-django-picklefield
  29. $(call Package/django-picklefield/Default)
  30. DEPENDS:= \
  31. +PACKAGE_python3-django-picklefield:python3 \
  32. +PACKAGE_python3-django-picklefield:python3-django1
  33. VARIANT:=python3
  34. endef
  35. define Package/python3-django-picklefield/description
  36. Pickled object field for Django
  37. .
  38. (Variant for Python3)
  39. endef
  40. $(eval $(call Py3Package,python3-django-picklefield))
  41. $(eval $(call BuildPackage,python3-django-picklefield))
  42. $(eval $(call BuildPackage,python3-django-picklefield-src))