Github messages for voidlinux
 help / color / mirror / Atom feed
From: BryceVandegrift <BryceVandegrift@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: CBQN-0.2.0
Date: Thu, 04 May 2023 23:09:26 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43752@inbox.vuxu.org> (raw)

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

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

https://github.com/BryceVandegrift/void-packages CBQN
https://github.com/void-linux/void-packages/pull/43752

New package: CBQN-0.2.0
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl (crossbuild)

This is a continuation of [this](https://github.com/void-linux/void-packages/pull/43737) pull request.

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

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

From 7c6e8688640ec98ca2e99a86bd0802826be9bc30 Mon Sep 17 00:00:00 2001
From: Bryce Vandegrift <bryce@brycevandegrift.xyz>
Date: Thu, 4 May 2023 17:06:56 -0400
Subject: [PATCH] New package: CBQN-0.2.0

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

diff --git a/srcpkgs/CBQN/template b/srcpkgs/CBQN/template
new file mode 100644
index 000000000000..da42d78edad4
--- /dev/null
+++ b/srcpkgs/CBQN/template
@@ -0,0 +1,50 @@
+# Template file for 'CBQN'
+pkgname=CBQN
+version=0.2.0
+revision=1
+archs="x86_64*"
+_singeli_hash=853ab1a06ae8d8603f228d8e784fa319cc401459
+_replxx_hash=1da4681a8814366ec51e7630b76558e53be0997d
+_bytecode_hash=78ed4102f914eb5fa490d76d4dcd4f8be6e53417
+hostmakedepends="clang libffi-devel"
+depends="libffi"
+short_desc="BQN implementation in C"
+maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
+license="GPL-3.0-only, MIT, Apache-2.0, BSL-1.0"
+homepage="https://github.com/dzaima/CBQN"
+distfiles="https://github.com/dzaima/CBQN/archive/refs/tags/v${version}.tar.gz
+ https://github.com/mlochbaum/Singeli/archive/${_singeli_hash}.tar.gz
+ https://github.com/dzaima/replxx/archive/${_replxx_hash}.tar.gz
+ https://github.com/dzaima/cbqnBytecode/archive/${_bytecode_hash}.tar.gz"
+checksum="70525117364edefb6c8906e269a5b1b17c8647f516b6599fecdc53ba6e57530e
+ a0a8b48aac23bfa458c3af13cfcad1fb6889151e72b7983e85521245e367c1d4
+ 60ba4d8b566d8af1330f2f4b67d712da8efeb018f53f5055898d8b86a325088f
+ f99c10fc674e673bd8253a90e9676d070aadb4decc3f59766bed3b0295f47a1a"
+
+post_extract() {
+	rm -r CBQN-${version}/build/{bytecode,replxx,singeli}Submodule
+	mv "cbqnBytecode-${_bytecode_hash}" "CBQN-${version}/build/bytecodeSubmodule"
+	mv "replxx-${_replxx_hash}" "CBQN-${version}/build/replxxSubmodule"
+	mv "Singeli-${_singeli_hash}" "CBQN-${version}/build/singeliSubmodule"
+	cd CBQN-${version}
+	vsed -i makefile -e 's/@git/@true/g'
+	vsed -i makefile -e '/SHELL =.*/ d'
+}
+
+do_build() {
+	cd CBQN-${version}
+	make REPLXX=1 j=$(nproc)
+}
+
+do_install() {
+	cd CBQN-${version}
+	vbin BQN bqn
+
+	vdoc docs/commands.md
+	vdoc docs/system.md
+
+	vlicense licenses/LICENSE-Apache2
+	vlicense licenses/LICENSE-Boost
+	vlicense licenses/LICENSE-GPLv3
+	vlicense licenses/LICENSE-MIT-sort
+}

             reply	other threads:[~2023-05-04 21:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-04 21:09 BryceVandegrift [this message]
2023-05-04 21:27 ` [PR REVIEW] " abenson
2023-05-04 21:27 ` abenson
2023-05-04 21:27 ` abenson
2023-05-04 21:28 ` abenson
2023-05-04 21:28 ` abenson
2023-05-04 21:55 ` BryceVandegrift
2023-05-04 22:00 ` BryceVandegrift
2023-05-04 22:04 ` BryceVandegrift
2023-05-04 22:18 ` abenson
2023-05-04 22:22 ` abenson
2023-05-04 22:23 ` abenson
2023-05-04 23:41 ` [PR PATCH] [Updated] " BryceVandegrift
2023-05-11 12:59 ` [PR REVIEW] " dzaima
2023-05-11 20:02 ` [PR PATCH] [Updated] " BryceVandegrift
2023-05-11 20:02 ` BryceVandegrift
2023-05-11 21:16 ` [PR REVIEW] " abenson
2023-05-11 21:19 ` abenson
2023-05-12  1:07 ` BryceVandegrift
2023-05-12 18:07 ` [PR PATCH] [Updated] " BryceVandegrift
2023-06-25 17:20 ` Duncaen
2023-07-04 12:31 ` [PR PATCH] [Closed]: " BryceVandegrift

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43752@inbox.vuxu.org \
    --to=brycevandegrift@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).