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.

51 lines
1.4 KiB

  1. #
  2. # Copyright (C) 2007-2018 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-statici18n
  9. PKG_VERSION:=1.9.0
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=$(PKG_NAME)
  12. PKG_HASH:=913dd056c1abcbe129b1db806cb4cfb821c4077d7e857d6eb29043ea64f4d1d0
  13. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  14. PKG_LICENSE:=BSD-3-Clause
  15. PKG_LICENSE_FILES:=LICENSE
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/django-statici18n/Default
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=Helper for generating JavaScript catalog to static files
  24. URL:=https://django-statici18n.readthedocs.io
  25. endef
  26. define Package/python3-django-statici18n
  27. $(call Package/django-statici18n/Default)
  28. DEPENDS:= \
  29. +PACKAGE_python3-django-statici18n:python3 \
  30. +PACKAGE_python3-django-statici18n:python3-django1 \
  31. +PACKAGE_python3-django-statici18n:python3-django-appconf \
  32. +PACKAGE_python3-django-statici18n:python3-six
  33. VARIANT:=python3
  34. endef
  35. define Package/python3-django-statici18n/description
  36. A Django app that provides helper for generating JavaScript catalog to static files.
  37. .
  38. (Variant for Python3)
  39. endef
  40. $(eval $(call Py3Package,python3-django-statici18n))
  41. $(eval $(call BuildPackage,python3-django-statici18n))
  42. $(eval $(call BuildPackage,python3-django-statici18n-src))