mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 17:11:21 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user