mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 16:54:32 +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
|
define PyPackage/$(1)/filespec
|
||||||
ifneq ($(2),)
|
ifneq ($(2),)
|
||||||
$(subst $(space),$(newline),$(foreach lib_file,$(2),+|$(lib_file)))
|
$(subst $(space),$(newline),$(foreach lib_file,$(2),+|$(lib_file)))
|
||||||
|
-|/usr/lib/python$(PYTHON_VERSION)/*/test
|
||||||
|
-|/usr/lib/python$(PYTHON_VERSION)/*/tests
|
||||||
endif
|
endif
|
||||||
endef
|
endef
|
||||||
endef
|
endef
|
||||||
|
|||||||
@@ -98,6 +98,8 @@ define Py3BasePackage
|
|||||||
define Py3Package/$(1)/filespec
|
define Py3Package/$(1)/filespec
|
||||||
ifneq ($(2),)
|
ifneq ($(2),)
|
||||||
$(subst $(space),$(newline),$(foreach lib_file,$(2),+|$(lib_file)))
|
$(subst $(space),$(newline),$(foreach lib_file,$(2),+|$(lib_file)))
|
||||||
|
-|/usr/lib/python$(PYTHON_VERSION)/*/test
|
||||||
|
-|/usr/lib/python$(PYTHON_VERSION)/*/tests
|
||||||
endif
|
endif
|
||||||
endef
|
endef
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user