Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: stripe-1.5.14
@ 2021-04-26 19:47 kwshi
  2021-04-27  2:16 ` kwshi
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: kwshi @ 2021-04-26 19:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/kwshi/void-packages stripe-cli
https://github.com/void-linux/void-packages/pull/30522

New package: stripe-1.5.14
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From c64d6999bc556b63f06f3cff85d959f4819aea1e Mon Sep 17 00:00:00 2001
From: Kye Shi <shi.kye@gmail.com>
Date: Mon, 26 Apr 2021 12:46:21 -0700
Subject: [PATCH] New package: stripe-1.5.14

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

diff --git a/srcpkgs/stripe/template b/srcpkgs/stripe/template
new file mode 100644
index 000000000000..5a1269599360
--- /dev/null
+++ b/srcpkgs/stripe/template
@@ -0,0 +1,13 @@
+# Template file for 'stripe'
+pkgname=stripe
+version=1.5.14
+revision=1
+wrksrc="stripe-cli-${version}"
+build_style=go
+go_import_path='github.com/stripe/stripe-cli/cmd/stripe'
+short_desc="Command-line tool for Stripe payments platform API"
+maintainer="Kye Shi <shi.kye@gmail.com>"
+license="Apache-2.0"
+homepage='https://stripe.com/docs/stripe-cli'
+distfiles="https://github.com/stripe/stripe-cli/archive/refs/tags/v${version}.tar.gz"
+checksum=7e21ebc446128e82bf04566e26b2c0c962f237fe093647b307eda2dfd05b368a

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

* Re: New package: stripe-1.5.14
  2021-04-26 19:47 [PR PATCH] New package: stripe-1.5.14 kwshi
@ 2021-04-27  2:16 ` kwshi
  2021-04-27 20:54 ` [PR PATCH] [Updated] " kwshi
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kwshi @ 2021-04-27  2:16 UTC (permalink / raw)
  To: ml

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

New comment by kwshi on void-packages repository

https://github.com/void-linux/void-packages/pull/30522#issuecomment-827263382

Comment:
Marking as WIP because I just realized I should also add some pre-build steps setting up shell completion scripts that come bundled w/ the command.

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

* Re: [PR PATCH] [Updated] New package: stripe-1.5.14
  2021-04-26 19:47 [PR PATCH] New package: stripe-1.5.14 kwshi
  2021-04-27  2:16 ` kwshi
@ 2021-04-27 20:54 ` kwshi
  2021-04-27 20:56 ` kwshi
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kwshi @ 2021-04-27 20:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/kwshi/void-packages stripe-cli
https://github.com/void-linux/void-packages/pull/30522

New package: stripe-1.5.14
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 8d003e4c63ba88df21b103869c5fb4509afb8508 Mon Sep 17 00:00:00 2001
From: Kye Shi <shi.kye@gmail.com>
Date: Mon, 26 Apr 2021 12:46:21 -0700
Subject: [PATCH] New package: stripe-1.5.14

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

diff --git a/srcpkgs/stripe/template b/srcpkgs/stripe/template
new file mode 100644
index 000000000000..4b5c06dfade1
--- /dev/null
+++ b/srcpkgs/stripe/template
@@ -0,0 +1,20 @@
+# Template file for 'stripe'
+pkgname=stripe
+version=1.5.14
+revision=1
+wrksrc="stripe-cli-${version}"
+build_style=go
+go_import_path='github.com/stripe/stripe-cli/cmd/stripe'
+short_desc="Command-line tool for Stripe payments platform API"
+maintainer="Kye Shi <shi.kye@gmail.com>"
+license="Apache-2.0"
+homepage='https://stripe.com/docs/stripe-cli'
+distfiles="https://github.com/stripe/stripe-cli/archive/refs/tags/v${version}.tar.gz"
+checksum=7e21ebc446128e82bf04566e26b2c0c962f237fe093647b307eda2dfd05b368a
+
+post_install() {
+	"$DESTDIR/usr/bin/stripe" completion --shell 'bash'
+	vcompletion 'stripe-completion.bash' 'bash'
+	"$DESTDIR/usr/bin/stripe" completion --shell 'zsh'
+	vcompletion 'stripe-completion.zsh' 'zsh'
+}

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

* Re: New package: stripe-1.5.14
  2021-04-26 19:47 [PR PATCH] New package: stripe-1.5.14 kwshi
  2021-04-27  2:16 ` kwshi
  2021-04-27 20:54 ` [PR PATCH] [Updated] " kwshi
@ 2021-04-27 20:56 ` kwshi
  2021-04-27 21:00 ` kwshi
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kwshi @ 2021-04-27 20:56 UTC (permalink / raw)
  To: ml

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

New comment by kwshi on void-packages repository

https://github.com/void-linux/void-packages/pull/30522#issuecomment-827924528

Comment:
Just added some completion scripts to `post_install`, ready for review!

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

* Re: New package: stripe-1.5.14
  2021-04-26 19:47 [PR PATCH] New package: stripe-1.5.14 kwshi
                   ` (2 preceding siblings ...)
  2021-04-27 20:56 ` kwshi
@ 2021-04-27 21:00 ` kwshi
  2021-04-27 21:16 ` [PR PATCH] [Updated] " kwshi
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kwshi @ 2021-04-27 21:00 UTC (permalink / raw)
  To: ml

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

New comment by kwshi on void-packages repository

https://github.com/void-linux/void-packages/pull/30522#issuecomment-827924528

Comment:
Just added some completion scripts to `post_install`, ready for review!  EDIT: nope, looks like there are some architecture problems.

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

* Re: [PR PATCH] [Updated] New package: stripe-1.5.14
  2021-04-26 19:47 [PR PATCH] New package: stripe-1.5.14 kwshi
                   ` (3 preceding siblings ...)
  2021-04-27 21:00 ` kwshi
@ 2021-04-27 21:16 ` kwshi
  2021-04-27 21:24 ` kwshi
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kwshi @ 2021-04-27 21:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/kwshi/void-packages stripe-cli
https://github.com/void-linux/void-packages/pull/30522

New package: stripe-1.5.14
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From e92511d64fb6c476d33e8c38963675ae500e7d04 Mon Sep 17 00:00:00 2001
From: Kye Shi <shi.kye@gmail.com>
Date: Mon, 26 Apr 2021 12:46:21 -0700
Subject: [PATCH] New package: stripe-1.5.14

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

diff --git a/srcpkgs/stripe/template b/srcpkgs/stripe/template
new file mode 100644
index 000000000000..7aeda893bfc0
--- /dev/null
+++ b/srcpkgs/stripe/template
@@ -0,0 +1,27 @@
+# Template file for 'stripe'
+pkgname=stripe
+version=1.5.14
+revision=1
+wrksrc="stripe-cli-${version}"
+build_style=go
+build_helper=qemu
+go_import_path='github.com/stripe/stripe-cli/cmd/stripe'
+short_desc="Command-line tool for Stripe payments platform API"
+maintainer="Kye Shi <shi.kye@gmail.com>"
+license="Apache-2.0"
+homepage='https://stripe.com/docs/stripe-cli'
+distfiles="https://github.com/stripe/stripe-cli/archive/refs/tags/v${version}.tar.gz"
+checksum=7e21ebc446128e82bf04566e26b2c0c962f237fe093647b307eda2dfd05b368a
+
+post_build() {
+	stripe="$GOPATH/bin/stripe"
+	for shell in 'bash' 'zsh'; do
+		vtargetrun "$stripe" completion --shell "$shell"
+	done
+}
+
+post_install() {
+	for shell in 'bash' 'zsh'; do
+		vcompletion "stripe-completion.$shell" "$shell" 'stripe'
+	done
+}

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

* Re: [PR PATCH] [Updated] New package: stripe-1.5.14
  2021-04-26 19:47 [PR PATCH] New package: stripe-1.5.14 kwshi
                   ` (4 preceding siblings ...)
  2021-04-27 21:16 ` [PR PATCH] [Updated] " kwshi
@ 2021-04-27 21:24 ` kwshi
  2021-04-27 21:32 ` kwshi
  2021-05-03 23:33 ` [PR PATCH] [Updated] " kwshi
  7 siblings, 0 replies; 9+ messages in thread
From: kwshi @ 2021-04-27 21:24 UTC (permalink / raw)
  To: ml

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

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

https://github.com/kwshi/void-packages stripe-cli
https://github.com/void-linux/void-packages/pull/30522

New package: stripe-1.5.14
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 87fa96765740fc289fb0e1a6027abd5bc19c2061 Mon Sep 17 00:00:00 2001
From: Kye Shi <shi.kye@gmail.com>
Date: Mon, 26 Apr 2021 12:46:21 -0700
Subject: [PATCH] New package: stripe-1.5.14

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

diff --git a/srcpkgs/stripe/template b/srcpkgs/stripe/template
new file mode 100644
index 000000000000..f578dd48f667
--- /dev/null
+++ b/srcpkgs/stripe/template
@@ -0,0 +1,27 @@
+# Template file for 'stripe'
+pkgname=stripe
+version=1.5.14
+revision=1
+wrksrc="stripe-cli-${version}"
+build_style=go
+build_helper=qemu
+go_import_path='github.com/stripe/stripe-cli/cmd/stripe'
+short_desc="Command-line tool for Stripe payments platform API"
+maintainer="Kye Shi <shi.kye@gmail.com>"
+license="Apache-2.0"
+homepage='https://stripe.com/docs/stripe-cli'
+distfiles="https://github.com/stripe/stripe-cli/archive/refs/tags/v${version}.tar.gz"
+checksum=7e21ebc446128e82bf04566e26b2c0c962f237fe093647b307eda2dfd05b368a
+
+post_build() {
+	stripe=$(find "$GOPATH" -name 'stripe')
+	for shell in 'bash' 'zsh'; do
+		vtargetrun "$stripe" completion --shell "$shell"
+	done
+}
+
+post_install() {
+	for shell in 'bash' 'zsh'; do
+		vcompletion "stripe-completion.$shell" "$shell" 'stripe'
+	done
+}

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

* Re: New package: stripe-1.5.14
  2021-04-26 19:47 [PR PATCH] New package: stripe-1.5.14 kwshi
                   ` (5 preceding siblings ...)
  2021-04-27 21:24 ` kwshi
@ 2021-04-27 21:32 ` kwshi
  2021-05-03 23:33 ` [PR PATCH] [Updated] " kwshi
  7 siblings, 0 replies; 9+ messages in thread
From: kwshi @ 2021-04-27 21:32 UTC (permalink / raw)
  To: ml

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

New comment by kwshi on void-packages repository

https://github.com/void-linux/void-packages/pull/30522#issuecomment-827924528

Comment:
Just added some completion scripts to `post_install`, ready for review!

EDIT: nope, looks like there are some architecture problems.

EDIT: fixed now, thanks for the tip re. qemu-user-static, @ericonr & aedinius!

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

* Re: [PR PATCH] [Updated] New package: stripe-1.5.14
  2021-04-26 19:47 [PR PATCH] New package: stripe-1.5.14 kwshi
                   ` (6 preceding siblings ...)
  2021-04-27 21:32 ` kwshi
@ 2021-05-03 23:33 ` kwshi
  7 siblings, 0 replies; 9+ messages in thread
From: kwshi @ 2021-05-03 23:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/kwshi/void-packages stripe-cli
https://github.com/void-linux/void-packages/pull/30522

New package: stripe-1.5.14
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 10cece3e9c727124200c25e3d786c54c32ee6e55 Mon Sep 17 00:00:00 2001
From: Kye Shi <shi.kye@gmail.com>
Date: Mon, 26 Apr 2021 12:46:21 -0700
Subject: [PATCH] New package: stripe-1.5.14

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

diff --git a/srcpkgs/stripe/template b/srcpkgs/stripe/template
new file mode 100644
index 000000000000..522190fe27d9
--- /dev/null
+++ b/srcpkgs/stripe/template
@@ -0,0 +1,28 @@
+# Template file for 'stripe'
+pkgname=stripe
+version=1.5.14
+revision=1
+wrksrc="stripe-cli-${version}"
+build_style=go
+build_helper=qemu
+go_import_path='github.com/stripe/stripe-cli'
+go_package='./cmd/stripe'
+short_desc="Command-line tool for Stripe payments platform API"
+maintainer="Kye Shi <shi.kye@gmail.com>"
+license="Apache-2.0"
+homepage='https://stripe.com/docs/stripe-cli'
+distfiles="https://github.com/stripe/stripe-cli/archive/refs/tags/v${version}.tar.gz"
+checksum=7e21ebc446128e82bf04566e26b2c0c962f237fe093647b307eda2dfd05b368a
+
+post_build() {
+	stripe=$(find "$GOPATH" -name 'stripe')
+	for shell in 'bash' 'zsh'; do
+		vtargetrun "$stripe" completion --shell "$shell"
+	done
+}
+
+post_install() {
+	for shell in 'bash' 'zsh'; do
+		vcompletion "stripe-completion.$shell" "$shell" 'stripe'
+	done
+}

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

end of thread, other threads:[~2021-05-03 23:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26 19:47 [PR PATCH] New package: stripe-1.5.14 kwshi
2021-04-27  2:16 ` kwshi
2021-04-27 20:54 ` [PR PATCH] [Updated] " kwshi
2021-04-27 20:56 ` kwshi
2021-04-27 21:00 ` kwshi
2021-04-27 21:16 ` [PR PATCH] [Updated] " kwshi
2021-04-27 21:24 ` kwshi
2021-04-27 21:32 ` kwshi
2021-05-03 23:33 ` [PR PATCH] [Updated] " kwshi

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git