diff mbox series

[meta-python,15/21] python3-nmap: Fix LICENSE and LIC_FILES_CHKSUM

Message ID 20240826094021.2744296-15-niko.mauno@vaisala.com
State Accepted
Headers show
Series [meta-python,01/21] python3-xlsxwriter: Fix LICENSE | expand

Commit Message

Niko Mauno Aug. 26, 2024, 9:40 a.m. UTC
In the source code repository the LICENSE file is GPL-3.0-only:
https://github.com/nmmapper/python3-nmap/blob/1.5.2/LICENSE
https://github.com/nmmapper/python3-nmap/blob/1.7.0/LICENSE

Also change the LIC_FILES_CHKSUM reference to the GPLv3.0 license
containing LICENSE file in the downloaded archive.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
 meta-python/recipes-devtools/python/python3-nmap_1.6.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-nmap_1.6.0.bb b/meta-python/recipes-devtools/python/python3-nmap_1.6.0.bb
index 5fe9ab4e3..2293e3ddf 100644
--- a/meta-python/recipes-devtools/python/python3-nmap_1.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-nmap_1.6.0.bb
@@ -1,8 +1,8 @@ 
 DESCRIPTION = "python-nmap is a python library which helps in using nmap port scanner"
 HOMEPAGE = "https://www.nmmapper.com/"
 SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+LICENSE = "GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
 
 DEPENDS += "python3-wheel-native"