[-- 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
[-- 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.
[-- 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' +}
[-- 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!
[-- 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.
[-- 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 +}
[-- 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 +}
[-- 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!
[-- 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 +}
[-- Attachment #1: Type: text/plain, Size: 305 bytes --] New comment by github-actions[bot] on void-packages repository https://github.com/void-linux/void-packages/pull/30522#issuecomment-1129493022 Comment: Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
[-- Attachment #1: Type: text/plain, Size: 1334 bytes --] There's a closed pull request on the void-packages repository New package: stripe-1.5.14 https://github.com/void-linux/void-packages/pull/30522 Description: <!-- 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 -->