From: Alexandru Ardelean Date: Tue, 8 Oct 2019 13:53:35 +0000 (+0300) Subject: python[3]-simplejson: drop tests from simplejson package X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=2f19a94d65bfca685e00a27e9000e699cfe20ad5;p=openwrt-packages.git python[3]-simplejson: drop tests from simplejson package These tests take-up a bit of space. And they aren't typically needed. Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/python-simplejson/Makefile b/lang/python/python-simplejson/Makefile index a97520020..6b2d45432 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:=2 +PKG_RELEASE:=3 PKG_LICENSE:=MIT PKG_CPE_ID:=cpe:/a:simplejson_project:simplejson @@ -56,6 +56,16 @@ $(call Package/python-simplejson/description) (Variant for Python3) endef +define PyPackage/python-simplejson/filespec ++|$(PYTHON_PKG_DIR) +-|$(PYTHON_PKG_DIR)/simplejson/tests +endef + +define Py3Package/python3-simplejson/filespec ++|$(PYTHON3_PKG_DIR) +-|$(PYTHON3_PKG_DIR)/simplejson/tests +endef + $(eval $(call PyPackage,python-simplejson)) $(eval $(call BuildPackage,python-simplejson)) $(eval $(call BuildPackage,python-simplejson-src))