Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: CBQN-git-20230503
@ 2023-05-03 22:14 BryceVandegrift
  2023-05-03 22:15 ` classabbyamp
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: BryceVandegrift @ 2023-05-03 22:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 791 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/43737

New package: CBQN-git-20230503
#### 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)

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

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

From 667746d05be79958767b9f5b5530b108b4e8bcff Mon Sep 17 00:00:00 2001
From: Bryce Vandegrift <bryce@brycevandegrift.xyz>
Date: Wed, 3 May 2023 18:13:31 -0400
Subject: [PATCH] New package: CBQN-git-20230503

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

diff --git a/srcpkgs/CBQN-git/template b/srcpkgs/CBQN-git/template
new file mode 100644
index 000000000000..4b4c0222283f
--- /dev/null
+++ b/srcpkgs/CBQN-git/template
@@ -0,0 +1,37 @@
+# Template file for 'CBQN-git'
+pkgname=CBQN-git
+version=20230503
+revision=1
+_commit=23737cc4580c995aac76a8a5bae4ca39492968fd
+hostmakedepends="git 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"
+
+do_fetch() {
+	git clone https://github.com/dzaima/CBQN.git $wrksrc
+	cd $wrksrc
+	git reset --hard $_commit
+}
+
+do_patch() {
+	sed -i '/SHELL =.*/ d' makefile
+}
+
+do_build() {
+	make REPLXX=1
+}
+
+do_install() {
+	vbin BQN bqn
+
+	vlicense licenses/LICENSE-Apache2
+	vlicense licenses/LICENSE-Boost
+	vlicense licenses/LICENSE-GPLv3
+	vlicense licenses/LICENSE-MIT-sort
+
+	vdoc docs/commands.md
+	vdoc docs/system.md
+}

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

* Re: New package: CBQN-git-20230503
  2023-05-03 22:14 [PR PATCH] New package: CBQN-git-20230503 BryceVandegrift
@ 2023-05-03 22:15 ` classabbyamp
  2023-05-03 22:16 ` [PR PATCH] [Closed]: " BryceVandegrift
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2023-05-03 22:15 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/43737#issuecomment-1533822910

Comment:
> Software need to be used in version announced by authors as ready to use by the general public - usually called releases. Betas, arbitrary VCS revisions, templates using tip of development branch taken at build time and releases created by the package maintainer won't be accepted.

[Package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements)

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

* Re: [PR PATCH] [Closed]: New package: CBQN-git-20230503
  2023-05-03 22:14 [PR PATCH] New package: CBQN-git-20230503 BryceVandegrift
  2023-05-03 22:15 ` classabbyamp
@ 2023-05-03 22:16 ` BryceVandegrift
  2023-05-03 22:17 ` BryceVandegrift
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: BryceVandegrift @ 2023-05-03 22:16 UTC (permalink / raw)
  To: ml

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

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

New package: CBQN-git-20230503
https://github.com/void-linux/void-packages/pull/43737

Description:
#### 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)

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

* Re: New package: CBQN-git-20230503
  2023-05-03 22:14 [PR PATCH] New package: CBQN-git-20230503 BryceVandegrift
  2023-05-03 22:15 ` classabbyamp
  2023-05-03 22:16 ` [PR PATCH] [Closed]: " BryceVandegrift
@ 2023-05-03 22:17 ` BryceVandegrift
  2023-05-03 22:24 ` abenson
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: BryceVandegrift @ 2023-05-03 22:17 UTC (permalink / raw)
  To: ml

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

New comment by BryceVandegrift on void-packages repository

https://github.com/void-linux/void-packages/pull/43737#issuecomment-1533824335

Comment:
Software does not provide suitable releases.

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

* Re: New package: CBQN-git-20230503
  2023-05-03 22:14 [PR PATCH] New package: CBQN-git-20230503 BryceVandegrift
                   ` (2 preceding siblings ...)
  2023-05-03 22:17 ` BryceVandegrift
@ 2023-05-03 22:24 ` abenson
  2023-05-03 22:47 ` BryceVandegrift
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: abenson @ 2023-05-03 22:24 UTC (permalink / raw)
  To: ml

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/43737#issuecomment-1533830723

Comment:
[It does have tagged releases](https://github.com/dzaima/CBQN/releases/tag/v0.2.0).

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

* Re: New package: CBQN-git-20230503
  2023-05-03 22:14 [PR PATCH] New package: CBQN-git-20230503 BryceVandegrift
                   ` (3 preceding siblings ...)
  2023-05-03 22:24 ` abenson
@ 2023-05-03 22:47 ` BryceVandegrift
  2023-05-04 18:38 ` abenson
  2023-05-04 18:46 ` BryceVandegrift
  6 siblings, 0 replies; 8+ messages in thread
From: BryceVandegrift @ 2023-05-03 22:47 UTC (permalink / raw)
  To: ml

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

New comment by BryceVandegrift on void-packages repository

https://github.com/void-linux/void-packages/pull/43737#issuecomment-1533848119

Comment:
@abenson Those tagged releases will not compile. The author does not support them.
[https://github.com/dzaima/CBQN/issues/79](https://github.com/dzaima/CBQN/issues/79)

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

* Re: New package: CBQN-git-20230503
  2023-05-03 22:14 [PR PATCH] New package: CBQN-git-20230503 BryceVandegrift
                   ` (4 preceding siblings ...)
  2023-05-03 22:47 ` BryceVandegrift
@ 2023-05-04 18:38 ` abenson
  2023-05-04 18:46 ` BryceVandegrift
  6 siblings, 0 replies; 8+ messages in thread
From: abenson @ 2023-05-04 18:38 UTC (permalink / raw)
  To: ml

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/43737#issuecomment-1535234152

Comment:
You'd need to grab the modules as `distfiles` and put them in place.

```
_singeli_hash=853ab1a06ae8d8603f228d8e784fa319cc401459
_replxx_hash=1da4681a8814366ec51e7630b76558e53be0997d
_bytecode_hash=78ed4102f914eb5fa490d76d4dcd4f8be6e53417
distfiles="https://github.com/dzaima/CBQN/archive/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 $build_wrksrc
    vsed -i makefile -e 's/@git/@true/g'
}
```

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

* Re: New package: CBQN-git-20230503
  2023-05-03 22:14 [PR PATCH] New package: CBQN-git-20230503 BryceVandegrift
                   ` (5 preceding siblings ...)
  2023-05-04 18:38 ` abenson
@ 2023-05-04 18:46 ` BryceVandegrift
  6 siblings, 0 replies; 8+ messages in thread
From: BryceVandegrift @ 2023-05-04 18:46 UTC (permalink / raw)
  To: ml

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

New comment by BryceVandegrift on void-packages repository

https://github.com/void-linux/void-packages/pull/43737#issuecomment-1535243979

Comment:
Yeah, I guess that could work. I'll see what I can do.

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

end of thread, other threads:[~2023-05-04 18:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-03 22:14 [PR PATCH] New package: CBQN-git-20230503 BryceVandegrift
2023-05-03 22:15 ` classabbyamp
2023-05-03 22:16 ` [PR PATCH] [Closed]: " BryceVandegrift
2023-05-03 22:17 ` BryceVandegrift
2023-05-03 22:24 ` abenson
2023-05-03 22:47 ` BryceVandegrift
2023-05-04 18:38 ` abenson
2023-05-04 18:46 ` BryceVandegrift

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