package/python-flit-core: set license path
PATCH 1/1 package/python-flit-core: set license path
When generating legal info with a configuration enabling a package which uses
flit as setup type, we get a warning about python-flit-core license:
WARNING: python-flit-core-3.8.0: cannot save license (HOST_PYTHON_FLIT_CORE_LICENSE_FILES not defined)
Add missing variable to point to python-flit-core license file
--- package/python-flit-core/python-flit-core.mk | 1 + 1 file changed, 1 insertion(+)
package/python-flit-core/python-flit-core.mk +1 -0
@@ -8,6 +8,7 @@ PYTHON_FLIT_CORE_VERSION = 3.8.0 PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/10/e5/be08751d07b30889af130cec20955c987a74380a10058e6e8856e4010afc PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause +PYTHON_FLIT_CORE_LICENSE_FILES = LICENSE PYTHON_FLIT_CORE_SETUP_TYPE = flit-bootstrap # Use flit built in bootstrap_install for installing host-python-flit-core.
Signature · 6 lines
2.39.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Alexis" == Alexis Lothoré via buildroot <[email protected]> writes:
When generating legal info with a configuration enabling a package which uses
flit as setup type, we get a warning about python-flit-core license:
WARNING: python-flit-core-3.8.0: cannot save license (HOST_PYTHON_FLIT_CORE_LICENSE_FILESnot defined)Add missing variable to point to python-flit-core license file
Signed-off-by Alexis Lothoré <[email protected]>--- package/python-flit-core/python-flit-core.mk | 1 + 1 file changed, 1 insertion(+)package/python-flit-core/python-flit-core.mk +0
-0
package/python-flit-core/python-flit-core.mk PYTHON_FLIT_CORE_VERSION = 3.8.0 · line 11
Quoted 4 lines
package/python-flit-core/python-flit-core.mk +1
-0@@ -8,6 +8,7 @@ PYTHON_FLIT_CORE_VERSION = 3.8.0 PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/10/e5/be08751d07b30889af130cec20955c987a74380a10058e6e8856e4010afc PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause +PYTHON_FLIT_CORE_LICENSE_FILES = LICENSE
You also need to add the sha256 of LICENSE to the .hash file:
ake host-python-flit-core-legal-info
flit_core-3.8.0.tar.gz: OK (md5: 7c41da13273f7787709a24f74e0f5a99) flit_core-3.8.0.tar.gz: OK (sha256: b305b30c99526df5e63d6022dd2310a0a941a187bd3884f4c8ef0418df6c39f3)
Quoted 1 line
Quoted 1 line
Quoted 1 line
host-python-flit-core 3.8.0 Extracting
gzip -d -c /var/lib/downloads/python-flit-core/flit_core-3.8.0.tar.gz | tar --strip-components=1 -C /home/peko/source/buildroot/output/build/host-python-flit-core-3.8.0 -xf -
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
host-python-flit-core 3.8.0 Patching
host-python-flit-core 3.8.0 Collecting legal info
ERROR: No hash found for LICENSE
Committed with that fixed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 15 lines · Peter Korsgaard
package/python-flit-core/python-flit-core.mk PYTHON_FLIT_CORE_VERSION = 3.8.0 · line 11
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Alexis" == Alexis Lothoré via buildroot <[email protected]> writes:
package/python-flit-core/python-flit-core.mk +1
-0@@ -8,6 +8,7 @@ PYTHON_FLIT_CORE_VERSION = 3.8.0 PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/10/e5/be08751d07b30889af130cec20955c987a74380a10058e6e8856e4010afc PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause +PYTHON_FLIT_CORE_LICENSE_FILES = LICENSEYou also need to add the sha256 of LICENSE to the .hash file:
Quoted 1 line
Committed with that fixed, thanks.
ACK for next time, sorry for omission and thanks for the fix
Kind regards,
Signature · 8 lines
Alexis Lothoré, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot