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.

44 lines
1.1 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:=python-simplejson
  9. PKG_VERSION:=3.17.0
  10. PKG_RELEASE:=2
  11. PKG_LICENSE:=MIT
  12. PKG_CPE_ID:=cpe:/a:simplejson_project:simplejson
  13. PYPI_NAME:=simplejson
  14. PKG_HASH:=2b4b2b738b3b99819a17feaf118265d0753d5536049ea570b3c43b51c4701e81
  15. include ../pypi.mk
  16. include $(INCLUDE_DIR)/package.mk
  17. include ../python3-package.mk
  18. define Package/python3-simplejson
  19. SUBMENU:=Python
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  23. TITLE:=Simple, fast, extensible JSON encoder/decoder
  24. URL:=https://simplejson.readthedocs.org/
  25. DEPENDS:=+python3-light +python3-decimal
  26. endef
  27. define Package/python3-simplejson/description
  28. Simple, fast, extensible JSON encoder/decoder for Python
  29. endef
  30. define Py3Package/python3-simplejson/filespec
  31. +|$(PYTHON3_PKG_DIR)
  32. -|$(PYTHON3_PKG_DIR)/simplejson/tests
  33. endef
  34. $(eval $(call Py3Package,python3-simplejson))
  35. $(eval $(call BuildPackage,python3-simplejson))
  36. $(eval $(call BuildPackage,python3-simplejson-src))