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.2 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.5
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PKG_LICENSE:=MIT
  12. PKG_CPE_ID:=cpe:/a:simplejson_project:simplejson
  13. PYPI_NAME:=simplejson
  14. PKG_HASH:=91cfb43fb91ff6d1e4258be04eee84b51a4ef40a28d899679b9ea2556322fb50
  15. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-simplejson
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  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))