From 2f19a94d65bfca685e00a27e9000e699cfe20ad5 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Tue, 8 Oct 2019 16:53:35 +0300 Subject: [PATCH] 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 --- lang/python/python-simplejson/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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))