Github messages for voidlinux
 help / color / mirror / Atom feed
From: jake-87 <jake-87@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: kalker-1.0.1
Date: Tue, 28 Dec 2021 09:20:24 +0100	[thread overview]
Message-ID: <20211228082024.ifi_xEGDEDMjxzC9EPT0QTRHURgIzE1lBoOUfBz0xEo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34727@inbox.vuxu.org>

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

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

https://github.com/jake-87/void-packages master
https://github.com/void-linux/void-packages/pull/34727

New package: kalker-1.0.1
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


- I built this PR locally for my native architecture, (x86_64 - GLIBC 2.32)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl

- This package does not crossbuild due to use of gmp-mpfr-sys, which is architecture specific. I do not know if it builds on other architectures.


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

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

From 15ac5cf177b481dd5084592baafcc6e986cc2d25 Mon Sep 17 00:00:00 2001
From: jake-87 <jakehfreebsd@gmail.com>
Date: Tue, 28 Dec 2021 18:49:58 +1100
Subject: [PATCH 1/2] New package: kalker-1.0.1

---
 srcpkgs/kalker/template | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 srcpkgs/kalker/template

diff --git a/srcpkgs/kalker/template b/srcpkgs/kalker/template
new file mode 100644
index 000000000000..853ac7629f39
--- /dev/null
+++ b/srcpkgs/kalker/template
@@ -0,0 +1,30 @@
+# Template file for 'kalker'
+pkgname=kalker
+version=1.0.1
+revision=1
+build_style="cargo"
+make_install_args="--path cli"
+hostmakedepends="rust cargo gcc m4 diffutils make"
+short_desc="Kalker is a calculator with functions, derivation, and integration"
+maintainer="jake-87 <jakehfreebsd@gmail.com>"
+license="MIT"
+homepage="https://github.com/PaddiM8/kalker"
+distfiles="https://github.com/PaddiM8/kalker/archive/v${version}.tar.gz"
+checksum=952f4ed80a60a1d8fc6391d7bc431135b8243027bd17b7cada2f80cd96c6e549
+
+# Needed because default adds "--path ." to ${make_install_args}
+# whereas we need "--path cli"
+
+do_install() {
+	: ${make_cmd:=cargo}
+	echo ${configure_args}
+	${make_cmd} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
+		--locked ${configure_args} ${make_install_args}
+
+	rm -f "${DESTDIR}"/usr/.crates.toml
+	rm -f "${DESTDIR}"/usr/.crates2.json
+}
+
+post_install() {
+	vlicense LICENSE
+}

From ad663b14e2288a01da2aa78044711a57332c1bdd Mon Sep 17 00:00:00 2001
From: J87 <68929154+jake-87@users.noreply.github.com>
Date: Tue, 28 Dec 2021 19:20:22 +1100
Subject: [PATCH 2/2] Remove debug line

---
 srcpkgs/kalker/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/kalker/template b/srcpkgs/kalker/template
index 853ac7629f39..68d5b6f1a31c 100644
--- a/srcpkgs/kalker/template
+++ b/srcpkgs/kalker/template
@@ -17,7 +17,6 @@ checksum=952f4ed80a60a1d8fc6391d7bc431135b8243027bd17b7cada2f80cd96c6e549
 
 do_install() {
 	: ${make_cmd:=cargo}
-	echo ${configure_args}
 	${make_cmd} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
 		--locked ${configure_args} ${make_install_args}
 

  reply	other threads:[~2021-12-28  8:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-28  8:11 [PR PATCH] " jake-87
2021-12-28  8:20 ` jake-87 [this message]
2021-12-28 10:39 ` jake-87
2021-12-28 11:24 ` jake-87
2022-01-02  1:49 ` jake-87
2022-01-02  1:53 ` jake-87
2022-01-02  1:53 ` jake-87
2022-01-02  1:53 ` jake-87
2022-01-06  3:26 ` [PR PATCH] [Closed]: " jake-87
2022-01-06  3:27 ` jake-87

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=20211228082024.ifi_xEGDEDMjxzC9EPT0QTRHURgIzE1lBoOUfBz0xEo@z \
    --to=jake-87@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).