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 <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean 2019-10-08 16:53:35 +03:00
parent 5f7fc18ce7
commit 2f19a94d65

View file

@ -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))