Browse Source

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>
lilik-openwrt-22.03
Alexandru Ardelean 7 years ago
parent
commit
92073b047b
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      lang/python/Makefile
  2. +2
    -0
      lang/python3/Makefile

+ 2
- 0
lang/python/Makefile View File

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


+ 2
- 0
lang/python3/Makefile View File

@ -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…
Cancel
Save