mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 06:04:31 +04:00
python,python3: drop tests from all core packages
Well, this slipped by for some time. This should make the Python core packages even more lighter. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -104,6 +104,8 @@ define PyBasePackage
|
||||
define PyPackage/$(1)/filespec
|
||||
ifneq ($(2),)
|
||||
$(subst $(space),$(newline),$(foreach lib_file,$(2),+|$(lib_file)))
|
||||
-|/usr/lib/python$(PYTHON_VERSION)/*/test
|
||||
-|/usr/lib/python$(PYTHON_VERSION)/*/tests
|
||||
endif
|
||||
endef
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user