]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
python3-aiohappyeyeballs: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 May 2026 09:58:50 +0000 (09:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 May 2026 15:28:01 +0000 (15:28 +0000)
Required by python3-aiohttp.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/python3-aiohappyeyeballs [new file with mode: 0644]
lfs/python3-aiohappyeyeballs [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/common/python3-aiohappyeyeballs b/config/rootfiles/common/python3-aiohappyeyeballs
new file mode 100644 (file)
index 0000000..af2fb0a
--- /dev/null
@@ -0,0 +1,13 @@
+usr/lib/python3.10/site-packages/aiohappyeyeballs
+#usr/lib/python3.10/site-packages/aiohappyeyeballs-2.6.1.dist-info
+#usr/lib/python3.10/site-packages/aiohappyeyeballs-2.6.1.dist-info/METADATA
+#usr/lib/python3.10/site-packages/aiohappyeyeballs-2.6.1.dist-info/RECORD
+#usr/lib/python3.10/site-packages/aiohappyeyeballs-2.6.1.dist-info/WHEEL
+#usr/lib/python3.10/site-packages/aiohappyeyeballs-2.6.1.dist-info/licenses
+#usr/lib/python3.10/site-packages/aiohappyeyeballs-2.6.1.dist-info/licenses/LICENSE
+#usr/lib/python3.10/site-packages/aiohappyeyeballs/__init__.py
+#usr/lib/python3.10/site-packages/aiohappyeyeballs/_staggered.py
+#usr/lib/python3.10/site-packages/aiohappyeyeballs/impl.py
+#usr/lib/python3.10/site-packages/aiohappyeyeballs/py.typed
+#usr/lib/python3.10/site-packages/aiohappyeyeballs/types.py
+#usr/lib/python3.10/site-packages/aiohappyeyeballs/utils.py
diff --git a/lfs/python3-aiohappyeyeballs b/lfs/python3-aiohappyeyeballs
new file mode 100644 (file)
index 0000000..325c00c
--- /dev/null
@@ -0,0 +1,79 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# 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 <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 2.6.1
+
+THISAPP    = aiohappyeyeballs-$(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 = e3cb3d7366267dca4a7c82615c3482db175326d4fbaa2ad1ca249ef72e9b515129e988fa82f5ae1c4d2585022e17ec9a25b936252cd67a7ce8d3ff571071ae44
+
+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 b43f2203f04f84a929517c28924317aa72546921..560a0c7484a8d3a819c1242844bb4a90e571487c 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -2130,6 +2130,7 @@ build_system() {
        lfsmake2 python3-propcache
        lfsmake2 python3-yarl
        lfsmake2 python3-async-timeout
+       lfsmake2 python3-aiohappyeyeballs
        lfsmake2 python3-aiohttp
        lfsmake2 knot
        lfsmake2 knot-resolver