| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dependencies
The helper function used to call 'go get' to verify by fake-fetching everything
from the main go.mod. However 'go get' also turns out to recursively try to
fetch everything in dependencies, even materials that are used only for tests
of the dependencies, or code generation.
If EGO_SUM is missing an entry now, it will fail during the build process
rather than the helper function.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
We can't repeat the -mod flag, so we need to replace the GOFLAGS if
EGO_VENDOR is being used.
Closes: https://bugs.gentoo.org/7111640
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
|
|
| |
If EGO_VENDOR is tested in global scope, it needs to be set before the
eclass is inherited. Several ebuilds do not do this, so we need to
perform this test and set -mod=vendor in the appropriate phase function.
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The go.sum behavior in this eclass triggers a false positive from
pkgcheck, specifically:
MissingUnpackerDep: version ...: missing BDEPEND="app-arch/unzip"
The eclass & package do NOT invoke any direct unpacking of the zipfiles,
and leave that entirely to Go's builtin code, making app-arch/unzip
completely unneeded.
Adding packages using the new eclass functionality will spam the above
MissingUnpackerDep warning, so workaround it for now, until pkgcheck/QA
can not give the false positive.
Reference: https://github.com/pkgcore/pkgcheck/issues/214
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
| |
This is not valid in go 1.14, and according to their release notes was
ignored or caused the build to fail.
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
| |
The EGO_SUM variable replaces EGO_VENDOR for go modules.
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
|
| |
Update the copyright notice on all files that were touched since
January 1st but did not have the notice updated.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
This eclass includes the basic settings and src_unpack/pkg_postinst
functions for software written in the Go programming language that uses
Go modules.
Signed-off-by: William Hubbs <williamh@gentoo.org>
|