Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] yosys: update to 0.47.
@ 2024-11-10  2:09 Aloz1
  2024-11-10  3:08 ` [PR PATCH] [Updated] " Aloz1
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Aloz1 @ 2024-11-10  2:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Aloz1/void-packages yosys-0.47
https://github.com/void-linux/void-packages/pull/52979

yosys: update to 0.47.
#### Testing the changes
- I tested the changes in this PR: **briefly**
  - Installed locally, tested that yosys reports new version.

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


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

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

From ac6b51d815e34d12d09d3a0599d597fdb030d354 Mon Sep 17 00:00:00 2001
From: Aloz1 <kno0001@gmail.com>
Date: Sun, 10 Nov 2024 12:46:43 +1100
Subject: [PATCH] yosys: update to 0.47.

- Add 'update' file for faster future updates
- Remove unneeded post_patch sed modifications
- Added new cxxopts LICENSE file
---
 srcpkgs/yosys/template | 15 +++++----------
 srcpkgs/yosys/update   |  2 ++
 2 files changed, 7 insertions(+), 10 deletions(-)
 create mode 100644 srcpkgs/yosys/update

diff --git a/srcpkgs/yosys/template b/srcpkgs/yosys/template
index 855c0a7c4e5818..8421cd56300eb6 100644
--- a/srcpkgs/yosys/template
+++ b/srcpkgs/yosys/template
@@ -1,8 +1,6 @@
 # Template file for 'yosys'
 pkgname=yosys
-# Remember to correct _gitrev on updating
-_gitrev=cc31c6e
-version=0.36
+version=0.47
 revision=1
 build_style=gnu-makefile
 make_use_env=yes
@@ -13,15 +11,11 @@ short_desc="Verilog RTL Synthesis Suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC, MIT"
 homepage="https://yosyshq.net/yosys/"
-distfiles="https://github.com/cliffordwolf/yosys/archive/yosys-${version}.tar.gz"
-checksum=d69beedcb76db80681c2a0f445046311f3ba16716d5d0c3c5034dabcb6bd9b23
+distfiles="https://github.com/YosysHQ/yosys/releases/download/${version}/yosys.tar.gz"
+checksum=76038d3de2768567007e7c31995b17c888c16da1cf571d8a24b4c524d3eddfdf
 
 post_patch() {
-	vsed -i -e 's,-I[$](PREFIX)/include,,' \
-		-e '/CXX = gcc/d' \
-		-e '/LD = gcc/d' \
-		-e "s/^GIT_REV :=.*/GIT_REV := $_gitrev/" \
-		Makefile
+	vsed -i -e 's,-I[$](PREFIX)/include,,' Makefile
 }
 
 do_configure() {
@@ -38,4 +32,5 @@ do_configure() {
 post_install() {
 	vlicense COPYING
 	vlicense libs/minisat/LICENSE
+	vlicense libs/cxxopts/LICENSE
 }
diff --git a/srcpkgs/yosys/update b/srcpkgs/yosys/update
new file mode 100644
index 00000000000000..f88b766eff2db6
--- /dev/null
+++ b/srcpkgs/yosys/update
@@ -0,0 +1,2 @@
+site="https://github.com/YosysHQ/yosys/releases"
+pattern='"/YosysHQ/yosys/tree/\K[\d.]+(?=")'

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

* Re: [PR PATCH] [Updated] yosys: update to 0.47.
  2024-11-10  2:09 [PR PATCH] yosys: update to 0.47 Aloz1
@ 2024-11-10  3:08 ` Aloz1
  2024-11-11 21:34 ` Aloz1
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Aloz1 @ 2024-11-10  3:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Aloz1/void-packages yosys-0.47
https://github.com/void-linux/void-packages/pull/52979

yosys: update to 0.47.
#### Testing the changes
- I tested the changes in this PR: **briefly**
  - Installed locally, tested that yosys reports new version.

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


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

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

From 897c24daae6ddaf37e276678f06521528c5b01ab Mon Sep 17 00:00:00 2001
From: Aloz1 <kno0001@gmail.com>
Date: Sun, 10 Nov 2024 12:46:43 +1100
Subject: [PATCH] yosys: update to 0.47.

- Add 'update' file for faster future updates
- Fix up post_patch sed modifications
- Added new cxxopts LICENSE file
---
 srcpkgs/yosys/template | 16 +++++++---------
 srcpkgs/yosys/update   |  2 ++
 2 files changed, 9 insertions(+), 9 deletions(-)
 create mode 100644 srcpkgs/yosys/update

diff --git a/srcpkgs/yosys/template b/srcpkgs/yosys/template
index 855c0a7c4e5818..69d8ade3305ca8 100644
--- a/srcpkgs/yosys/template
+++ b/srcpkgs/yosys/template
@@ -1,8 +1,6 @@
 # Template file for 'yosys'
 pkgname=yosys
-# Remember to correct _gitrev on updating
-_gitrev=cc31c6e
-version=0.36
+version=0.47
 revision=1
 build_style=gnu-makefile
 make_use_env=yes
@@ -13,14 +11,13 @@ short_desc="Verilog RTL Synthesis Suite"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC, MIT"
 homepage="https://yosyshq.net/yosys/"
-distfiles="https://github.com/cliffordwolf/yosys/archive/yosys-${version}.tar.gz"
-checksum=d69beedcb76db80681c2a0f445046311f3ba16716d5d0c3c5034dabcb6bd9b23
+distfiles="https://github.com/YosysHQ/yosys/releases/download/${version}/yosys.tar.gz"
+checksum=76038d3de2768567007e7c31995b17c888c16da1cf571d8a24b4c524d3eddfdf
 
 post_patch() {
-	vsed -i -e 's,-I[$](PREFIX)/include,,' \
-		-e '/CXX = gcc/d' \
-		-e '/LD = gcc/d' \
-		-e "s/^GIT_REV :=.*/GIT_REV := $_gitrev/" \
+	vsed -i \
+		-e 's,-I[$](PREFIX)/include,,' \
+		-e '/^CXX = g++/d' \
 		Makefile
 }
 
@@ -38,4 +35,5 @@ do_configure() {
 post_install() {
 	vlicense COPYING
 	vlicense libs/minisat/LICENSE
+	vlicense libs/cxxopts/LICENSE
 }
diff --git a/srcpkgs/yosys/update b/srcpkgs/yosys/update
new file mode 100644
index 00000000000000..f88b766eff2db6
--- /dev/null
+++ b/srcpkgs/yosys/update
@@ -0,0 +1,2 @@
+site="https://github.com/YosysHQ/yosys/releases"
+pattern='"/YosysHQ/yosys/tree/\K[\d.]+(?=")'

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

* Re: yosys: update to 0.47.
  2024-11-10  2:09 [PR PATCH] yosys: update to 0.47 Aloz1
  2024-11-10  3:08 ` [PR PATCH] [Updated] " Aloz1
@ 2024-11-11 21:34 ` Aloz1
  2024-11-11 21:35 ` Aloz1
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Aloz1 @ 2024-11-11 21:34 UTC (permalink / raw)
  To: ml

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

New comment by Aloz1 on void-packages repository

https://github.com/void-linux/void-packages/pull/52979#issuecomment-2469063783

Comment:
Had a chat with the upstream yosys devs. They strongly advised that the yosys package switch to using yosys-abc instead of berkely-abc. Hold off on merging this for now. I'll update to include a new yosys-abc package.

Thoughts on what to do with berkely-abc? yosys is the only thing that shows when querying for rdeps. Should we leave it in? Or just remove it?

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

* Re: yosys: update to 0.47.
  2024-11-10  2:09 [PR PATCH] yosys: update to 0.47 Aloz1
  2024-11-10  3:08 ` [PR PATCH] [Updated] " Aloz1
  2024-11-11 21:34 ` Aloz1
@ 2024-11-11 21:35 ` Aloz1
  2024-11-11 21:35 ` Aloz1
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Aloz1 @ 2024-11-11 21:35 UTC (permalink / raw)
  To: ml

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

New comment by Aloz1 on void-packages repository

https://github.com/void-linux/void-packages/pull/52979#issuecomment-2469063783

Comment:
Had a chat with the upstream yosys devs. They strongly advised that the yosys package switch to using yosys-abc instead of berkely-abc. Hold off on merging this for now. I'll update to include a new yosys-abc package.

Thoughts on what to do with berkely-abc? yosys is the only thing that shows in an rdeps query (xbps-query -X). Should we leave it in? Or just remove it?

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

* Re: yosys: update to 0.47.
  2024-11-10  2:09 [PR PATCH] yosys: update to 0.47 Aloz1
                   ` (2 preceding siblings ...)
  2024-11-11 21:35 ` Aloz1
@ 2024-11-11 21:35 ` Aloz1
  2024-11-28 12:45 ` Aloz1
  2024-11-30  2:11 ` [PR PATCH] [Merged]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: Aloz1 @ 2024-11-11 21:35 UTC (permalink / raw)
  To: ml

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

New comment by Aloz1 on void-packages repository

https://github.com/void-linux/void-packages/pull/52979#issuecomment-2469063783

Comment:
Had a chat with the upstream yosys devs. They strongly advised that the yosys package switch to using yosys-abc instead of berkely-abc. Hold off on merging this for now. I'll update to include a new yosys-abc package.

Thoughts on what to do with berkely-abc? yosys is the only package that depends on it (according to xbps-query -X). Should we leave it in? Or just remove it?

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

* Re: yosys: update to 0.47.
  2024-11-10  2:09 [PR PATCH] yosys: update to 0.47 Aloz1
                   ` (3 preceding siblings ...)
  2024-11-11 21:35 ` Aloz1
@ 2024-11-28 12:45 ` Aloz1
  2024-11-30  2:11 ` [PR PATCH] [Merged]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: Aloz1 @ 2024-11-28 12:45 UTC (permalink / raw)
  To: ml

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

New comment by Aloz1 on void-packages repository

https://github.com/void-linux/void-packages/pull/52979#issuecomment-2506038363

Comment:
Now that the yosys-abc / berkeley-abc branch has merged, I'm bumping this for review / merge.

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

* Re: [PR PATCH] [Merged]: yosys: update to 0.47.
  2024-11-10  2:09 [PR PATCH] yosys: update to 0.47 Aloz1
                   ` (4 preceding siblings ...)
  2024-11-28 12:45 ` Aloz1
@ 2024-11-30  2:11 ` classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2024-11-30  2:11 UTC (permalink / raw)
  To: ml

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

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

yosys: update to 0.47.
https://github.com/void-linux/void-packages/pull/52979

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**
  - Installed locally, tested that yosys reports new version.

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


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

end of thread, other threads:[~2024-11-30  2:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-10  2:09 [PR PATCH] yosys: update to 0.47 Aloz1
2024-11-10  3:08 ` [PR PATCH] [Updated] " Aloz1
2024-11-11 21:34 ` Aloz1
2024-11-11 21:35 ` Aloz1
2024-11-11 21:35 ` Aloz1
2024-11-28 12:45 ` Aloz1
2024-11-30  2:11 ` [PR PATCH] [Merged]: " classabbyamp

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