From: TeddyDD <TeddyDD@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: opa-0.42.2
Date: Tue, 02 Aug 2022 16:59:40 +0200 [thread overview]
Message-ID: <20220802145940.mItx_cq36cgpa5KersjMjHSg1kmthrensYL_zjL8vfk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38074@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]
There is an updated pull request by TeddyDD against master on the void-packages repository
https://github.com/TeddyDD/void-packages-1 add-opa
https://github.com/void-linux/void-packages/pull/38074
New package: opa-0.42.2
<!-- Uncomment relevant sections and delete options which are not applicable -->
https://www.openpolicyagent.org/
#### 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-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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/38074.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-opa-38074.patch --]
[-- Type: text/x-diff, Size: 1662 bytes --]
From 4854a7e4d1c25b89c0628d3e48ddc77619f89be3 Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Thu, 14 Jul 2022 19:31:02 +0200
Subject: [PATCH] New package: opa-0.43.0
---
srcpkgs/opa/template | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 srcpkgs/opa/template
diff --git a/srcpkgs/opa/template b/srcpkgs/opa/template
new file mode 100644
index 000000000000..85c87b51fcb7
--- /dev/null
+++ b/srcpkgs/opa/template
@@ -0,0 +1,37 @@
+# Template file for 'opa'
+pkgname=opa
+version=0.43.0
+revision=1
+build_style=go
+build_helper=qemu
+go_import_path=github.com/open-policy-agent/opa
+# go_build_tags=opa_wasm
+go_ldflags="-X github.com/open-policy-agent/opa/internal/report.ExternalServiceURL=''
+ -X github.com/open-policy-agent/opa/version.Version=${version}"
+short_desc="General-purpose policy engine"
+maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
+license="Apache-2.0"
+homepage="https://www.openpolicyagent.org/"
+changelog="https://raw.githubusercontent.com/open-policy-agent/opa/main/CHANGELOG.md"
+distfiles="https://github.com/open-policy-agent/opa/archive/v${version}.tar.gz"
+checksum=c5ac0f4a2c50e347cbcdf97f711ef70f9d7bd8594f8d92036fdea78d34c8400e
+
+post_build() {
+ CGO_ENABLED=0 GOOS="" GOARCH="" go run -ldflags "$go_ldflags" ./build/generate-man man
+ for shell in bash fish zsh
+ do
+ opa_cli=$(find "$GOPATH"/bin -name opa)
+ vtargetrun "$opa_cli" completion $shell >$shell.completion
+ done
+}
+
+post_install() {
+ for f in man/*.1
+ do
+ vman "$f"
+ done
+ for shell in bash fish zsh
+ do
+ vcompletion "$shell.completion" "$shell"
+ done
+}
next prev parent reply other threads:[~2022-08-02 14:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-14 17:31 [PR PATCH] " TeddyDD
2022-07-14 18:02 ` [PR PATCH] [Updated] " TeddyDD
2022-08-02 14:59 ` TeddyDD [this message]
2022-09-30 22:48 ` [PR PATCH] [Updated] New package: opa-0.43.0 TeddyDD
2022-10-27 21:45 ` [PR PATCH] [Updated] New package: opa-0.44.0 TeddyDD
2023-01-13 9:35 ` [PR PATCH] [Closed]: New package: opa-0.45.0 TeddyDD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220802145940.mItx_cq36cgpa5KersjMjHSg1kmthrensYL_zjL8vfk@z \
--to=teddydd@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).