From: Jeffery To Date: Fri, 4 Oct 2019 14:40:25 +0000 (+0800) Subject: python-simplejson: Fix python[3]-decimal dependency X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=47d6d8e514db6c760c089e6273c58d53eb7e0089;p=openwrt-packages.git 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 --- 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