nwg-shell: use go-mod-update-modules class

cleanup
This commit is contained in:
Markus Volk
2025-07-02 14:52:06 +02:00
parent 845917e642
commit eeee1562e3
23 changed files with 106 additions and 21 deletions

View File

@ -0,0 +1,20 @@
# This file has been generated by go-mod-update-modules.bbclass
#
# Do not modify it by hand, as the contents will be replaced when
# running the update-modules task.
SRC_URI += "\
gomod://github.com/StackExchange/wmi;version=v0.0.0-20190523213315-cbe66965904d;mod=1;sha256sum=93030902e16bca6e43080d16640d04a033e2e05e03e5179021a11f941cadc96b \
gomod://github.com/davecgh/go-spew;version=v1.1.0;mod=1;sha256sum=bcb29393251237b79a17b6c19bf29134f43e8f438c3198988fcd461a1cdf05cc \
gomod://github.com/go-ole/go-ole;version=v1.2.5;mod=1;sha256sum=de7da59858d6121956da002ded711242cc14ecf597e932a8625246418fd3bbaa \
gomod://github.com/pmezard/go-difflib;version=v1.0.0;mod=1;sha256sum=74b2e766eb215377864d587badf57e95521f692d2a7860b3c7759093f9c9bec2 \
gomod://github.com/shirou/gopsutil;version=v3.21.1+incompatible;sha256sum=4ec3494abf929640f300cf61d9e708238095d7b6c442dd64871f571bd5641ceb \
gomod://github.com/stretchr/objx;version=v0.1.0;mod=1;sha256sum=1350354d52d2287a62336ecc0d56232d4c47699af9bba49c67c2b48254da98f1 \
gomod://github.com/stretchr/testify;version=v1.7.0;mod=1;sha256sum=fff8168d98e6a07156c454a1b6e925509f3177e96c155516d7f96b4079cca3bf \
gomod://golang.org/x/sys;version=v0.0.0-20190916202348-b4ddaad3f8a3;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \
gomod://golang.org/x/sys;version=v0.0.0-20220412211240-33da011f77ad;sha256sum=ffb4b3488ab203e6a883355e57fd1c4a84983c41fb0880ef520587863d47219c \
gomod://gopkg.in/check.v1;version=v0.0.0-20161208181325-20d25e280405;mod=1;sha256sum=5c306e0d633cd66a11b40e2e5fbbc6da42110db7d72ea3c1524ceb45ee40c33f \
gomod://gopkg.in/yaml.v3;version=v3.0.0-20200313102051-9f266ea9e77c;mod=1;sha256sum=21579860a20306fcf43b1bd234d1fba319499c77611b71c05f9bf3ba90dab939 \
gomod://gopkg.in/yaml.v3;version=v3.0.1;mod=1;sha256sum=21579860a20306fcf43b1bd234d1fba319499c77611b71c05f9bf3ba90dab939 \
"

View File

@ -0,0 +1,12 @@
# This file has been generated by go-mod-update-modules.bbclass
#
# Do not modify it by hand, as the contents will be replaced when
# running the update-modules task.
LICENSE += "& BSD-3-Clause"
LIC_FILES_CHKSUM += "\
file://pkg/mod/github.com/shirou/gopsutil@v3.21.1+incompatible/LICENSE;md5=ed7522382cec5b7a6d6ebb8e30eed40e;spdx=BSD-3-Clause \
file://pkg/mod/golang.org/x/sys@v0.0.0-20220412211240-33da011f77ad/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707;spdx=BSD-3-Clause \
"

View File

@ -0,0 +1,16 @@
SUMMARY = "Go version of the psuinfo python script."
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=22ed6cb3c33862e689e075b45066a779"
GO_IMPORT = "github.com/nwg-piotr/gopsuinfo.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=${BP}/src/${GO_IMPORT};branch=main;protocol=https"
SRCREV = "60e4f83b6c4d84955e0a07f7bdc63d8089b4ba1e"
inherit go go-mod go-mod-update-modules
require ${PN}-go-mods.inc ${PN}-licenses.inc
GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""