Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] starship: update to 0.48.0.
@ 2021-01-09  0:28 olafmersmann
  2021-01-09  0:50 ` [PR PATCH] [Merged]: " ericonr
  0 siblings, 1 reply; 2+ messages in thread
From: olafmersmann @ 2021-01-09  0:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/olafmersmann/void-packages starship
https://github.com/void-linux/void-packages/pull/27778

starship: update to 0.48.0.
Some tests fail because `/` is world writable and `$HOME` is `/tmp` inside the the chroot. 

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

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

From 7a38ed047ff5a09a4ecb590d4098b5e907173a9a Mon Sep 17 00:00:00 2001
From: Olaf Mersmann <olafm@p-value.net>
Date: Fri, 8 Jan 2021 22:55:32 +0100
Subject: [PATCH] starship: update to 0.48.0.

---
 srcpkgs/starship/template | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/starship/template b/srcpkgs/starship/template
index 06b6406295d..0eae193aece 100644
--- a/srcpkgs/starship/template
+++ b/srcpkgs/starship/template
@@ -1,18 +1,18 @@
 # Template file for 'starship'
 pkgname=starship
-version=0.46.2
+version=0.48.0
 revision=1
 build_style=cargo
 build_helper=qemu
 hostmakedepends="pkg-config"
 makedepends="libgit2-devel"
-checkdepends="git"
+checkdepends="git fish-shell"
 short_desc="Minimal, fast and customizable cross-shell prompt"
 maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
 license="ISC"
 homepage="https://starship.rs"
 distfiles="https://github.com/starship/starship/archive/v${version}.tar.gz"
-checksum=39301c8118239eda7b6d8dbcae498f28bfd901932e69003c249d99ee7989c1bb
+checksum=23e729ace48ec0bf6d8eff5f99003351463841f3b28fe453faceb62e6f99bae6
 
 post_build() {
 	STARSHIP="target/${RUST_TARGET}/release/starship"
@@ -21,9 +21,12 @@ post_build() {
 	vtargetrun ${STARSHIP} completions fish >starship.fish
 }
 
-pre_check() {
-	[ -L target/debug ] && unlink target/debug
-	ln -s release target/debug
+do_check() {
+	mkdir -p fake-home
+	local OLDHOME=$HOME
+	export HOME=$(pwd)/fake-home
+	cargo test -q --release --target ${RUST_TARGET}
+	export HOME=$OLDHOME
 }
 
 post_install() {

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

* Re: [PR PATCH] [Merged]: starship: update to 0.48.0.
  2021-01-09  0:28 [PR PATCH] starship: update to 0.48.0 olafmersmann
@ 2021-01-09  0:50 ` ericonr
  0 siblings, 0 replies; 2+ messages in thread
From: ericonr @ 2021-01-09  0:50 UTC (permalink / raw)
  To: ml

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

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

starship: update to 0.48.0.
https://github.com/void-linux/void-packages/pull/27778

Description:
Some tests fail because `/` is world writable and `$HOME` is `/tmp` inside the the chroot. 

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

end of thread, other threads:[~2021-01-09  0:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09  0:28 [PR PATCH] starship: update to 0.48.0 olafmersmann
2021-01-09  0:50 ` [PR PATCH] [Merged]: " ericonr

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