Skip to content

Commit

Permalink
package/python-pandas: Strip test files
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous committed Mar 30, 2022
1 parent 160b873 commit 119cb42
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package/python-pandas/python-pandas.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ PYTHON_PANDAS_SETUP_TYPE = setuptools
PYTHON_PANDAS_LICENSE = BSD
PYTHON_PANDAS_LICENSE_FILES = LICENSE

define PYTHON_PANDAS_REMOVE_TESTS
rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pandas/tests
endef

PYTHON_PANDAS_POST_INSTALL_TARGET_HOOKS += PYTHON_PANDAS_REMOVE_TESTS

$(eval $(python-package))

0 comments on commit 119cb42

Please sign in to comment.