Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] nim: update to 2.0.14.
@ 2024-12-26 16:19 pfpulux
  2024-12-26 17:02 ` voidisnull
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pfpulux @ 2024-12-26 16:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pfpulux/void-packages nim-2.0
https://github.com/void-linux/void-packages/pull/53695

nim: update to 2.0.14.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 00e1371e2f881b21854b66c1d5e40fb5d5779848 Mon Sep 17 00:00:00 2001
From: Pulux <pulux@pf4sh.eu>
Date: Thu, 26 Dec 2024 17:17:18 +0100
Subject: [PATCH] nim: update to 2.0.14.

---
 srcpkgs/nim/template | 46 +++++++++++++++++++++++++++++++-------------
 1 file changed, 33 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/nim/template b/srcpkgs/nim/template
index 05982e0642de6e..cfddf4eae8b653 100644
--- a/srcpkgs/nim/template
+++ b/srcpkgs/nim/template
@@ -1,12 +1,13 @@
 # Template file for 'nim'
 pkgname=nim
-version=2.0.10
-revision=2
+version=2.0.14
+revision=1
 _c2version=86742fb02c6606ab01a532a0085784effb2e753e
-_nimbleversion=4fb6f8e6c33963f6f510fe82d09ad2a61b5e4265
+_nimbleversion=53fc31936163c44ff12d852d6be0ce1ac9298ab4
 _checksumsversion=f8f6bd34bfa3fe12c64b919059ad856a96efcba0
-_atlasversion=37aaee20dfd957d1dca2ecdab57d36e86e3f4bde
+_atlasversion=ac81393c65767422f92d20fbea80e2cefbf9a5d1
 _satversion=faf1617f44d7632ee9601ebc13887644925dcc01
+_zippyversion=117b0cf18bebe9833ca091e3766586d7e48b182b
 build_wrksrc="Nim-$version"
 depends="gcc openssl-devel"
 short_desc="Nim programming language"
@@ -18,25 +19,44 @@ distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
  https://github.com/nim-lang/nimble/archive/${_nimbleversion}.zip
  https://github.com/nim-lang/checksums/archive/${_checksumsversion}.zip
  https://github.com/nim-lang/atlas/archive/${_atlasversion}.zip
- https://github.com/nim-lang/sat/archive/${_satversion}.zip"
-checksum="72955dc4791b5c5327624c35ce8e8c750183c20c3cfdab497e56a89ada4fc068
+ https://github.com/nim-lang/sat/archive/${_satversion}.zip
+ https://github.com/guzba/zippy/archive/${_zippyversion}.zip"
+checksum="5dd0513b6694d00f1ce07d9adfb47d2ba11c83161229e29ab960aa6cd284fc65
  9c2be306011e0c953bd63a565a4bd6a094e22d3944ca201977c1d03560d0a25c
- 3de2002b6a97ae721c6bd078a069feb6500f6ff9fc1ef12bfa6f9de84c401acd
+ 9dfac880b52dfde7a96ed2dd2de6b481e1e16cb499bacc568440486dc0d197dc
  188bd0f0eb8cedf2d1a7f700af1cd809e529533e5ded05812eecf43fbeb96137
- c8be6cfd01ba76af32dac37e5f53f12043ffeb3e38a9f5968a773f80b05052f4
- a8969e14b0f8e06c6dc5a4ae622e51b209c3e1f24361980917d96e39f3d71114"
+ 30f1982748df229c153e524ca4b7145a08b802e2dd3151ac1420bb2a14aea8e9
+ a8969e14b0f8e06c6dc5a4ae622e51b209c3e1f24361980917d96e39f3d71114
+ a479f7759312c4257804e21633b3f55197767d7e9227c868a6a14f8c84170f46"
 
 post_extract() {
 	mv csources_v2-$_c2version $build_wrksrc/csources_v2
 	mkdir $build_wrksrc/dist
 	mv nimble-$_nimbleversion $build_wrksrc/dist/nimble
 	mv checksums-$_checksumsversion $build_wrksrc/dist/checksums
-	mkdir -p $build_wrksrc/dist/nimble/dist
-	cp -r $build_wrksrc/dist/checksums $build_wrksrc/dist/nimble/dist/checksums
-	cp -r sat-$_satversion $build_wrksrc/dist/nimble/dist/sat
+	mv sat-$_satversion $build_wrksrc/dist/sat
+	mv zippy-$_zippyversion $build_wrksrc/dist/zippy
+	mkdir -p $build_wrksrc/dist/nimble/dist/checksums
+	cp -r $build_wrksrc/dist/checksums $build_wrksrc/dist/nimble/dist
+	mkdir -p $build_wrksrc/dist/nimble/dist/sat
+	cp -r $build_wrksrc/dist/sat $build_wrksrc/dist/nimble/dist
+	mkdir -p $build_wrksrc/dist/nimble/dist/zippy
+	cp -r $build_wrksrc/dist/zippy $build_wrksrc/dist/nimble/dist
+	cp -r $build_wrksrc/dist/nimble/dist/sat/src/sat $build_wrksrc/dist/nimble/src
+	mkdir -p $build_wrksrc/dist/nimble/src/nimblepkg/pkg
+	sed -i -e "s|^import pkg/checksums/sha1.*|import chks/sha1|" $build_wrksrc/dist/nimble/src/nimblepkg/sha1hashes.nim
+	sed -i -e "s|^import pkg/checksums/sha1.*|import chks/sha1|" $build_wrksrc/dist/nimble/src/nimblepkg/checksums.nim
+	cp -r $build_wrksrc/dist/nimble/dist/checksums/src/checksums $build_wrksrc/dist/nimble/src/nimblepkg/chks
+	cp -r $build_wrksrc/dist/nimble/dist/sat/src/sat $build_wrksrc/dist/nimble/src/nimblepkg
+	mkdir -p $build_wrksrc/dist/nimble/src/nimblepkg/zippy
+	cp -r $build_wrksrc/dist/nimble/dist/zippy/src/zippy $build_wrksrc/dist/nimble/src/nimblepkg
+	cp $build_wrksrc/dist/nimble/dist/zippy/src/zippy.nim $build_wrksrc/dist/nimble/src/nimblepkg
+	sed -i -e "s| zippy$| ../zippy|" $build_wrksrc/dist/nimble/src/nimblepkg/zippy/tarballs_v1.nim
+	sed -i -e "s| zippy$| ../zippy|" $build_wrksrc/dist/nimble/src/nimblepkg/zippy/ziparchives_v1.nim
+	sed -i -e "s| zippy, | ../zippy, |" $build_wrksrc/dist/nimble/src/nimblepkg/zippy/ziparchives.nim
 	mv atlas-$_atlasversion $build_wrksrc/dist/atlas
 	mkdir -p $build_wrksrc/dist/atlas/dist
-	cp -r sat-$_satversion $build_wrksrc/dist/atlas/dist/sat
+	cp -r $build_wrksrc/dist/nimble/dist/sat $build_wrksrc/dist/atlas/dist/sat
 }
 
 do_build() {

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

* Re: nim: update to 2.0.14.
  2024-12-26 16:19 [PR PATCH] nim: update to 2.0.14 pfpulux
@ 2024-12-26 17:02 ` voidisnull
  2024-12-27  9:57 ` [PR PATCH] [Merged]: " Johnnynator
  2025-01-05 23:01 ` inv2004
  2 siblings, 0 replies; 4+ messages in thread
From: voidisnull @ 2024-12-26 17:02 UTC (permalink / raw)
  To: ml

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

New comment by voidisnull on void-packages repository

https://github.com/void-linux/void-packages/pull/53695#issuecomment-2562955023

Comment:
Does this supersede #53192 and #52869 ??


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

* Re: [PR PATCH] [Merged]: nim: update to 2.0.14.
  2024-12-26 16:19 [PR PATCH] nim: update to 2.0.14 pfpulux
  2024-12-26 17:02 ` voidisnull
@ 2024-12-27  9:57 ` Johnnynator
  2025-01-05 23:01 ` inv2004
  2 siblings, 0 replies; 4+ messages in thread
From: Johnnynator @ 2024-12-27  9:57 UTC (permalink / raw)
  To: ml

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

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

nim: update to 2.0.14.
https://github.com/void-linux/void-packages/pull/53695

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

* Re: nim: update to 2.0.14.
  2024-12-26 16:19 [PR PATCH] nim: update to 2.0.14 pfpulux
  2024-12-26 17:02 ` voidisnull
  2024-12-27  9:57 ` [PR PATCH] [Merged]: " Johnnynator
@ 2025-01-05 23:01 ` inv2004
  2 siblings, 0 replies; 4+ messages in thread
From: inv2004 @ 2025-01-05 23:01 UTC (permalink / raw)
  To: ml

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

New comment by inv2004 on void-packages repository

https://github.com/void-linux/void-packages/pull/53695#issuecomment-2571780371

Comment:
@voidisnull
https://github.com/void-linux/void-packages/pull/53192 - No
https://github.com/void-linux/void-packages/pull/52869 - Yes


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

end of thread, other threads:[~2025-01-05 23:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-26 16:19 [PR PATCH] nim: update to 2.0.14 pfpulux
2024-12-26 17:02 ` voidisnull
2024-12-27  9:57 ` [PR PATCH] [Merged]: " Johnnynator
2025-01-05 23:01 ` inv2004

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