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.

68 lines
1.8 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.8.2
  10. PKG_RELEASE:=5
  11. PYPI_NAME:=$(PKG_NAME)
  12. PKG_HASH:=ba9eeb3c4517027922645999359f8335fbb9fea04c457123cfbd6b4a36cbeda4
  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 ../python-package.mk
  19. include ../python3-package.mk
  20. define Package/django-statici18n/Default
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=Helper for generating JavaScript catalog to static files
  25. URL:=https://django-statici18n.readthedocs.io
  26. endef
  27. define Package/python-django-statici18n
  28. $(call Package/django-statici18n/Default)
  29. DEPENDS:= \
  30. +PACKAGE_python-django-statici18n:python \
  31. python-django1
  32. VARIANT:=python
  33. MDEPENDS:=python-django1
  34. endef
  35. define Package/python-django-statici18n/description
  36. A Django app that provides helper for generating JavaScript catalog to static files.
  37. endef
  38. define Package/python3-django-statici18n
  39. $(call Package/django-statici18n/Default)
  40. DEPENDS:= \
  41. +PACKAGE_python3-django-statici18n:python3 \
  42. python3-django
  43. VARIANT:=python3
  44. MDEPENDS:=python3-django
  45. endef
  46. define Package/python3-django-statici18n/description
  47. $(call Package/python-django-statici18n/description)
  48. .
  49. (Variant for Python3)
  50. endef
  51. $(eval $(call PyPackage,python-django-statici18n))
  52. $(eval $(call BuildPackage,python-django-statici18n))
  53. $(eval $(call BuildPackage,python-django-statici18n-src))
  54. $(eval $(call Py3Package,python3-django-statici18n))
  55. $(eval $(call BuildPackage,python3-django-statici18n))
  56. $(eval $(call BuildPackage,python3-django-statici18n-src))