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.

65 lines
1.8 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=django-webpack-loader
  7. PKG_VERSION:=0.6.0
  8. PKG_RELEASE:=7
  9. PYPI_NAME:=$(PKG_NAME)
  10. PKG_HASH:=60bab6b9a037a5346fad12d2a70a6bc046afb33154cf75ed640b93d3ebd5f520
  11. PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
  12. PKG_LICENSE:=MIT
  13. PKG_LICENSE_FILES:=LICENSE
  14. include ../pypi.mk
  15. include $(INCLUDE_DIR)/package.mk
  16. include ../python-package.mk
  17. include ../python3-package.mk
  18. define Package/django-webpack-loader/Default
  19. SUBMENU:=Python
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. TITLE:=Transparently use webpack in django
  23. URL:=https://github.com/owais/django-webpack-loader
  24. endef
  25. define Package/python-django-webpack-loader
  26. $(call Package/django-webpack-loader/Default)
  27. DEPENDS:= \
  28. +PACKAGE_python-django-webpack-loader:python \
  29. python-django1
  30. VARIANT:=python
  31. MDEPENDS:=python-django1
  32. endef
  33. define Package/python-django-webpack-loader/description
  34. Use webpack to generate your static bundles without django’s staticfiles or opaque wrappers.
  35. endef
  36. define Package/python3-django-webpack-loader
  37. $(call Package/django-webpack-loader/Default)
  38. DEPENDS:= \
  39. +PACKAGE_python3-django-webpack-loader:python3 \
  40. +PACKAGE_python3-django-webpack-loader:python3-django1
  41. VARIANT:=python3
  42. endef
  43. define Package/python3-django-webpack-loader/description
  44. $(call Package/python-django-webpack-loader/description)
  45. .
  46. (Variant for Python3)
  47. endef
  48. $(eval $(call PyPackage,python-django-webpack-loader))
  49. $(eval $(call BuildPackage,python-django-webpack-loader))
  50. $(eval $(call BuildPackage,python-django-webpack-loader-src))
  51. $(eval $(call Py3Package,python3-django-webpack-loader))
  52. $(eval $(call BuildPackage,python3-django-webpack-loader))
  53. $(eval $(call BuildPackage,python3-django-webpack-loader-src))