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
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ 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] 5+ messages in thread

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

Thread overview: 5+ 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

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