From 611f4d670c7cc33c38afee682e664cfc8e367af9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 7 Aug 2025 09:42:24 +0000 Subject: [PATCH] python3-more_itertools: New package This is required by setuptools to run. Signed-off-by: Michael Tremer --- .../rootfiles/common/python3-more_itertools | 13 +++ lfs/python3-more_itertools | 79 +++++++++++++++++++ make.sh | 1 + 3 files changed, 93 insertions(+) create mode 100644 config/rootfiles/common/python3-more_itertools create mode 100644 lfs/python3-more_itertools diff --git a/config/rootfiles/common/python3-more_itertools b/config/rootfiles/common/python3-more_itertools new file mode 100644 index 000000000..54e0f1e36 --- /dev/null +++ b/config/rootfiles/common/python3-more_itertools @@ -0,0 +1,13 @@ +#usr/lib/python3.10/site-packages/more_itertools +#usr/lib/python3.10/site-packages/more_itertools-10.7.0.dist-info +#usr/lib/python3.10/site-packages/more_itertools-10.7.0.dist-info/LICENSE +#usr/lib/python3.10/site-packages/more_itertools-10.7.0.dist-info/METADATA +#usr/lib/python3.10/site-packages/more_itertools-10.7.0.dist-info/RECORD +#usr/lib/python3.10/site-packages/more_itertools-10.7.0.dist-info/WHEEL +#usr/lib/python3.10/site-packages/more_itertools/__init__.py +#usr/lib/python3.10/site-packages/more_itertools/__init__.pyi +#usr/lib/python3.10/site-packages/more_itertools/more.py +#usr/lib/python3.10/site-packages/more_itertools/more.pyi +#usr/lib/python3.10/site-packages/more_itertools/py.typed +#usr/lib/python3.10/site-packages/more_itertools/recipes.py +#usr/lib/python3.10/site-packages/more_itertools/recipes.pyi diff --git a/lfs/python3-more_itertools b/lfs/python3-more_itertools new file mode 100644 index 000000000..9778df685 --- /dev/null +++ b/lfs/python3-more_itertools @@ -0,0 +1,79 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2020 IPFire Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 10.7.0 + +THISAPP = more_itertools-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = 0540d13c0dc2918ea612a1f8ca651f6a0a27d1ab3b6b13160f0bca07fc8b80c0d4b5c175c466cde59d24d54d8ed1cc99f1765d1a559064b82e19ead196ae515c + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +b2 : $(subst %,%_BLAKE2,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, b2sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_BLAKE2,$(objects)) : + @$(B2SUM) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && python3 -m build --wheel --no-isolation + cd $(DIR_APP) && python3 -m install --destdir=/ dist/*.whl + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index db06969f5..b53a5a38a 100755 --- a/make.sh +++ b/make.sh @@ -1486,6 +1486,7 @@ build_system() { lfsmake2 python3 lfsmake2 python3-wheel lfsmake2 python3-packaging + lfsmake2 python3-more_itertools lfsmake2 python3-setuptools lfsmake2 ninja lfsmake2 meson -- 2.47.3