mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
This update was made with the convert-scruri.py script in scripts/contrib
This script handles two emerging issues:
1. There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.
2. Github are dropping support for git:// protocol fetching, so remap github
urls as needed. For more details see:
https://github.blog/2021-09-01-improving-git-protocol-security-github/
(From OE-Core rev: 827a805349f9732b2a5fa9184dc7922af36de327)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
1.1 KiB
BlitzBasic
31 lines
1.1 KiB
BlitzBasic
SUMMARY = "Dependency management tool for Golang"
|
|
HOMEPAGE = "https://github.com/golang/dep"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f70d42c0d"
|
|
|
|
GO_IMPORT = "github.com/golang/dep"
|
|
SRC_URI = "git://${GO_IMPORT};branch=master \
|
|
file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \
|
|
file://0001-bolt_riscv64-Add-support-for-riscv64.patch;patchdir=src/github.com/golang/dep \
|
|
"
|
|
SRC_URI_append_riscv64 = " file://0001-Update-sys-module-to-latest.patch;patchdir=src/github.com/golang/dep "
|
|
|
|
SRCREV = "1f7c19e5f52f49ffb9f956f64c010be14683468b"
|
|
|
|
inherit go
|
|
|
|
# New Go versions has Go modules support enabled by default and cause the Glide
|
|
# tool build to fail.
|
|
export GO111MODULE = "off"
|
|
|
|
GO_INSTALL = "${GO_IMPORT}/cmd/dep"
|
|
|
|
RDEPENDS_${PN}-dev += "bash"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
# For compiling ptest on mips and mips64, the current go-dep version fails with the go 1.11 toolchain.
|
|
# error message: vet config not found
|
|
PTEST_ENABLED_mips = "0"
|
|
PTEST_ENABLED_mips64 = "0"
|