]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/python3-attrs
Merge branch 'next'
[people/pmueller/ipfire-2.x.git] / lfs / python3-attrs
index 9ac72e14a3539d9855f0f9533fff6fd46232b458..03a809a27e1298fe47bbe3f486fb4a48bc334b31 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2020  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  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        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 22.1.0
+VER        = 23.2.0
 SUMMARY    = Classes Without Boilerplate
 
 THISAPP    = attrs-$(VER)
@@ -33,7 +33,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = python3-attrs
-PAK_VER    = 2
+PAK_VER    = 3
 
 DEPS       = 
 
@@ -47,7 +47,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 5da48b3cbcd99cdcc531a0859be264a4d209778caa53bd95480a103549b816c8a805079e1555fce38eb33f8bd3d5b7bfa6f814ef2b60dc405bda6686c7746f0b
+$(DL_FILE)_BLAKE2 = a06f4f17a81fc173c37661bcf518367a1cdc9a333d2783bd2cd1ac5f0a72bd20ec1afdd964e10255624bcfa027e3a152375cd21472c177428d29bd06b29984a1
 
 install : $(TARGET)
 
@@ -80,7 +80,16 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && python3 setup.py build
-       cd $(DIR_APP) && python3 setup.py install --root=/
+       cd $(DIR_APP) && python3 -m build \
+                               --no-isolation \
+                               --wheel
+       cd $(DIR_APP) && pip3 install \
+                               --no-build-isolation \
+                               --root="/" \
+                               --no-deps \
+                               --ignore-installed \
+                               dist/*.whl
+       # remove temp build files in /root/.cache from rootfile
+       cd $(DIR_APP) && rm -R /root/.cache/
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)