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:
parent
a85b0b6b57
commit
92073b047b
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -98,6 +98,8 @@ define Py3BasePackage
|
|||
define Py3Package/$(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
|
||||
|
|
Loading…
Reference in a new issue