Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New packages: packr and circleci-cli
@ 2020-09-25 19:33 gbrlsnchs
  2020-09-25 19:38 ` [PR REVIEW] " CameronNemo
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: gbrlsnchs @ 2020-09-25 19:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

There is a new pull request by gbrlsnchs against master on the void-packages repository

https://github.com/gbrlsnchs/void-packages circleci-cli
https://github.com/void-linux/void-packages/pull/25101

New packages: packr and circleci-cli
I have also packaged `packr` because it's a build dependency of `circleci-cli`, and might still be useful for Golang developers.

A patch file from https://github.com/void-linux/void-packages/pull/25101.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-circleci-cli-25101.patch --]
[-- Type: text/x-diff, Size: 2519 bytes --]

From f6f748de6eaa79b52542ff53140fa79307840a91 Mon Sep 17 00:00:00 2001
From: Gabriel Sanches <gabriel@gsr.dev>
Date: Fri, 25 Sep 2020 15:41:32 -0300
Subject: [PATCH 1/2] New package: packr-2.8.0

---
 srcpkgs/packr/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/packr/template

diff --git a/srcpkgs/packr/template b/srcpkgs/packr/template
new file mode 100644
index 00000000000..49c3168d5ec
--- /dev/null
+++ b/srcpkgs/packr/template
@@ -0,0 +1,20 @@
+# Template file for 'packr'
+pkgname=packr
+version=2.8.0
+revision=1
+build_style=go
+go_import_path=github.com/gobuffalo/${pkgname}/v2/packr2
+short_desc="Static files embedder for Go binaries"
+maintainer="Gabriel Sanches <gabriel@gsr.dev>"
+license="MIT"
+homepage="https://github.com/gobuffalo/packr"
+distfiles="https://github.com/gobuffalo/${pkgname}/archive/v${version}.tar.gz"
+checksum=2cab1e8d60734af05d594346f8e4bffcef0ac2aea4895b08bd9f3c40fc24c639
+
+pre_install() {
+	mv ${GOPATH}/bin/packr{2,}
+}
+
+post_install() {
+	vlicense v2/LICENSE.txt
+}

From a602e522ac5c3bd526528069f96102a3a7b268f4 Mon Sep 17 00:00:00 2001
From: Gabriel Sanches <gabriel@gsr.dev>
Date: Wed, 23 Sep 2020 15:07:53 -0300
Subject: [PATCH 2/2] New package: circleci-cli-0.1.9578

---
 srcpkgs/circleci-cli/template | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 srcpkgs/circleci-cli/template

diff --git a/srcpkgs/circleci-cli/template b/srcpkgs/circleci-cli/template
new file mode 100644
index 00000000000..8c9b0cd77e0
--- /dev/null
+++ b/srcpkgs/circleci-cli/template
@@ -0,0 +1,30 @@
+# Template file for 'circleci-cli'
+pkgname=circleci-cli
+version=0.1.9578
+revision=1
+build_style=go
+go_import_path=github.com/CircleCI-Public/${pkgname}
+go_ldflags="-s -w -X github.com/CircleCI-Public/${pkgname}/version.Version=${version} -X github.com/CircleCI-Public/${pkgname}/version.Commit=cf6a918 -X github.com/CircleCI-Public/${pkgname}/version.packageManager=xbps"
+hostmakedepends="packr"
+short_desc="Use CircleCI from the command line"
+maintainer="Gabriel Sanches <gabriel@gsr.dev>"
+license="MIT"
+homepage="https://circleci-public.github.io/circleci-cli/"
+distfiles="https://github.com/CircleCI-Public/${pkgname}/archive/v${version}.tar.gz"
+checksum=d5dac07d27d97ee41dced89cf2b36dfeea17906343b6a6a21c1d8c4ca34a78a0
+
+pre_build() {
+	packr
+}
+
+post_build() {
+	packr clean
+}
+
+pre_install() {
+	mv ${GOPATH}/bin/circleci{-cli,}
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New packages: packr and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
@ 2020-09-25 19:38 ` CameronNemo
  2020-09-25 19:39 ` CameronNemo
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: CameronNemo @ 2020-09-25 19:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

New review comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/25101#discussion_r495194295

Comment:
Why change the command name? Will that not cause confusion?

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New packages: packr and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
  2020-09-25 19:38 ` [PR REVIEW] " CameronNemo
@ 2020-09-25 19:39 ` CameronNemo
  2020-09-25 19:56 ` gbrlsnchs
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: CameronNemo @ 2020-09-25 19:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

New review comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/25101#discussion_r495194468

Comment:
same as above.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New packages: packr and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
  2020-09-25 19:38 ` [PR REVIEW] " CameronNemo
  2020-09-25 19:39 ` CameronNemo
@ 2020-09-25 19:56 ` gbrlsnchs
  2020-09-25 19:57 ` gbrlsnchs
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: gbrlsnchs @ 2020-09-25 19:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

New review comment by gbrlsnchs on void-packages repository

https://github.com/void-linux/void-packages/pull/25101#discussion_r495202512

Comment:
For this case, I agree, the right thing should be to have `packr2` as proposed from its original authors [here](https://github.com/gobuffalo/packr/blob/master/v2/README.md). Maybe I should name the package `packr2` instead of `packr`?

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New packages: packr and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (2 preceding siblings ...)
  2020-09-25 19:56 ` gbrlsnchs
@ 2020-09-25 19:57 ` gbrlsnchs
  2020-09-25 20:05 ` CameronNemo
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: gbrlsnchs @ 2020-09-25 19:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 463 bytes --]

New review comment by gbrlsnchs on void-packages repository

https://github.com/void-linux/void-packages/pull/25101#discussion_r495202526

Comment:
CircleCI itself builds and distributes the CLI as `circleci` by passing the `-o circleci` flag to `go build`. Since I'm using the Go build style to run `do_build`, it won't let me pick the binary name and will simply follow the package name. Then I just rename it to follow the official distribution from CircleCI.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New packages: packr and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (3 preceding siblings ...)
  2020-09-25 19:57 ` gbrlsnchs
@ 2020-09-25 20:05 ` CameronNemo
  2020-09-25 20:06 ` CameronNemo
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: CameronNemo @ 2020-09-25 20:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]

New review comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/25101#discussion_r495206300

Comment:
yeah that sounds good.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New packages: packr and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (4 preceding siblings ...)
  2020-09-25 20:05 ` CameronNemo
@ 2020-09-25 20:06 ` CameronNemo
  2020-09-25 20:14 ` [PR PATCH] [Updated] " gbrlsnchs
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: CameronNemo @ 2020-09-25 20:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

New review comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/25101#discussion_r495206444

Comment:
I see. Makes sense to use the name that upstream uses.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] New packages: packr and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (5 preceding siblings ...)
  2020-09-25 20:06 ` CameronNemo
@ 2020-09-25 20:14 ` gbrlsnchs
  2020-09-25 20:15 ` [PR REVIEW] " gbrlsnchs
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: gbrlsnchs @ 2020-09-25 20:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 463 bytes --]

There is an updated pull request by gbrlsnchs against master on the void-packages repository

https://github.com/gbrlsnchs/void-packages circleci-cli
https://github.com/void-linux/void-packages/pull/25101

New packages: packr and circleci-cli
I have also packaged `packr` because it's a build dependency of `circleci-cli`, and might still be useful for Golang developers.

A patch file from https://github.com/void-linux/void-packages/pull/25101.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-circleci-cli-25101.patch --]
[-- Type: text/x-diff, Size: 2526 bytes --]

From 512106cc1a74e64a2f818589381b1dcfade506dc Mon Sep 17 00:00:00 2001
From: Gabriel Sanches <gabriel@gsr.dev>
Date: Fri, 25 Sep 2020 15:41:32 -0300
Subject: [PATCH 1/2] New package: packr2-2.8.0

---
 srcpkgs/packr2/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/packr2/template

diff --git a/srcpkgs/packr2/template b/srcpkgs/packr2/template
new file mode 100644
index 00000000000..15b01438d58
--- /dev/null
+++ b/srcpkgs/packr2/template
@@ -0,0 +1,18 @@
+# Template file for 'packr2'
+pkgname=packr2
+_pkgname=packr
+version=2.8.0
+revision=1
+wrksrc=${_pkgname}-${version}
+build_style=go
+go_import_path=github.com/gobuffalo/${_pkgname}/v2/packr2
+short_desc="Static files embedder for Go binaries"
+maintainer="Gabriel Sanches <gabriel@gsr.dev>"
+license="MIT"
+homepage="https://github.com/gobuffalo/packr"
+distfiles="https://github.com/gobuffalo/${_pkgname}/archive/v${version}.tar.gz"
+checksum=2cab1e8d60734af05d594346f8e4bffcef0ac2aea4895b08bd9f3c40fc24c639
+
+post_install() {
+	vlicense v2/LICENSE.txt
+}

From 43f3a299bce7801822de185a8deda1c856b5efae Mon Sep 17 00:00:00 2001
From: Gabriel Sanches <gabriel@gsr.dev>
Date: Wed, 23 Sep 2020 15:07:53 -0300
Subject: [PATCH 2/2] New package: circleci-cli-0.1.9578

---
 srcpkgs/circleci-cli/template | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 srcpkgs/circleci-cli/template

diff --git a/srcpkgs/circleci-cli/template b/srcpkgs/circleci-cli/template
new file mode 100644
index 00000000000..8ff2f3be71b
--- /dev/null
+++ b/srcpkgs/circleci-cli/template
@@ -0,0 +1,30 @@
+# Template file for 'circleci-cli'
+pkgname=circleci-cli
+version=0.1.9578
+revision=1
+build_style=go
+go_import_path=github.com/CircleCI-Public/${pkgname}
+go_ldflags="-s -w -X github.com/CircleCI-Public/${pkgname}/version.Version=${version} -X github.com/CircleCI-Public/${pkgname}/version.Commit=cf6a918 -X github.com/CircleCI-Public/${pkgname}/version.packageManager=xbps"
+hostmakedepends="packr2"
+short_desc="Use CircleCI from the command line"
+maintainer="Gabriel Sanches <gabriel@gsr.dev>"
+license="MIT"
+homepage="https://circleci-public.github.io/circleci-cli/"
+distfiles="https://github.com/CircleCI-Public/${pkgname}/archive/v${version}.tar.gz"
+checksum=d5dac07d27d97ee41dced89cf2b36dfeea17906343b6a6a21c1d8c4ca34a78a0
+
+pre_build() {
+	packr2
+}
+
+post_build() {
+	packr2 clean
+}
+
+pre_install() {
+	mv ${GOPATH}/bin/circleci{-cli,}
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New packages: packr and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (6 preceding siblings ...)
  2020-09-25 20:14 ` [PR PATCH] [Updated] " gbrlsnchs
@ 2020-09-25 20:15 ` gbrlsnchs
  2020-09-25 23:46 ` [PR REVIEW] New packages: packr2 " CameronNemo
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: gbrlsnchs @ 2020-09-25 20:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 176 bytes --]

New review comment by gbrlsnchs on void-packages repository

https://github.com/void-linux/void-packages/pull/25101#discussion_r495210309

Comment:
Alright, now it's `packr2`.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New packages: packr2 and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (7 preceding siblings ...)
  2020-09-25 20:15 ` [PR REVIEW] " gbrlsnchs
@ 2020-09-25 23:46 ` CameronNemo
  2020-09-25 23:47 ` CameronNemo
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: CameronNemo @ 2020-09-25 23:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

New review comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/25101#discussion_r495324208

Comment:
Looks like this is causing issues because the ARM bin dirs are different from the x86 ones. You should instead switch to doing the mv in post_install: `mv ${DESTDIR}/usr/bin/circleci{-cli,}`

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New packages: packr2 and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (8 preceding siblings ...)
  2020-09-25 23:46 ` [PR REVIEW] New packages: packr2 " CameronNemo
@ 2020-09-25 23:47 ` CameronNemo
  2020-09-28 22:45 ` [PR PATCH] [Updated] " gbrlsnchs
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: CameronNemo @ 2020-09-25 23:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

New review comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/25101#discussion_r495324208

Comment:
Looks like this is causing issues because the ARM bin dirs in GOPATH are different from the x86 ones. You should instead switch to doing the mv in post_install: `mv ${DESTDIR}/usr/bin/circleci{-cli,}`

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] New packages: packr2 and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (9 preceding siblings ...)
  2020-09-25 23:47 ` CameronNemo
@ 2020-09-28 22:45 ` gbrlsnchs
  2020-09-29  1:13 ` [PR REVIEW] " CameronNemo
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: gbrlsnchs @ 2020-09-28 22:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

There is an updated pull request by gbrlsnchs against master on the void-packages repository

https://github.com/gbrlsnchs/void-packages circleci-cli
https://github.com/void-linux/void-packages/pull/25101

New packages: packr2 and circleci-cli
I have also packaged `packr2` because it's a build dependency of `circleci-cli`, and might still be useful for Golang developers.

A patch file from https://github.com/void-linux/void-packages/pull/25101.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-circleci-cli-25101.patch --]
[-- Type: text/x-diff, Size: 2509 bytes --]

From 512106cc1a74e64a2f818589381b1dcfade506dc Mon Sep 17 00:00:00 2001
From: Gabriel Sanches <gabriel@gsr.dev>
Date: Fri, 25 Sep 2020 15:41:32 -0300
Subject: [PATCH 1/2] New package: packr2-2.8.0

---
 srcpkgs/packr2/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/packr2/template

diff --git a/srcpkgs/packr2/template b/srcpkgs/packr2/template
new file mode 100644
index 00000000000..15b01438d58
--- /dev/null
+++ b/srcpkgs/packr2/template
@@ -0,0 +1,18 @@
+# Template file for 'packr2'
+pkgname=packr2
+_pkgname=packr
+version=2.8.0
+revision=1
+wrksrc=${_pkgname}-${version}
+build_style=go
+go_import_path=github.com/gobuffalo/${_pkgname}/v2/packr2
+short_desc="Static files embedder for Go binaries"
+maintainer="Gabriel Sanches <gabriel@gsr.dev>"
+license="MIT"
+homepage="https://github.com/gobuffalo/packr"
+distfiles="https://github.com/gobuffalo/${_pkgname}/archive/v${version}.tar.gz"
+checksum=2cab1e8d60734af05d594346f8e4bffcef0ac2aea4895b08bd9f3c40fc24c639
+
+post_install() {
+	vlicense v2/LICENSE.txt
+}

From ef5d998f75767b7e65fa60fcdeac7c1f85df596c Mon Sep 17 00:00:00 2001
From: Gabriel Sanches <gabriel@gsr.dev>
Date: Wed, 23 Sep 2020 15:07:53 -0300
Subject: [PATCH 2/2] New package: circleci-cli-0.1.9578

---
 srcpkgs/circleci-cli/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/circleci-cli/template

diff --git a/srcpkgs/circleci-cli/template b/srcpkgs/circleci-cli/template
new file mode 100644
index 00000000000..39ce124248b
--- /dev/null
+++ b/srcpkgs/circleci-cli/template
@@ -0,0 +1,28 @@
+# Template file for 'circleci-cli'
+pkgname=circleci-cli
+version=0.1.9578
+revision=1
+build_style=go
+go_import_path=github.com/CircleCI-Public/${pkgname}
+go_ldflags="-s -w -X github.com/CircleCI-Public/${pkgname}/version.Version=${version} -X github.com/CircleCI-Public/${pkgname}/version.Commit=cf6a918 -X github.com/CircleCI-Public/${pkgname}/version.packageManager=xbps"
+hostmakedepends="packr2"
+short_desc="Use CircleCI from the command line"
+maintainer="Gabriel Sanches <gabriel@gsr.dev>"
+license="MIT"
+homepage="https://circleci-public.github.io/circleci-cli/"
+distfiles="https://github.com/CircleCI-Public/${pkgname}/archive/v${version}.tar.gz"
+checksum=d5dac07d27d97ee41dced89cf2b36dfeea17906343b6a6a21c1d8c4ca34a78a0
+
+pre_build() {
+	packr2
+}
+
+post_build() {
+	packr2 clean
+}
+
+post_install() {
+	vlicense LICENSE
+
+	mv ${DISTDIR}/usr/bin/circleci{-cli,}
+}

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New packages: packr2 and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (10 preceding siblings ...)
  2020-09-28 22:45 ` [PR PATCH] [Updated] " gbrlsnchs
@ 2020-09-29  1:13 ` CameronNemo
  2020-09-29  3:33 ` [PR PATCH] [Updated] " gbrlsnchs
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: CameronNemo @ 2020-09-29  1:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

New review comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/25101#discussion_r496318523

Comment:
typo here, you want `DESTDIR` (for "destination directory"), not `DISTDIR`

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] New packages: packr2 and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (11 preceding siblings ...)
  2020-09-29  1:13 ` [PR REVIEW] " CameronNemo
@ 2020-09-29  3:33 ` gbrlsnchs
  2020-09-29 14:28 ` gbrlsnchs
  2020-11-22  3:47 ` [PR PATCH] [Merged]: " the-maldridge
  14 siblings, 0 replies; 16+ messages in thread
From: gbrlsnchs @ 2020-09-29  3:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

There is an updated pull request by gbrlsnchs against master on the void-packages repository

https://github.com/gbrlsnchs/void-packages circleci-cli
https://github.com/void-linux/void-packages/pull/25101

New packages: packr2 and circleci-cli
I have also packaged `packr2` because it's a build dependency of `circleci-cli`, and might still be useful for Golang developers.

A patch file from https://github.com/void-linux/void-packages/pull/25101.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-circleci-cli-25101.patch --]
[-- Type: text/x-diff, Size: 2570 bytes --]

From 512106cc1a74e64a2f818589381b1dcfade506dc Mon Sep 17 00:00:00 2001
From: Gabriel Sanches <gabriel@gsr.dev>
Date: Fri, 25 Sep 2020 15:41:32 -0300
Subject: [PATCH 1/2] New package: packr2-2.8.0

---
 srcpkgs/packr2/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/packr2/template

diff --git a/srcpkgs/packr2/template b/srcpkgs/packr2/template
new file mode 100644
index 00000000000..15b01438d58
--- /dev/null
+++ b/srcpkgs/packr2/template
@@ -0,0 +1,18 @@
+# Template file for 'packr2'
+pkgname=packr2
+_pkgname=packr
+version=2.8.0
+revision=1
+wrksrc=${_pkgname}-${version}
+build_style=go
+go_import_path=github.com/gobuffalo/${_pkgname}/v2/packr2
+short_desc="Static files embedder for Go binaries"
+maintainer="Gabriel Sanches <gabriel@gsr.dev>"
+license="MIT"
+homepage="https://github.com/gobuffalo/packr"
+distfiles="https://github.com/gobuffalo/${_pkgname}/archive/v${version}.tar.gz"
+checksum=2cab1e8d60734af05d594346f8e4bffcef0ac2aea4895b08bd9f3c40fc24c639
+
+post_install() {
+	vlicense v2/LICENSE.txt
+}

From 9e3cd3db97bfd4d96d4c1c0053d237cfb9791d43 Mon Sep 17 00:00:00 2001
From: Gabriel Sanches <gabriel@gsr.dev>
Date: Wed, 23 Sep 2020 15:07:53 -0300
Subject: [PATCH 2/2] New package: circleci-cli-0.1.9578

---
 srcpkgs/circleci-cli/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/circleci-cli/template

diff --git a/srcpkgs/circleci-cli/template b/srcpkgs/circleci-cli/template
new file mode 100644
index 00000000000..0b4049bea15
--- /dev/null
+++ b/srcpkgs/circleci-cli/template
@@ -0,0 +1,29 @@
+# Template file for 'circleci-cli'
+pkgname=circleci-cli
+version=0.1.9578
+revision=1
+build_style=go
+go_import_path=github.com/CircleCI-Public/${pkgname}
+go_ldflags="-s -w -X github.com/CircleCI-Public/${pkgname}/version.Version=${version} -X github.com/CircleCI-Public/${pkgname}/version.Commit=cf6a918 -X github.com/CircleCI-Public/${pkgname}/version.packageManager=xbps"
+hostmakedepends="packr2"
+short_desc="Use CircleCI from the command line"
+maintainer="Gabriel Sanches <gabriel@gsr.dev>"
+license="MIT"
+homepage="https://circleci-public.github.io/circleci-cli/"
+distfiles="https://github.com/CircleCI-Public/${pkgname}/archive/v${version}.tar.gz"
+checksum=d5dac07d27d97ee41dced89cf2b36dfeea17906343b6a6a21c1d8c4ca34a78a0
+
+pre_build() {
+	packr2
+}
+
+post_build() {
+	packr2 clean
+}
+
+post_install() {
+	vlicense LICENSE
+
+	# Rename the binary according to CircleCI's own releases.
+	mv ${DESTDIR}/usr/bin/circleci{-cli,}
+}

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: New packages: packr2 and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (12 preceding siblings ...)
  2020-09-29  3:33 ` [PR PATCH] [Updated] " gbrlsnchs
@ 2020-09-29 14:28 ` gbrlsnchs
  2020-11-22  3:47 ` [PR PATCH] [Merged]: " the-maldridge
  14 siblings, 0 replies; 16+ messages in thread
From: gbrlsnchs @ 2020-09-29 14:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 172 bytes --]

New comment by gbrlsnchs on void-packages repository

https://github.com/void-linux/void-packages/pull/25101#issuecomment-700743190

Comment:
All passing now. :smile_cat: 

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Merged]: New packages: packr2 and circleci-cli
  2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
                   ` (13 preceding siblings ...)
  2020-09-29 14:28 ` gbrlsnchs
@ 2020-11-22  3:47 ` the-maldridge
  14 siblings, 0 replies; 16+ messages in thread
From: the-maldridge @ 2020-11-22  3:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

There's a merged pull request on the void-packages repository

New packages: packr2 and circleci-cli
https://github.com/void-linux/void-packages/pull/25101

Description:
I have also packaged `packr2` because it's a build dependency of `circleci-cli`, and might still be useful for Golang developers.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-11-22  3:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 19:33 [PR PATCH] New packages: packr and circleci-cli gbrlsnchs
2020-09-25 19:38 ` [PR REVIEW] " CameronNemo
2020-09-25 19:39 ` CameronNemo
2020-09-25 19:56 ` gbrlsnchs
2020-09-25 19:57 ` gbrlsnchs
2020-09-25 20:05 ` CameronNemo
2020-09-25 20:06 ` CameronNemo
2020-09-25 20:14 ` [PR PATCH] [Updated] " gbrlsnchs
2020-09-25 20:15 ` [PR REVIEW] " gbrlsnchs
2020-09-25 23:46 ` [PR REVIEW] New packages: packr2 " CameronNemo
2020-09-25 23:47 ` CameronNemo
2020-09-28 22:45 ` [PR PATCH] [Updated] " gbrlsnchs
2020-09-29  1:13 ` [PR REVIEW] " CameronNemo
2020-09-29  3:33 ` [PR PATCH] [Updated] " gbrlsnchs
2020-09-29 14:28 ` gbrlsnchs
2020-11-22  3:47 ` [PR PATCH] [Merged]: " the-maldridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).