Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: gek-0.1
@ 2022-07-03 15:19 JohnGebbie
  2022-07-03 16:23 ` [PR REVIEW] " classabbyamp
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-03 15:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages gek
https://github.com/void-linux/void-packages/pull/37817

New package: gek-0.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packagegs/blob/master/Manual.md#quality-requirements): **YES**


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

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

From 215ef3e5241845d48266314d3d3b9b0955b1cd4e Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Sun, 3 Jul 2022 16:03:25 +0100
Subject: [PATCH] New package: gek-0.1

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

diff --git a/srcpkgs/gek/template b/srcpkgs/gek/template
new file mode 100644
index 000000000000..0da6033a30a3
--- /dev/null
+++ b/srcpkgs/gek/template
@@ -0,0 +1,26 @@
+# Template file for 'gek'
+pkgname=gek
+version=0.1
+revision=1
+hostmakedepends="git go"
+short_desc="Stack-based stream editor and scripting language"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://geklang.org/"
+
+do_fetch() {
+	git clone https://git.sr.ht/~geb/gek "${wrksrc}"
+	cd "${wrksrc}"
+}
+
+do_build() {
+	go build -o gek ./src
+}
+
+do_install() {
+	vbin gek
+	vbin gekdoc
+	vman gek.1
+	mkdir "${DESTDIR}/usr/share/doc"
+	cp -r doc "${DESTDIR}/usr/share/doc/${pkgname}"
+}

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
@ 2022-07-03 16:23 ` classabbyamp
  2022-07-03 16:23 ` classabbyamp
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: classabbyamp @ 2022-07-03 16:23 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912508248

Comment:
git packages are not accepted. the software must have a release

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
  2022-07-03 16:23 ` [PR REVIEW] " classabbyamp
@ 2022-07-03 16:23 ` classabbyamp
  2022-07-03 17:13 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: classabbyamp @ 2022-07-03 16:23 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912508336

Comment:
you'll want to use the go build_style, probably

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

* Re: [PR PATCH] [Updated] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
  2022-07-03 16:23 ` [PR REVIEW] " classabbyamp
  2022-07-03 16:23 ` classabbyamp
@ 2022-07-03 17:13 ` JohnGebbie
  2022-07-03 17:18 ` [PR REVIEW] " JohnGebbie
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-03 17:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages gek
https://github.com/void-linux/void-packages/pull/37817

New package: gek-0.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packagegs/blob/master/Manual.md#quality-requirements): **YES**


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

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

From 269340c42053914dcbcd4ee951893be58d4e7c2d Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Sun, 3 Jul 2022 16:03:25 +0100
Subject: [PATCH] New package: gek-0.1

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

diff --git a/srcpkgs/gek/template b/srcpkgs/gek/template
new file mode 100644
index 000000000000..8f30438bf2bb
--- /dev/null
+++ b/srcpkgs/gek/template
@@ -0,0 +1,26 @@
+# Template file for 'gek'
+pkgname=gek
+version=0.1
+revision=1
+hostmakedepends="git go"
+short_desc="Stack-based stream editor and scripting language"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://geklang.org/"
+
+do_fetch() {
+	git clone --depth 1 --branch v0.1 https://git.sr.ht/~geb/gek "${wrksrc}"
+	cd "${wrksrc}"
+}
+
+do_build() {
+	go build -o gek ./src
+}
+
+do_install() {
+	vbin gek
+	vbin gekdoc
+	vman gek.1
+	mkdir "${DESTDIR}/usr/share/doc"
+	cp -r doc "${DESTDIR}/usr/share/doc/${pkgname}"
+}

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (2 preceding siblings ...)
  2022-07-03 17:13 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-07-03 17:18 ` JohnGebbie
  2022-07-03 17:23 ` classabbyamp
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-03 17:18 UTC (permalink / raw)
  To: ml

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

New review comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912514579

Comment:
I've got it using --branch v0.1 now, I hope that's good.

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (3 preceding siblings ...)
  2022-07-03 17:18 ` [PR REVIEW] " JohnGebbie
@ 2022-07-03 17:23 ` classabbyamp
  2022-07-03 17:49 ` JohnGebbie
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: classabbyamp @ 2022-07-03 17:23 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912515086

Comment:
you should be using `distfiles`, not `do_fetch()`, i.e.: `distfiles="https://git.sr.ht/~geb/gek/archive/v${version}.tar.gz"`

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (4 preceding siblings ...)
  2022-07-03 17:23 ` classabbyamp
@ 2022-07-03 17:49 ` JohnGebbie
  2022-07-03 17:56 ` classabbyamp
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-03 17:49 UTC (permalink / raw)
  To: ml

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

New review comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912517483

Comment:
bum. I'm not sure how to do that. Do I put archives in the repo manually?  I copied the --branch approach having greped the other templates.

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (5 preceding siblings ...)
  2022-07-03 17:49 ` JohnGebbie
@ 2022-07-03 17:56 ` classabbyamp
  2022-07-03 17:56 ` paper42
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: classabbyamp @ 2022-07-03 17:56 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912518119

Comment:
sr.ht should auto-generate a tarball when you create a tag (https://git.sr.ht/~geb/gek/archive/v0.1.tar.gz should work)

those `git clone`s in other templates are either very old or special cases

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (6 preceding siblings ...)
  2022-07-03 17:56 ` classabbyamp
@ 2022-07-03 17:56 ` paper42
  2022-07-03 17:57 ` classabbyamp
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: paper42 @ 2022-07-03 17:56 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912518246

Comment:
Delete do_fetch and let xbps-src use the default one. The default do_fetch function downloads the archive in $distfiles. Look at almost every single template, almost no other template uses git. For example the `vale` package template will have a similar structure.

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (7 preceding siblings ...)
  2022-07-03 17:56 ` paper42
@ 2022-07-03 17:57 ` classabbyamp
  2022-07-03 19:32 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: classabbyamp @ 2022-07-03 17:57 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912518119

Comment:
sr.ht should auto-generate a tarball when you create a tag (https://git.sr.ht/~geb/gek/archive/v0.1.tar.gz should work already because you made a tag)

those `git clone`s in other templates are either very old or special cases

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

* Re: [PR PATCH] [Updated] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (8 preceding siblings ...)
  2022-07-03 17:57 ` classabbyamp
@ 2022-07-03 19:32 ` JohnGebbie
  2022-07-03 19:34 ` [PR REVIEW] " JohnGebbie
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-03 19:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages gek
https://github.com/void-linux/void-packages/pull/37817

New package: gek-0.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packagegs/blob/master/Manual.md#quality-requirements): **YES**


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

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

From 920f1ad0ed9ed0dbe0f087ab2ce9197282c5e6be Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Sun, 3 Jul 2022 16:03:25 +0100
Subject: [PATCH] New package: gek-0.1

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

diff --git a/srcpkgs/gek/template b/srcpkgs/gek/template
new file mode 100644
index 000000000000..ac2ca70e64d3
--- /dev/null
+++ b/srcpkgs/gek/template
@@ -0,0 +1,27 @@
+# Template file for 'gek'
+pkgname=gek
+version=0.1
+revision=1
+wrksrc="gek-v${version}"
+build_style=go
+go_import_path="git.sr.ht/~geb/gek"
+go_package="${go_import_path}/src"
+short_desc="Stack-based stream editor and scripting language"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://geklang.org/"
+distfiles="https://git.sr.ht/~geb/gek/archive/v${version}.tar.gz"
+checksum="3a271b067793099a9ad873cd6f9113b3bdc376160e1bdb9f72892e94d0c8f1c6"
+
+# The default would install it called src.
+do_build() {
+	go build -o gek "${go_package}"
+}
+
+do_install() {
+	vbin gek
+	vbin gekdoc
+	vman gek.1
+	mkdir "${DESTDIR}/usr/share/doc"
+	cp -r doc "${DESTDIR}/usr/share/doc/${pkgname}"
+}

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (9 preceding siblings ...)
  2022-07-03 19:32 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-07-03 19:34 ` JohnGebbie
  2022-07-03 21:20 ` paper42
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-03 19:34 UTC (permalink / raw)
  To: ml

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

New review comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912528609

Comment:
Thank you. I think I've done it.

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (10 preceding siblings ...)
  2022-07-03 19:34 ` [PR REVIEW] " JohnGebbie
@ 2022-07-03 21:20 ` paper42
  2022-07-03 21:53 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: paper42 @ 2022-07-03 21:20 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912537962

Comment:
you can easily rename it in do/post_install

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

* Re: [PR PATCH] [Updated] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (11 preceding siblings ...)
  2022-07-03 21:20 ` paper42
@ 2022-07-03 21:53 ` JohnGebbie
  2022-07-03 21:58 ` [PR REVIEW] " JohnGebbie
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-03 21:53 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages gek
https://github.com/void-linux/void-packages/pull/37817

New package: gek-0.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packagegs/blob/master/Manual.md#quality-requirements): **YES**


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

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

From f4615e0d97fd766b73d5d30d9d5ff9e59e9afccf Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Sun, 3 Jul 2022 16:03:25 +0100
Subject: [PATCH] New package: gek-0.1

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

diff --git a/srcpkgs/gek/template b/srcpkgs/gek/template
new file mode 100644
index 000000000000..b8a3bf7e13ee
--- /dev/null
+++ b/srcpkgs/gek/template
@@ -0,0 +1,22 @@
+# Template file for 'gek'
+pkgname=gek
+version=0.1
+revision=1
+wrksrc="gek-v${version}"
+build_style=go
+go_import_path="git.sr.ht/~geb/gek"
+go_package="${go_import_path}/src"
+short_desc="Stack-based stream editor and scripting language"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://geklang.org/"
+distfiles="https://git.sr.ht/~geb/gek/archive/v${version}.tar.gz"
+checksum="3a271b067793099a9ad873cd6f9113b3bdc376160e1bdb9f72892e94d0c8f1c6"
+
+do_install() {
+	vbin "$GOPATH/bin/src" gek
+	vbin gekdoc
+	vman gek.1
+	mkdir "${DESTDIR}/usr/share/doc"
+	cp -r doc "${DESTDIR}/usr/share/doc/${pkgname}"
+}

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (12 preceding siblings ...)
  2022-07-03 21:53 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-07-03 21:58 ` JohnGebbie
  2022-07-03 22:00 ` paper42
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-03 21:58 UTC (permalink / raw)
  To: ml

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

New review comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912541486

Comment:
Ok I've done it. I'm going to bed now, thanks for the heads ups.

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (13 preceding siblings ...)
  2022-07-03 21:58 ` [PR REVIEW] " JohnGebbie
@ 2022-07-03 22:00 ` paper42
  2022-07-04  8:03 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: paper42 @ 2022-07-03 22:00 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912541588

Comment:
```suggestion
	vmkdir /usr/share/doc
	vcopy doc "/usr/share/doc/${pkgname}"
```

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

* Re: [PR PATCH] [Updated] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (14 preceding siblings ...)
  2022-07-03 22:00 ` paper42
@ 2022-07-04  8:03 ` JohnGebbie
  2022-07-04  8:04 ` [PR REVIEW] " JohnGebbie
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-04  8:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages gek
https://github.com/void-linux/void-packages/pull/37817

New package: gek-0.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packagegs/blob/master/Manual.md#quality-requirements): **YES**


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

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

From 291e2c8da417dafd91e89614fac5e14b796545e5 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Sun, 3 Jul 2022 16:03:25 +0100
Subject: [PATCH] New package: gek-0.1

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

diff --git a/srcpkgs/gek/template b/srcpkgs/gek/template
new file mode 100644
index 000000000000..fa6424e61c63
--- /dev/null
+++ b/srcpkgs/gek/template
@@ -0,0 +1,22 @@
+# Template file for 'gek'
+pkgname=gek
+version=0.1
+revision=1
+wrksrc="gek-v${version}"
+build_style=go
+go_import_path="git.sr.ht/~geb/gek"
+go_package="${go_import_path}/src"
+short_desc="Stack-based stream editor and scripting language"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://geklang.org/"
+distfiles="https://git.sr.ht/~geb/gek/archive/v${version}.tar.gz"
+checksum="3a271b067793099a9ad873cd6f9113b3bdc376160e1bdb9f72892e94d0c8f1c6"
+
+do_install() {
+	vbin "$GOPATH/bin/src" gek
+	vbin gekdoc
+	vman gek.1
+	vmkdir "/usr/share/doc"
+	vcopy doc "/usr/share/doc/${pkgname}"
+}

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (15 preceding siblings ...)
  2022-07-04  8:03 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-07-04  8:04 ` JohnGebbie
  2022-07-05  8:32 ` JohnGebbie
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-04  8:04 UTC (permalink / raw)
  To: ml

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

New review comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r912734239

Comment:
Ok I've done it.

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

* Re: New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (16 preceding siblings ...)
  2022-07-04  8:04 ` [PR REVIEW] " JohnGebbie
@ 2022-07-05  8:32 ` JohnGebbie
  2022-07-05 13:42 ` classabbyamp
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-05  8:32 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#issuecomment-1174774673

Comment:
I'm not sure what to do about the failing tests, I can't tell what's going wrong.

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

* Re: New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (17 preceding siblings ...)
  2022-07-05  8:32 ` JohnGebbie
@ 2022-07-05 13:42 ` classabbyamp
  2022-07-05 14:11 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: classabbyamp @ 2022-07-05 13:42 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#issuecomment-1175076544

Comment:
```
=> ERROR: gek-0.1_1: vinstall: cannot find '/builddir/gek-v0.1/_build-gek-xbps/bin/src'...
```

I believe go puts things in a different dir for cross builds.

this is what the build style does:

https://github.com/void-linux/void-packages/blob/a12a5fa7a4ad36fc18dc1254c6c9ffc806777da3/common/build-style/go.sh#L43-L49

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

* Re: [PR PATCH] [Updated] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (18 preceding siblings ...)
  2022-07-05 13:42 ` classabbyamp
@ 2022-07-05 14:11 ` JohnGebbie
  2022-07-05 14:15 ` [PR REVIEW] " paper42
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-05 14:11 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages gek
https://github.com/void-linux/void-packages/pull/37817

New package: gek-0.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packagegs/blob/master/Manual.md#quality-requirements): **YES**


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

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

From ef48c79bfe3b998a869698ed360cf00178fbfed8 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Sun, 3 Jul 2022 16:03:25 +0100
Subject: [PATCH] New package: gek-0.1

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

diff --git a/srcpkgs/gek/template b/srcpkgs/gek/template
new file mode 100644
index 000000000000..6e077ed2c5d6
--- /dev/null
+++ b/srcpkgs/gek/template
@@ -0,0 +1,26 @@
+# Template file for 'gek'
+pkgname=gek
+version=0.1
+revision=1
+wrksrc="gek-v${version}"
+build_style=go
+go_import_path="git.sr.ht/~geb/gek"
+go_package="${go_import_path}/src"
+short_desc="Stack-based stream editor and scripting language"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://geklang.org/"
+distfiles="https://git.sr.ht/~geb/gek/archive/v${version}.tar.gz"
+checksum="3a271b067793099a9ad873cd6f9113b3bdc376160e1bdb9f72892e94d0c8f1c6"
+
+do_install() {
+	if [ -f "$GOPATH/bin/src" ]; then
+		vbin "$GOPATH/bin/src" gek
+	else
+		vbin "$GOPATH/bin/**/src" gek
+	fi
+	vbin gekdoc
+	vman gek.1
+	vmkdir "/usr/share/doc"
+	vcopy doc "/usr/share/doc/${pkgname}"
+}

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

* Re: [PR REVIEW] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (19 preceding siblings ...)
  2022-07-05 14:11 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-07-05 14:15 ` paper42
  2022-07-05 18:00 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: paper42 @ 2022-07-05 14:15 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#discussion_r913850825

Comment:
```suggestion
post_install() {
	mv ${DESTDIR}/usr/bin/src ${DESTDIR}/usr/bin/gek
```

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

* Re: [PR PATCH] [Updated] New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (20 preceding siblings ...)
  2022-07-05 14:15 ` [PR REVIEW] " paper42
@ 2022-07-05 18:00 ` JohnGebbie
  2022-09-29 18:34 ` JohnGebbie
  2022-09-29 18:34 ` [PR PATCH] [Closed]: " JohnGebbie
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-07-05 18:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages gek
https://github.com/void-linux/void-packages/pull/37817

New package: gek-0.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packagegs/blob/master/Manual.md#quality-requirements): **YES**


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

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

From 7ee99a040e8a347b56d6fd052571aa1dfb90459d Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Sun, 3 Jul 2022 16:03:25 +0100
Subject: [PATCH] New package: gek-0.1

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

diff --git a/srcpkgs/gek/template b/srcpkgs/gek/template
new file mode 100644
index 000000000000..a282065ac505
--- /dev/null
+++ b/srcpkgs/gek/template
@@ -0,0 +1,22 @@
+# Template file for 'gek'
+pkgname=gek
+version=0.1
+revision=1
+wrksrc="gek-v${version}"
+build_style=go
+go_import_path="git.sr.ht/~geb/gek"
+go_package="${go_import_path}/src"
+short_desc="Stack-based stream editor and scripting language"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://geklang.org/"
+distfiles="https://git.sr.ht/~geb/gek/archive/v${version}.tar.gz"
+checksum="3a271b067793099a9ad873cd6f9113b3bdc376160e1bdb9f72892e94d0c8f1c6"
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/src" "${DESTDIR}/usr/bin/gek"
+	vbin gekdoc
+	vman gek.1
+	vmkdir "/usr/share/doc"
+	vcopy doc "/usr/share/doc/${pkgname}"
+}

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

* Re: New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (21 preceding siblings ...)
  2022-07-05 18:00 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-09-29 18:34 ` JohnGebbie
  2022-09-29 18:34 ` [PR PATCH] [Closed]: " JohnGebbie
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-09-29 18:34 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/37817#issuecomment-1262668113

Comment:
I'll close this, my program could do with some work, and I don't want to add to the backlog. Thanks for helping me learn the xbps-src.

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

* Re: [PR PATCH] [Closed]: New package: gek-0.1
  2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
                   ` (22 preceding siblings ...)
  2022-09-29 18:34 ` JohnGebbie
@ 2022-09-29 18:34 ` JohnGebbie
  23 siblings, 0 replies; 25+ messages in thread
From: JohnGebbie @ 2022-09-29 18:34 UTC (permalink / raw)
  To: ml

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

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

New package: gek-0.1
https://github.com/void-linux/void-packages/pull/37817

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packagegs/blob/master/Manual.md#quality-requirements): **YES**


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

end of thread, other threads:[~2022-09-29 18:34 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-03 15:19 [PR PATCH] New package: gek-0.1 JohnGebbie
2022-07-03 16:23 ` [PR REVIEW] " classabbyamp
2022-07-03 16:23 ` classabbyamp
2022-07-03 17:13 ` [PR PATCH] [Updated] " JohnGebbie
2022-07-03 17:18 ` [PR REVIEW] " JohnGebbie
2022-07-03 17:23 ` classabbyamp
2022-07-03 17:49 ` JohnGebbie
2022-07-03 17:56 ` classabbyamp
2022-07-03 17:56 ` paper42
2022-07-03 17:57 ` classabbyamp
2022-07-03 19:32 ` [PR PATCH] [Updated] " JohnGebbie
2022-07-03 19:34 ` [PR REVIEW] " JohnGebbie
2022-07-03 21:20 ` paper42
2022-07-03 21:53 ` [PR PATCH] [Updated] " JohnGebbie
2022-07-03 21:58 ` [PR REVIEW] " JohnGebbie
2022-07-03 22:00 ` paper42
2022-07-04  8:03 ` [PR PATCH] [Updated] " JohnGebbie
2022-07-04  8:04 ` [PR REVIEW] " JohnGebbie
2022-07-05  8:32 ` JohnGebbie
2022-07-05 13:42 ` classabbyamp
2022-07-05 14:11 ` [PR PATCH] [Updated] " JohnGebbie
2022-07-05 14:15 ` [PR REVIEW] " paper42
2022-07-05 18:00 ` [PR PATCH] [Updated] " JohnGebbie
2022-09-29 18:34 ` JohnGebbie
2022-09-29 18:34 ` [PR PATCH] [Closed]: " JohnGebbie

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).