summaryrefslogtreecommitdiff
path: root/lang/python/python-simplejson
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2019-10-04 22:40:25 +0800
committerJeffery To <jeffery.to@gmail.com>2019-10-04 22:40:25 +0800
commit47d6d8e514db6c760c089e6273c58d53eb7e0089 (patch)
treee1b73f05b4234c8cb971e83c2079998652fd7499 /lang/python/python-simplejson
parent1d4a09e0c5e7dd05dff5477f51eb3bddfbf74ae9 (diff)
python-simplejson: Fix python[3]-decimal dependency
simplejson depends on the decimal module[1][2]. This adds python[3]-decimal to the package's DEPENDS. [1]: https://github.com/simplejson/simplejson/blob/v3.16.0/simplejson/__init__.py#L110 [2]: https://github.com/simplejson/simplejson/blob/v3.16.0/simplejson/encoder.py#L7 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-simplejson')
-rw-r--r--lang/python/python-simplejson/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/python-simplejson/Makefile b/lang/python/python-simplejson/Makefile
index 2d860e437..a97520020 100644
--- a/lang/python/python-simplejson/Makefile
+++ b/lang/python/python-simplejson/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-simplejson
PKG_VERSION:=3.16.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_LICENSE:=MIT
PKG_CPE_ID:=cpe:/a:simplejson_project:simplejson
@@ -35,14 +35,14 @@ endef
define Package/python-simplejson
$(call Package/python-simplejson/Default)
TITLE:=Simple, fast, extensible JSON encoder/decoder for Python 2
- DEPENDS:=+PACKAGE_python-simplejson:python-light
+ DEPENDS:=+PACKAGE_python-simplejson:python-light +PACKAGE_python-simplejson:python-decimal
VARIANT:=python
endef
define Package/python3-simplejson
$(call Package/python-simplejson/Default)
TITLE:=Simple, fast, extensible JSON encoder/decoder for Python3
- DEPENDS:=+PACKAGE_python3-simplejson:python3-light
+ DEPENDS:=+PACKAGE_python3-simplejson:python3-light +PACKAGE_python3-simplejson:python3-decimal
VARIANT:=python3
endef