[Libreoffice-commits] core.git: external/python3
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Aug 15 05:53:18 UTC 2018
external/python3/ExternalProject_python3.mk | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 0f2f719ccd5544eb37d1aacb0a50c317ae963e50
Author: Tor Lillqvist <tml at iki.fi>
AuthorDate: Tue Aug 14 21:23:02 2018 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Aug 15 07:52:55 2018 +0200
tdf#106324: Remove unnecessary test folder from LibreOfficePython framework
No need to distribute that, apparently. We don't ship it on Windows,
either.
Change-Id: I76bf77311caceccd07afb0afa2f097b63f58bf54
Reviewed-on: https://gerrit.libreoffice.org/59034
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml at collabora.com>
diff --git a/external/python3/ExternalProject_python3.mk b/external/python3/ExternalProject_python3.mk
index 69a82c3f6011..7e9952ac6cc7 100644
--- a/external/python3/ExternalProject_python3.mk
+++ b/external/python3/ExternalProject_python3.mk
@@ -21,6 +21,7 @@ $(eval $(call gb_ExternalProject_register_targets,python3,\
fixscripts \
fixinstallnames \
executables \
+ removeunnecessarystuff \
) \
))
@@ -149,6 +150,10 @@ $(call gb_ExternalProject_get_state_target,python3,executables) : $(call gb_Exte
@executable_path/../LibreOfficePython $$file ; done
touch $@
+$(call gb_ExternalProject_get_state_target,python3,removeunnecessarystuff) : $(call gb_ExternalProject_get_state_target,python3,build)
+ $(call gb_Output_announce,python3 - remove the stuff we don't need to ship,build,CUS,5)
+ rm -rf $(python3_fw_prefix)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib/python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/test
+
endif
# vim: set noet sw=4 ts=4:
More information about the Libreoffice-commits
mailing list