You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
golang ports: specify github.tarball_from archive in portgroup
For the main distfile only. Vendors will need a bigger, separate migration. Ports that don't specify are set to `tarball`.
This commit is contained in:
committed by
Aaron Madlon-Kay
parent
f82dbb77ef
commit
0a9437e290
@@ -81,6 +81,7 @@ proc go.setup {go_package go_version {go_tag_prefix ""} {go_tag_suffix ""}} {
|
||||
github.com {
|
||||
uplevel "PortGroup github 1.0"
|
||||
github.setup ${go.author} ${go.project} ${go_version} ${go_tag_prefix} ${go_tag_suffix}
|
||||
github.tarball_from archive
|
||||
}
|
||||
gitlab.com {
|
||||
uplevel "PortGroup gitlab 1.0"
|
||||
@@ -299,6 +300,7 @@ proc handle_set_go_vendors {vendors_str} {
|
||||
|
||||
switch ${vdomain} {
|
||||
github.com {
|
||||
# TODO: At some point this should be migrated to use the GitHub "archive" tarball
|
||||
if {${vsubproject} eq ""} {
|
||||
set distfile ${vauthor}-${vproject}-${vversion}.tar.gz
|
||||
set master_site https://codeload.github.com/${vauthor}/${vproject}/legacy.tar.gz/${vversion}?dummy=
|
||||
|
||||
@@ -6,7 +6,6 @@ PortGroup golang 1.0
|
||||
go.setup github.com/ariga/atlas 0.26.1 v
|
||||
go.package ariga.io/atlas
|
||||
go.offline_build no
|
||||
github.tarball_from archive
|
||||
name atlas-toolkit
|
||||
revision 0
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ PortSystem 1.0
|
||||
PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/danvergara/dblab 0.24.0 v
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
description Interactive client for PostgreSQL and MySQL
|
||||
|
||||
@@ -5,7 +5,6 @@ PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/benbjohnson/litestream 0.3.13 v
|
||||
go.offline_build no
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
homepage https://litestream.io/
|
||||
|
||||
@@ -4,7 +4,6 @@ PortSystem 1.0
|
||||
PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/cube2222/octosql 0.13.0 v
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
description \
|
||||
|
||||
@@ -5,7 +5,6 @@ PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/orgrim/pg_back 2.3.1 v
|
||||
go.offline_build no
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
description Simple backup tool for PostgreSQL
|
||||
|
||||
@@ -5,7 +5,6 @@ PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/xataio/pgroll 0.8.0 v
|
||||
go.offline_build no
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
homepage https://xata.io/blog/pgroll-schema-migrations-postgres
|
||||
|
||||
@@ -4,7 +4,6 @@ PortSystem 1.0
|
||||
PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/nalgeon/redka 0.5.3 v
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
categories databases
|
||||
maintainers {@sikmir disroot.org:sikmir} \
|
||||
|
||||
@@ -4,6 +4,8 @@ PortSystem 1.0
|
||||
PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/neilotoole/sq 0.48.5 v
|
||||
# Delete this on next update to use golang PortGroup's default ('archive')
|
||||
github.tarball_from tarball
|
||||
go.offline_build no
|
||||
revision 0
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ PortSystem 1.0
|
||||
PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/k1LoW/tbls 1.80.0 v
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
description CI-Friendly tool for documenting a database, written in Go
|
||||
|
||||
@@ -5,7 +5,6 @@ PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/xo/usql 0.19.4 v
|
||||
go.offline_build no
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
description Universal command-line interface for SQL databases
|
||||
|
||||
@@ -5,7 +5,6 @@ PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/acorn-io/acorn 0.10.1 v
|
||||
go.offline_build no
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
homepage https://docs.acorn.io
|
||||
|
||||
@@ -5,7 +5,6 @@ PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/nektos/act 0.2.75 v
|
||||
go.offline_build no
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
description Run your GitHub Actions locally
|
||||
|
||||
@@ -4,7 +4,6 @@ PortSystem 1.0
|
||||
PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/rhysd/actionlint 1.7.7 v
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
description Static checker for GitHub Actions workflow files
|
||||
|
||||
@@ -5,7 +5,6 @@ PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/air-verse/air 1.61.7 v
|
||||
go.offline_build no
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
description Live reload for Go apps
|
||||
|
||||
@@ -4,6 +4,8 @@ PortSystem 1.0
|
||||
PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/arduino/arduino-cli 1.1.1 v
|
||||
# Delete this on next update to use golang PortGroup's default ('archive')
|
||||
github.tarball_from tarball
|
||||
revision 0
|
||||
|
||||
categories devel electronics
|
||||
|
||||
@@ -5,7 +5,6 @@ PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/argoproj/argo-cd 2.12.3 v
|
||||
go.offline_build no
|
||||
github.tarball_from archive
|
||||
name argocd
|
||||
revision 0
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ PortSystem 1.0
|
||||
PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/klauspost/asmfmt 1.3.2 v
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
description Go Assembler Formatter
|
||||
|
||||
@@ -4,7 +4,6 @@ PortSystem 1.0
|
||||
PortGroup golang 1.0
|
||||
|
||||
go.setup github.com/bazelbuild/bazelisk 1.25.0 v
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
categories devel
|
||||
|
||||
@@ -31,8 +31,6 @@ installs_libs no
|
||||
go.offline_build no
|
||||
build.pre_args -ldflags \"-X main.version=v${version}\"
|
||||
|
||||
github.tarball_from archive
|
||||
|
||||
destroot {
|
||||
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user