Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] nim: update to 1.0.0
Date: Tue, 24 Sep 2019 08:02:57 +0200	[thread overview]
Message-ID: <20190924060257.iFrAUF6dgHF0mvSAscmBRdRmb1s_bB5SDcG6As7Rs6k@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14664@inbox.vuxu.org>

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

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

https://github.com/SolitudeSF/void-packages nim
https://github.com/void-linux/void-packages/pull/14664

nim: update to 1.0.0


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

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

From db9ef392ca1973b89868bcd0e2a2ae951a7072dc Mon Sep 17 00:00:00 2001
From: SolitudeSF <solitudesf@protonmail.com>
Date: Mon, 23 Sep 2019 16:11:46 +0300
Subject: [PATCH] nim: update to 1.0.0

---
 srcpkgs/nim/template | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/nim/template b/srcpkgs/nim/template
index 2f691870035..81e3d041b87 100644
--- a/srcpkgs/nim/template
+++ b/srcpkgs/nim/template
@@ -1,23 +1,23 @@
 # Template file for 'nim'
 pkgname=nim
-version=0.20.0
+version=1.0.0
 revision=1
 _cversion=0.20.0
-_nimbleversion=0.10.2
+_nimbleversion=0.11.0
 create_wrksrc=yes
 build_wrksrc=Nim-$version
 hostmakedepends="ed"
 depends="gcc"
-short_desc="The Nim programming language"
+short_desc="Nim programming language"
 maintainer="allan <mail@may.mooo.com>"
 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/archive/v${_cversion}.tar.gz>csources-${_cversion}.tar.gz
  https://github.com/nim-lang/nimble/archive/v${_nimbleversion}.tar.gz>nimble-${_nimbleversion}.tar.gz"
-checksum="53f96a92cd1a46360b1fab44720d331536bbd18993a81746e973af46fdad8fbb
+checksum="6d93d25da6b5ef4e0223acb1f1abadf06be1019a8137491ddc7c6fa030e638c3
  5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c
- ef62b38ad41f9d84b4c9206b10541f1dc7498edda16b2031d96eaa873f4f9730"
+ a31d06128f3d1014d68297aa5cd264023d202cae74746d78ba84e335af3399d2"
 
 post_extract() {
 	mv csources-$_cversion $build_wrksrc/csources
@@ -27,17 +27,17 @@ post_extract() {
 
 do_build() {
 	cd csources
-	CC=cc LD=cc CFLAGS="-Os -pipe" LDFLAGS= sh build.sh
+	case "$XBPS_TARGET_MACHINE" in
+		i686*)
+			CC=cc LD=cc CFLAGS="-Os -pipe" LDFLAGS= \
+			sh build.sh --cpu i686;;
+		*)
+			CC=cc LD=cc CFLAGS="-Os -pipe" LDFLAGS= sh build.sh;;
+	esac
 	cd ..
 
-	ed lib/wrappers/openssl.nim <<-EDIT
-		,s/versions = "(/versions = "(.46|/
-		w
-		q
-	EDIT
-
 	bin/nim c koch
-	./koch boot -d:release
+	./koch boot -d:release -d:danger
 
 	case "$XBPS_TARGET_MACHINE" in
 		aarch64*) _arch=arm64;;
@@ -62,7 +62,7 @@ do_build() {
 			w
 			q
 		EDIT
-		bin/nim c -d:release --os:linux --cpu:$_arch --listCmd compiler/nim
+		bin/nim c -d:release -d:danger --os:linux --cpu:$_arch --listCmd compiler/nim
 		for _p in \
 			dist/nimble/src/nimble \
 			tools/nimgrep \

  parent reply	other threads:[~2019-09-24  6:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-23 13:13 [PR PATCH] " voidlinux-github
2019-09-23 13:16 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-23 13:16 ` voidlinux-github
2019-09-23 14:06 ` voidlinux-github
2019-09-23 14:07 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-23 14:07 ` voidlinux-github
2019-09-23 14:19 ` voidlinux-github
2019-09-23 14:19 ` voidlinux-github
2019-09-23 14:50 ` voidlinux-github
2019-09-23 14:50 ` voidlinux-github
2019-09-23 14:59 ` voidlinux-github
2019-09-23 14:59 ` voidlinux-github
2019-09-23 23:29 ` voidlinux-github
2019-09-24  6:02 ` voidlinux-github [this message]
2019-09-24  6:02 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-24  6:04 ` voidlinux-github
2019-09-25 10:43 ` [PR PATCH] [Merged]: " voidlinux-github

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=20190924060257.iFrAUF6dgHF0mvSAscmBRdRmb1s_bB5SDcG6As7Rs6k@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).