- The change to python-3.10.8 caused the rootfile to have temp build files from /root/.cache
to be included in it. Added commands to remove these temp build files so they were not
included to the rootfile.
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
include Config
+SUMMARY = Simple way to put Python packages and modules on PyPI
+
VER = 3.7.1
THISAPP = flit-$(VER)
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
+
PROG = python3-flit
-PAK_VER = 2
+PAK_VER = 3
+DEPS =
+
+SERVICES =
###############################################################################
# Top-level Rules
cd $(DIR_APP) && PYTHONPATH=flit_core python3 -m flit build --format wheel
cd $(DIR_APP)/flit_core && PIP_CONFIG_FILE=/dev/null pip3 install --isolated \
--root="/" --ignore-installed --no-deps dist/*.whl
+
+ # remove temp build files in /root/.cache from rootfile
+ cd $(DIR_APP) && rm -R /root/.cache/
+
@rm -rf $(DIR_APP)
@$(POSTBUILD)