Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: fend-1.1.5
Date: Mon, 03 Apr 2023 10:05:47 +0200	[thread overview]
Message-ID: <20230403080547.4a4Rnt05N-hlzXGsmM0pNsKoEjTVfVOFSQtRkZf0N4I@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43203@inbox.vuxu.org>

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

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

https://github.com/tranzystorek-io/void-packages fend
https://github.com/void-linux/void-packages/pull/43203

New package: fend-1.1.5
<!-- 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**

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

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

From cb34df2733e3d6df3c7c64440bdca635cf539131 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 1 Apr 2023 14:56:13 +0200
Subject: [PATCH] New package: fend-1.1.5

---
 srcpkgs/fend/patches/test-error.patch | 35 +++++++++++++++++++++++++++
 srcpkgs/fend/template                 | 17 +++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 srcpkgs/fend/patches/test-error.patch
 create mode 100644 srcpkgs/fend/template

diff --git a/srcpkgs/fend/patches/test-error.patch b/srcpkgs/fend/patches/test-error.patch
new file mode 100644
index 000000000000..15f92309b94f
--- /dev/null
+++ b/srcpkgs/fend/patches/test-error.patch
@@ -0,0 +1,35 @@
+From 00aff244f9072afb7bec5f68a2ea29c32484caff Mon Sep 17 00:00:00 2001
+From: printfn <printfn@users.noreply.github.com>
+Date: Sun, 2 Apr 2023 19:44:05 +0000
+Subject: [PATCH] Fix test failures on 32-bit systems
+
+---
+ core/tests/integration_tests.rs | 11 +++--------
+ 1 file changed, 3 insertions(+), 8 deletions(-)
+
+diff --git a/core/tests/integration_tests.rs b/core/tests/integration_tests.rs
+index 7aa6517..e4b3e82 100644
+--- a/core/tests/integration_tests.rs
++++ b/core/tests/integration_tests.rs
+@@ -5432,18 +5432,13 @@ fn test_invalid_dice_syntax_3() {
+ 
+ #[test]
+ fn test_invalid_dice_syntax_4() {
+-    expect_error(
+-        "d30000000000000000",
+-        Some("invalid dice syntax, try e.g. `4d6`"),
+-    );
++    expect_error("d30000000000000000", None);
+ }
+ 
+ #[test]
+ fn test_invalid_dice_syntax_5() {
+-    expect_error(
+-        "30000000000000000d2",
+-        Some("invalid dice syntax, try e.g. `4d6`"),
+-    );
++    // this produces different error messages on 32-bit vs 64-bit platforms
++    expect_error("30000000000000000d2", None);
+ }
+ 
+ #[test]
diff --git a/srcpkgs/fend/template b/srcpkgs/fend/template
new file mode 100644
index 000000000000..90bae782ab5d
--- /dev/null
+++ b/srcpkgs/fend/template
@@ -0,0 +1,17 @@
+# Template file for 'fend'
+pkgname=fend
+version=1.1.5
+revision=1
+build_style=cargo
+make_install_args="--path cli"
+short_desc="Arbitrary-precision unit-aware calculator"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="MIT"
+homepage="https://printfn.github.io/fend/"
+changelog="https://raw.githubusercontent.com/printfn/fend/main/CHANGELOG.md"
+distfiles="https://github.com/printfn/fend/archive/refs/tags/v${version}.tar.gz"
+checksum=4b9c8056c3e45bcfb068b4536b037eb9986b75fa2f86f561ea3ddd87946b7127
+
+post_install() {
+	vlicense LICENSE.md
+}

  reply	other threads:[~2023-04-03  8:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-02 12:06 [PR PATCH] " tranzystorek-io
2023-04-03  8:05 ` tranzystorek-io [this message]
2023-04-03 11:45 ` [PR PATCH] [Updated] " tranzystorek-io
2023-04-21  9:14 ` [PR PATCH] [Updated] New package: fend-1.1.6 tranzystorek-io
2023-04-21 10:55 ` tranzystorek-io
2023-06-02 13:37 ` tranzystorek-io
2023-06-09 21:57 ` [PR PATCH] [Updated] New package: fend-1.2.0 tranzystorek-io
2023-06-09 22:37 ` tranzystorek-io
2023-06-27 12:01 ` tranzystorek-io
2023-06-28 19:50 ` [PR PATCH] [Merged]: " Duncaen

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=20230403080547.4a4Rnt05N-hlzXGsmM0pNsKoEjTVfVOFSQtRkZf0N4I@z \
    --to=tranzystorek-io@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).