Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] sequoia-sq: update to 0.31.0.
@ 2023-07-09  8:23 jcgruenhage
  2023-07-10  8:56 ` [PR REVIEW] " classabbyamp
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jcgruenhage @ 2023-07-09  8:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia-sq-0.31.0_1
https://github.com/void-linux/void-packages/pull/44935

sequoia-sq: update to 0.31.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- 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/44935.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sequoia-sq-0.31.0_1-44935.patch --]
[-- Type: text/x-diff, Size: 2158 bytes --]

From c488a908b56a601a928068fb7fd42e8757112499 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 9 Jul 2023 10:18:47 +0200
Subject: [PATCH] sequoia-sq: update to 0.31.0.

---
 srcpkgs/sequoia-sq/template | 13 ++++++++-----
 srcpkgs/sequoia-sq/update   |  4 ++--
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
index 046de7e58b97..90af926d366f 100644
--- a/srcpkgs/sequoia-sq/template
+++ b/srcpkgs/sequoia-sq/template
@@ -1,9 +1,10 @@
 # Template file for 'sequoia-sq'
 pkgname=sequoia-sq
-version=0.29.0
+version=0.31.0
 revision=1
 build_style=cargo
-_deps="nettle-devel openssl-devel"
+build_helper=qemu
+_deps="nettle-devel openssl-devel sqlite-devel"
 hostmakedepends="pkg-config llvm clang ${_deps}"
 makedepends="${_deps}"
 short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
@@ -11,15 +12,17 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-2.0-or-later"
 homepage="https://sequoia-pgp.org/projects/#sq"
 distfiles="https://gitlab.com/sequoia-pgp/sequoia-sq/-/archive/v${version}/sequoia-sq-v${version}.tar.gz"
-checksum=4868b45f41e04f0a0f104fd6d1fcb1c33f578c193124ed98b465167a2f6ea577
+checksum=2bb62ce5fcc33a5340dae678a6628a9be992ff234141015256deb2cf45092b44
 conflicts="squirrel"
 
 case "$XBPS_TARGET_MACHINE" in
 	armv*l) nocross="Requires C libs included in build.rs, which is currently broken in xbps-src. These failures only manifest on a hf archs right now";;
 esac
 
-pre_build() {
-	export SQ_MAN=man-sq
+post_build() {
+	SQ="target/${RUST_TARGET}/release/sq"
+	ln -sf "$SQ" sq
+	SQ_MAN=man-sq vtargetrun ./sq
 }
 
 post_install() {
diff --git a/srcpkgs/sequoia-sq/update b/srcpkgs/sequoia-sq/update
index 5b83f3564619..8d56b25857dc 100644
--- a/srcpkgs/sequoia-sq/update
+++ b/srcpkgs/sequoia-sq/update
@@ -1,2 +1,2 @@
-site="https://gitlab.com/sequoia-pgp/sequoia/-/tags?format=atom"
-pattern="<title>sq/v\K[\d.]+(?=</title>)"
+site="https://gitlab.com/sequoia-pgp/sequoia-sq/-/tags?format=atom"
+pattern="<title>v\K[\d.]+(?=</title>)"

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

* Re: [PR REVIEW] sequoia-sq: update to 0.31.0.
  2023-07-09  8:23 [PR PATCH] sequoia-sq: update to 0.31.0 jcgruenhage
@ 2023-07-10  8:56 ` classabbyamp
  2023-07-10  9:49 ` jcgruenhage
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2023-07-10  8:56 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44935#discussion_r1257938716

Comment:
why symlink it if you're only using it once?

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

* Re: [PR REVIEW] sequoia-sq: update to 0.31.0.
  2023-07-09  8:23 [PR PATCH] sequoia-sq: update to 0.31.0 jcgruenhage
  2023-07-10  8:56 ` [PR REVIEW] " classabbyamp
@ 2023-07-10  9:49 ` jcgruenhage
  2023-07-10  9:57 ` [PR PATCH] [Updated] " jcgruenhage
  2023-07-10 10:30 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: jcgruenhage @ 2023-07-10  9:49 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/44935#discussion_r1258002241

Comment:
because I cargo-culted this from rustup. Fixing it now.

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

* Re: [PR PATCH] [Updated] sequoia-sq: update to 0.31.0.
  2023-07-09  8:23 [PR PATCH] sequoia-sq: update to 0.31.0 jcgruenhage
  2023-07-10  8:56 ` [PR REVIEW] " classabbyamp
  2023-07-10  9:49 ` jcgruenhage
@ 2023-07-10  9:57 ` jcgruenhage
  2023-07-10 10:30 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: jcgruenhage @ 2023-07-10  9:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia-sq-0.31.0_1
https://github.com/void-linux/void-packages/pull/44935

sequoia-sq: update to 0.31.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- 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/44935.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sequoia-sq-0.31.0_1-44935.patch --]
[-- Type: text/x-diff, Size: 2131 bytes --]

From e1af67fa5cdbe991ec8307b3792d55b42e876dd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 9 Jul 2023 10:18:47 +0200
Subject: [PATCH] sequoia-sq: update to 0.31.0.

---
 srcpkgs/sequoia-sq/template | 11 ++++++-----
 srcpkgs/sequoia-sq/update   |  4 ++--
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
index 046de7e58b977..b513240931284 100644
--- a/srcpkgs/sequoia-sq/template
+++ b/srcpkgs/sequoia-sq/template
@@ -1,9 +1,10 @@
 # Template file for 'sequoia-sq'
 pkgname=sequoia-sq
-version=0.29.0
+version=0.31.0
 revision=1
 build_style=cargo
-_deps="nettle-devel openssl-devel"
+build_helper=qemu
+_deps="nettle-devel openssl-devel sqlite-devel"
 hostmakedepends="pkg-config llvm clang ${_deps}"
 makedepends="${_deps}"
 short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
@@ -11,15 +12,15 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-2.0-or-later"
 homepage="https://sequoia-pgp.org/projects/#sq"
 distfiles="https://gitlab.com/sequoia-pgp/sequoia-sq/-/archive/v${version}/sequoia-sq-v${version}.tar.gz"
-checksum=4868b45f41e04f0a0f104fd6d1fcb1c33f578c193124ed98b465167a2f6ea577
+checksum=2bb62ce5fcc33a5340dae678a6628a9be992ff234141015256deb2cf45092b44
 conflicts="squirrel"
 
 case "$XBPS_TARGET_MACHINE" in
 	armv*l) nocross="Requires C libs included in build.rs, which is currently broken in xbps-src. These failures only manifest on a hf archs right now";;
 esac
 
-pre_build() {
-	export SQ_MAN=man-sq
+post_build() {
+	SQ_MAN=man-sq vtargetrun ./target/${RUST_TARGET}/release/sq
 }
 
 post_install() {
diff --git a/srcpkgs/sequoia-sq/update b/srcpkgs/sequoia-sq/update
index 5b83f35646198..8d56b25857dc2 100644
--- a/srcpkgs/sequoia-sq/update
+++ b/srcpkgs/sequoia-sq/update
@@ -1,2 +1,2 @@
-site="https://gitlab.com/sequoia-pgp/sequoia/-/tags?format=atom"
-pattern="<title>sq/v\K[\d.]+(?=</title>)"
+site="https://gitlab.com/sequoia-pgp/sequoia-sq/-/tags?format=atom"
+pattern="<title>v\K[\d.]+(?=</title>)"

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

* Re: [PR PATCH] [Merged]: sequoia-sq: update to 0.31.0.
  2023-07-09  8:23 [PR PATCH] sequoia-sq: update to 0.31.0 jcgruenhage
                   ` (2 preceding siblings ...)
  2023-07-10  9:57 ` [PR PATCH] [Updated] " jcgruenhage
@ 2023-07-10 10:30 ` classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2023-07-10 10:30 UTC (permalink / raw)
  To: ml

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

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

sequoia-sq: update to 0.31.0.
https://github.com/void-linux/void-packages/pull/44935

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- 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
-->


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

end of thread, other threads:[~2023-07-10 10:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-09  8:23 [PR PATCH] sequoia-sq: update to 0.31.0 jcgruenhage
2023-07-10  8:56 ` [PR REVIEW] " classabbyamp
2023-07-10  9:49 ` jcgruenhage
2023-07-10  9:57 ` [PR PATCH] [Updated] " jcgruenhage
2023-07-10 10:30 ` [PR PATCH] [Merged]: " classabbyamp

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