* [PR PATCH] nim: update to 2.0.0.
@ 2023-09-16 4:48 pfpulux
2023-09-16 8:10 ` Bnyro
` (6 more replies)
0 siblings, 7 replies; 13+ messages in thread
From: pfpulux @ 2023-09-16 4:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1229 bytes --]
There is a new pull request by pfpulux against master on the void-packages repository
https://github.com/pfpulux/void-packages nim
https://github.com/void-linux/void-packages/pull/46078
nim: update to 2.0.0.
<!-- 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/46078.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nim-46078.patch --]
[-- Type: text/x-diff, Size: 3201 bytes --]
From 45763e790e7352126f234a043614d27ca91165ca Mon Sep 17 00:00:00 2001
From: Pulux <pulux@pf4sh.eu>
Date: Sat, 16 Sep 2023 06:46:32 +0200
Subject: [PATCH] nim: update to 2.0.0.
---
srcpkgs/nim/template | 36 +++++++++++++++++++++++-------------
1 file changed, 23 insertions(+), 13 deletions(-)
diff --git a/srcpkgs/nim/template b/srcpkgs/nim/template
index 175dcbaea8439..e68f15cec7c22 100644
--- a/srcpkgs/nim/template
+++ b/srcpkgs/nim/template
@@ -1,39 +1,49 @@
# Template file for 'nim'
pkgname=nim
-version=1.6.14
+version=2.0.0
revision=1
-_c1version=561b417c65791cd8356b5f73620914ceff845d10
-_nimbleversion=0.13.1
+_c2version=86742fb02c6606ab01a532a0085784effb2e753e
+_nimbleversion=0.14.2
+_checks=025bcca3915a1b9f19878cea12ad68f9884648fc
+_atlas=a05479b160a96985ba45f95e09fb81c7b2b759dc
build_wrksrc="Nim-$version"
depends="gcc openssl-devel"
short_desc="Nim programming language"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Pulux <pulux@pf4sh.eu>"
license="MIT"
homepage="https://nim-lang.org/"
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
- https://github.com/nim-lang/csources_v1/archive/${_c1version}.tar.gz>csources_v1-${_c1version}.tar.gz
- https://github.com/nim-lang/nimble/archive/v${_nimbleversion}.tar.gz>nimble-${_nimbleversion}.tar.gz"
-checksum="0a31586a6194545be2cfb159189d0f39c8ced2ec134119f3d517dcada9b4aeea
- 71c823444c794a12da9027d19d6a717dd7759521ecbbe28190b08372142607ec
- e6aa8d9ee4b3ed0321dca329b4a38fa546771b9729984482fb50fe73d3777f5d"
+ https://github.com/nim-lang/csources_v2/archive/${_c2version}.tar.gz>csources_v2-${_c2version}.tar.gz
+ https://github.com/nim-lang/nimble/archive/v${_nimbleversion}.tar.gz>nimble-${_nimbleversion}.tar.gz
+ https://github.com/nim-lang/checksums/archive/${_checks}.tar.gz>checksums-${_checks}.tar.gz
+ https://github.com/nim-lang/atlas/archive/${_atlas}.tar.gz>atlas-${_atlas}.tar.gz"
+checksum="2d33e3a75fe6d26726de432eb236657b3eadef5727e9c08101a91e06cb0c2dc5
+ 9c2be306011e0c953bd63a565a4bd6a094e22d3944ca201977c1d03560d0a25c
+ d94f11c592d49aed6c5a492289f187010eb8c103b2b653252763d2f65a82abac
+ ac41ed42dab14f9c229c29e59283e044b62ab415b4e827ef5517a0b0a307c8b2
+ 0a82424d0ac903133eb2e9dea9d7833906337940719e434e3c737e665e1957c0"
post_extract() {
- mv csources_v1-$_c1version $build_wrksrc/csources_v1
+ mv csources_v2-$_c2version $build_wrksrc/csources_v2
mkdir $build_wrksrc/dist
mv nimble-$_nimbleversion $build_wrksrc/dist/nimble
+ mv checksums-$_checks $build_wrksrc/dist/checksums
+ mkdir $build_wrksrc/dist/nimble/dist
+ cp -r $build_wrksrc/dist/checksums $build_wrksrc/dist/nimble/dist/checksums
+ mv atlas-$_atlas $build_wrksrc/dist/atlas
}
do_build() {
case "$XBPS_TARGET_MACHINE" in
i686*)
CC=cc LD=cc CFLAGS="-Os -pipe" LDFLAGS= \
- make -C csources_v1 ucpu=i686 ${makejobs};;
+ make -C csources_v2 ucpu=i686 ${makejobs};;
ppc|ppc-musl)
CC=cc LD=cc CFLAGS="-Os -pipe" LDFLAGS= \
- make -C csources_v1 ucpu=powerpc ${makejobs};;
+ make -C csources_v2 ucpu=powerpc ${makejobs};;
*)
CC=cc LD=cc CFLAGS="-Os -pipe" LDFLAGS= \
- make -C csources_v1 ${makejobs};;
+ make -C csources_v2 ${makejobs};;
esac
bin/nim c koch
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: nim: update to 2.0.0.
2023-09-16 4:48 [PR PATCH] nim: update to 2.0.0 pfpulux
@ 2023-09-16 8:10 ` Bnyro
2023-09-16 12:06 ` IcedQuinn
` (5 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Bnyro @ 2023-09-16 8:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 159 bytes --]
New comment by Bnyro on void-packages repository
https://github.com/void-linux/void-packages/pull/46078#issuecomment-1722172383
Comment:
Duplicate of #45627
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: nim: update to 2.0.0.
2023-09-16 4:48 [PR PATCH] nim: update to 2.0.0 pfpulux
2023-09-16 8:10 ` Bnyro
@ 2023-09-16 12:06 ` IcedQuinn
2023-09-16 15:25 ` [PR PATCH] [Updated] " pfpulux
` (4 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: IcedQuinn @ 2023-09-16 12:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 212 bytes --]
New comment by IcedQuinn on void-packages repository
https://github.com/void-linux/void-packages/pull/46078#issuecomment-1722215935
Comment:
seems there are quite a few of us nim developers on void :laughing:
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] nim: update to 2.0.0.
2023-09-16 4:48 [PR PATCH] nim: update to 2.0.0 pfpulux
2023-09-16 8:10 ` Bnyro
2023-09-16 12:06 ` IcedQuinn
@ 2023-09-16 15:25 ` pfpulux
2023-09-16 15:30 ` pfpulux
` (3 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: pfpulux @ 2023-09-16 15:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1234 bytes --]
There is an updated pull request by pfpulux against master on the void-packages repository
https://github.com/pfpulux/void-packages nim
https://github.com/void-linux/void-packages/pull/46078
nim: update to 2.0.0.
<!-- 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/46078.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nim-46078.patch --]
[-- Type: text/x-diff, Size: 3576 bytes --]
From 17d13545938eb6f57197eddbc749de3cebf087e3 Mon Sep 17 00:00:00 2001
From: Pulux <pulux@pf4sh.eu>
Date: Sat, 16 Sep 2023 06:46:32 +0200
Subject: [PATCH] nim: update to 2.0.0.
---
srcpkgs/nim/template | 38 ++++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 14 deletions(-)
diff --git a/srcpkgs/nim/template b/srcpkgs/nim/template
index 175dcbaea8439..58bde1987d41b 100644
--- a/srcpkgs/nim/template
+++ b/srcpkgs/nim/template
@@ -1,39 +1,49 @@
# Template file for 'nim'
pkgname=nim
-version=1.6.14
+version=2.0.0
revision=1
-_c1version=561b417c65791cd8356b5f73620914ceff845d10
-_nimbleversion=0.13.1
+_c2version=86742fb02c6606ab01a532a0085784effb2e753e
+_nimbleversion=0.14.2
+_checks=025bcca3915a1b9f19878cea12ad68f9884648fc
+_atlas=a05479b160a96985ba45f95e09fb81c7b2b759dc
build_wrksrc="Nim-$version"
depends="gcc openssl-devel"
short_desc="Nim programming language"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Pulux <pulux@pf4sh.eu>"
license="MIT"
homepage="https://nim-lang.org/"
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
- https://github.com/nim-lang/csources_v1/archive/${_c1version}.tar.gz>csources_v1-${_c1version}.tar.gz
- https://github.com/nim-lang/nimble/archive/v${_nimbleversion}.tar.gz>nimble-${_nimbleversion}.tar.gz"
-checksum="0a31586a6194545be2cfb159189d0f39c8ced2ec134119f3d517dcada9b4aeea
- 71c823444c794a12da9027d19d6a717dd7759521ecbbe28190b08372142607ec
- e6aa8d9ee4b3ed0321dca329b4a38fa546771b9729984482fb50fe73d3777f5d"
+ https://github.com/nim-lang/csources_v2/archive/${_c2version}.tar.gz>csources_v2-${_c2version}.tar.gz
+ https://github.com/nim-lang/nimble/archive/v${_nimbleversion}.tar.gz>nimble-${_nimbleversion}.tar.gz
+ https://github.com/nim-lang/checksums/archive/${_checks}.tar.gz>checksums-${_checks}.tar.gz
+ https://github.com/nim-lang/atlas/archive/${_atlas}.tar.gz>atlas-${_atlas}.tar.gz"
+checksum="2d33e3a75fe6d26726de432eb236657b3eadef5727e9c08101a91e06cb0c2dc5
+ 9c2be306011e0c953bd63a565a4bd6a094e22d3944ca201977c1d03560d0a25c
+ d94f11c592d49aed6c5a492289f187010eb8c103b2b653252763d2f65a82abac
+ ac41ed42dab14f9c229c29e59283e044b62ab415b4e827ef5517a0b0a307c8b2
+ 0a82424d0ac903133eb2e9dea9d7833906337940719e434e3c737e665e1957c0"
post_extract() {
- mv csources_v1-$_c1version $build_wrksrc/csources_v1
+ mv csources_v2-$_c2version $build_wrksrc/csources_v2
mkdir $build_wrksrc/dist
mv nimble-$_nimbleversion $build_wrksrc/dist/nimble
+ mv checksums-$_checks $build_wrksrc/dist/checksums
+ mkdir $build_wrksrc/dist/nimble/dist
+ cp -r $build_wrksrc/dist/checksums $build_wrksrc/dist/nimble/dist/checksums
+ mv atlas-$_atlas $build_wrksrc/dist/atlas
}
do_build() {
case "$XBPS_TARGET_MACHINE" in
i686*)
CC=cc LD=cc CFLAGS="-Os -pipe" LDFLAGS= \
- make -C csources_v1 ucpu=i686 ${makejobs};;
+ make -C csources_v2 ucpu=i686 ${makejobs};;
ppc|ppc-musl)
CC=cc LD=cc CFLAGS="-Os -pipe" LDFLAGS= \
- make -C csources_v1 ucpu=powerpc ${makejobs};;
+ make -C csources_v2 ucpu=powerpc ${makejobs};;
*)
CC=cc LD=cc CFLAGS="-Os -pipe" LDFLAGS= \
- make -C csources_v1 ${makejobs};;
+ make -C csources_v2 ${makejobs};;
esac
bin/nim c koch
@@ -73,7 +83,7 @@ do_install() {
vmkdir usr/bin
vmkdir usr/share/nim
ln -sf /usr/lib/nim/bin/nim ${DESTDIR}/usr/bin/nim
- for _f in nimble nimsuggest nimgrep nimpretty testament; do
+ for _f in nimble nimsuggest nimgrep nimpretty testament atlas; do
chmod 0755 bin/$_f
cp bin/$_f ${DESTDIR}/usr/lib/nim/bin
ln -sf /usr/lib/nim/bin/$_f ${DESTDIR}/usr/bin/$_f
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: nim: update to 2.0.0.
2023-09-16 4:48 [PR PATCH] nim: update to 2.0.0 pfpulux
` (2 preceding siblings ...)
2023-09-16 15:25 ` [PR PATCH] [Updated] " pfpulux
@ 2023-09-16 15:30 ` pfpulux
2023-09-16 17:04 ` pfpulux
` (2 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: pfpulux @ 2023-09-16 15:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 223 bytes --]
New comment by pfpulux on void-packages repository
https://github.com/void-linux/void-packages/pull/46078#issuecomment-1722254151
Comment:
What about a new package `nim2`?. I'm not happy with the additional hash sources.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: nim: update to 2.0.0.
2023-09-16 4:48 [PR PATCH] nim: update to 2.0.0 pfpulux
` (3 preceding siblings ...)
2023-09-16 15:30 ` pfpulux
@ 2023-09-16 17:04 ` pfpulux
2023-09-16 17:04 ` [PR PATCH] [Closed]: " pfpulux
2023-09-17 6:45 ` IcedQuinn
6 siblings, 0 replies; 13+ messages in thread
From: pfpulux @ 2023-09-16 17:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
New comment by pfpulux on void-packages repository
https://github.com/void-linux/void-packages/pull/46078#issuecomment-1722271938
Comment:
tar.gz should be used in #45627
close for now
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Closed]: nim: update to 2.0.0.
2023-09-16 4:48 [PR PATCH] nim: update to 2.0.0 pfpulux
` (4 preceding siblings ...)
2023-09-16 17:04 ` pfpulux
@ 2023-09-16 17:04 ` pfpulux
2023-09-17 6:45 ` IcedQuinn
6 siblings, 0 replies; 13+ messages in thread
From: pfpulux @ 2023-09-16 17:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]
There's a closed pull request on the void-packages repository
nim: update to 2.0.0.
https://github.com/void-linux/void-packages/pull/46078
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] 13+ messages in thread
* Re: nim: update to 2.0.0.
2023-09-16 4:48 [PR PATCH] nim: update to 2.0.0 pfpulux
` (5 preceding siblings ...)
2023-09-16 17:04 ` [PR PATCH] [Closed]: " pfpulux
@ 2023-09-17 6:45 ` IcedQuinn
6 siblings, 0 replies; 13+ messages in thread
From: IcedQuinn @ 2023-09-17 6:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 384 bytes --]
New comment by IcedQuinn on void-packages repository
https://github.com/void-linux/void-packages/pull/46078#issuecomment-1722407698
Comment:
> What about a new package `nim2`?. I'm not happy with the additional hash sources.
I have opened a ticket upstream that the release tarballs should be all-containing, so we would not need them. They do not consider it a priority at all.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: nim: update to 2.0.0
2023-08-17 0:10 [PR PATCH] " IcedQuinn
` (3 preceding siblings ...)
2023-09-17 6:47 ` IcedQuinn
@ 2023-09-22 23:55 ` IcedQuinn
4 siblings, 0 replies; 13+ messages in thread
From: IcedQuinn @ 2023-09-22 23:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
New comment by IcedQuinn on void-packages repository
https://github.com/void-linux/void-packages/pull/45627#issuecomment-1732134670
Comment:
time for the fri-daily signs of life update :wave:
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: nim: update to 2.0.0
2023-08-17 0:10 [PR PATCH] " IcedQuinn
` (2 preceding siblings ...)
2023-09-12 20:54 ` IcedQuinn
@ 2023-09-17 6:47 ` IcedQuinn
2023-09-22 23:55 ` IcedQuinn
4 siblings, 0 replies; 13+ messages in thread
From: IcedQuinn @ 2023-09-17 6:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
New comment by IcedQuinn on void-packages repository
https://github.com/void-linux/void-packages/pull/45627#issuecomment-1722408007
Comment:
updated to appease #46078
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: nim: update to 2.0.0
2023-08-17 0:10 [PR PATCH] " IcedQuinn
2023-08-17 7:57 ` icp1994
2023-09-03 18:54 ` IcedQuinn
@ 2023-09-12 20:54 ` IcedQuinn
2023-09-17 6:47 ` IcedQuinn
2023-09-22 23:55 ` IcedQuinn
4 siblings, 0 replies; 13+ messages in thread
From: IcedQuinn @ 2023-09-12 20:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 151 bytes --]
New comment by IcedQuinn on void-packages repository
https://github.com/void-linux/void-packages/pull/45627#issuecomment-1716417419
Comment:
:eyes:
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: nim: update to 2.0.0
2023-08-17 0:10 [PR PATCH] " IcedQuinn
2023-08-17 7:57 ` icp1994
@ 2023-09-03 18:54 ` IcedQuinn
2023-09-12 20:54 ` IcedQuinn
` (2 subsequent siblings)
4 siblings, 0 replies; 13+ messages in thread
From: IcedQuinn @ 2023-09-03 18:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 209 bytes --]
New comment by IcedQuinn on void-packages repository
https://github.com/void-linux/void-packages/pull/45627#issuecomment-1704374960
Comment:
is there some kind of issue i need to resolve to move this along?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: nim: update to 2.0.0
2023-08-17 0:10 [PR PATCH] " IcedQuinn
@ 2023-08-17 7:57 ` icp1994
2023-09-03 18:54 ` IcedQuinn
` (3 subsequent siblings)
4 siblings, 0 replies; 13+ messages in thread
From: icp1994 @ 2023-08-17 7:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
New comment by icp1994 on void-packages repository
https://github.com/void-linux/void-packages/pull/45627#issuecomment-1681816040
Comment:
https://github.com/void-linux/void-packages/pull/45597
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2023-09-22 23:55 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-16 4:48 [PR PATCH] nim: update to 2.0.0 pfpulux
2023-09-16 8:10 ` Bnyro
2023-09-16 12:06 ` IcedQuinn
2023-09-16 15:25 ` [PR PATCH] [Updated] " pfpulux
2023-09-16 15:30 ` pfpulux
2023-09-16 17:04 ` pfpulux
2023-09-16 17:04 ` [PR PATCH] [Closed]: " pfpulux
2023-09-17 6:45 ` IcedQuinn
-- strict thread matches above, loose matches on Subject: below --
2023-08-17 0:10 [PR PATCH] " IcedQuinn
2023-08-17 7:57 ` icp1994
2023-09-03 18:54 ` IcedQuinn
2023-09-12 20:54 ` IcedQuinn
2023-09-17 6:47 ` IcedQuinn
2023-09-22 23:55 ` IcedQuinn
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).