From: pfpulux <pfpulux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] nim: update to 2.0.14.
Date: Thu, 26 Dec 2024 17:19:16 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-53695@inbox.vuxu.org> (raw)
[-- 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() {
next reply other threads:[~2024-12-26 16:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-26 16:19 pfpulux [this message]
2024-12-26 17:02 ` voidisnull
2024-12-27 9:57 ` [PR PATCH] [Merged]: " Johnnynator
2025-01-05 23:01 ` inv2004
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-53695@inbox.vuxu.org \
--to=pfpulux@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).