2019-02-12 04:57:04 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007-2017 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=python-simplejson
|
2019-11-28 14:45:59 +08:00
|
|
|
PKG_VERSION:=3.17.0
|
2020-04-22 01:27:50 +08:00
|
|
|
PKG_RELEASE:=2
|
2019-02-12 04:57:04 +08:00
|
|
|
PKG_LICENSE:=MIT
|
2019-09-19 22:07:09 +08:00
|
|
|
PKG_CPE_ID:=cpe:/a:simplejson_project:simplejson
|
2019-02-12 04:57:04 +08:00
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
PYPI_NAME:=simplejson
|
2019-11-28 14:45:59 +08:00
|
|
|
PKG_HASH:=2b4b2b738b3b99819a17feaf118265d0753d5536049ea570b3c43b51c4701e81
|
2019-02-12 04:57:04 +08:00
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
include ../pypi.mk
|
2019-02-12 04:57:04 +08:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
2020-04-22 01:27:50 +08:00
|
|
|
define Package/python3-simplejson
|
2019-02-12 04:57:04 +08:00
|
|
|
SUBMENU:=Python
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
2020-04-22 01:27:50 +08:00
|
|
|
TITLE:=Simple, fast, extensible JSON encoder/decoder
|
2019-02-12 04:57:04 +08:00
|
|
|
URL:=https://simplejson.readthedocs.org/
|
2020-04-22 01:27:50 +08:00
|
|
|
DEPENDS:=+python3-light +python3-decimal
|
2019-02-12 04:57:04 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-simplejson/description
|
2020-04-01 22:21:16 +08:00
|
|
|
Simple, fast, extensible JSON encoder/decoder for Python
|
2019-02-12 04:57:04 +08:00
|
|
|
endef
|
|
|
|
|
2019-10-08 21:53:35 +08:00
|
|
|
define Py3Package/python3-simplejson/filespec
|
|
|
|
+|$(PYTHON3_PKG_DIR)
|
|
|
|
-|$(PYTHON3_PKG_DIR)/simplejson/tests
|
|
|
|
endef
|
|
|
|
|
2019-02-12 04:57:04 +08:00
|
|
|
$(eval $(call Py3Package,python3-simplejson))
|
|
|
|
$(eval $(call BuildPackage,python3-simplejson))
|
|
|
|
$(eval $(call BuildPackage,python3-simplejson-src))
|