* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2016-07-28 20:40 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2016-07-28 20:40 UTC (permalink / raw
To: gentoo-commits
commit: 8c46ca63853a3da95a58f5488130294ee0f1c8a0
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 20:39:33 2016 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 20:39:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c46ca63
dev-lang/nim: new package, bug #535938 by Stefan Talpalaru
Compiled via C statically typed modern language.
This ebuild is a slightly regreshed version written
by Stefan Talpalaru.
Bug: https://bugs.gentoo.org/535938
Package-Manager: portage-2.3.0
dev-lang/nim/Manifest | 1 +
dev-lang/nim/metadata.xml | 11 +++++++++
dev-lang/nim/nim-0.14.2.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 67 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
new file mode 100644
index 0000000..651229b
--- /dev/null
+++ b/dev-lang/nim/Manifest
@@ -0,0 +1 @@
+DIST nim-0.14.2.tar.xz 4778444 SHA256 8f8d38d70ed57164795fc55e19de4c11488fcd31dbe42094e44a92a23e3f5e92 SHA512 34afd07fafd066f6b4acc423c21e1cc275dce00f575d01f0d1edc147946930cf13c772abe0c4a081e2e0091ad41f6ae5cead20cc4d9a7cb3bc628ad7469f6459 WHIRLPOOL 7109f28fd8e0e83a386e9a26b46a3fbb2ad9cc0c8736107fe7eb573c301768d0c3d149407657478431f8107a539cb18bb6db5ce0e0de6e96e25769dfec43a2df
diff --git a/dev-lang/nim/metadata.xml b/dev-lang/nim/metadata.xml
new file mode 100644
index 0000000..b7796e3
--- /dev/null
+++ b/dev-lang/nim/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>slyfox@gentoo.org</email>
+ <name>Sergei Trofimovich</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">nim-lang/Nim</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-lang/nim/nim-0.14.2.ebuild b/dev-lang/nim/nim-0.14.2.ebuild
new file mode 100644
index 0000000..005344b
--- /dev/null
+++ b/dev-lang/nim/nim-0.14.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+MY_PN=Nim
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="http://nim-lang.org/"
+SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +readline test"
+
+DEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+RDEPEND="${DEPEND}"
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ ./build.sh || die "build.sh failed"
+
+ ./bin/nim c koch || die "csources nim failed"
+ ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
+
+ if use doc; then
+ PATH="./bin:$PATH" ./koch web || die "koch web failed"
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" ./koch test || die "test suire failed"
+}
+
+src_install() {
+ ./koch install "${D}/usr" || die "koch install failed"
+ rm -r "${D}/usr/nim/doc"
+
+ dodir /usr/bin
+ dosym ../nim/bin/nim /usr/bin/nim
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/*.html
+ fi
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2016-07-28 20:42 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2016-07-28 20:42 UTC (permalink / raw
To: gentoo-commits
commit: 972b4ef38f90bf918ef1efa7187625a23bf39998
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 20:42:45 2016 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 20:42:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=972b4ef3
dev-lang/nim: s/suire/suite/ in 'die' message
Package-Manager: portage-2.3.0
dev-lang/nim/nim-0.14.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/nim/nim-0.14.2.ebuild b/dev-lang/nim/nim-0.14.2.ebuild
index 005344b..1e4b185 100644
--- a/dev-lang/nim/nim-0.14.2.ebuild
+++ b/dev-lang/nim/nim-0.14.2.ebuild
@@ -38,7 +38,7 @@ src_compile() {
}
src_test() {
- PATH="./bin:$PATH" ./koch test || die "test suire failed"
+ PATH="./bin:$PATH" ./koch test || die "test suite failed"
}
src_install() {
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2016-10-01 9:25 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2016-10-01 9:25 UTC (permalink / raw
To: gentoo-commits
commit: 8fbc13acfcf33da52bbb83ef65e2f7eb7729e52b
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 1 09:25:02 2016 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Oct 1 09:25:24 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbc13ac
dev-lang/nim: bump up to 0.15.0
Package-Manager: portage-2.3.1
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-0.15.0.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 651229b..33bc541 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-0.14.2.tar.xz 4778444 SHA256 8f8d38d70ed57164795fc55e19de4c11488fcd31dbe42094e44a92a23e3f5e92 SHA512 34afd07fafd066f6b4acc423c21e1cc275dce00f575d01f0d1edc147946930cf13c772abe0c4a081e2e0091ad41f6ae5cead20cc4d9a7cb3bc628ad7469f6459 WHIRLPOOL 7109f28fd8e0e83a386e9a26b46a3fbb2ad9cc0c8736107fe7eb573c301768d0c3d149407657478431f8107a539cb18bb6db5ce0e0de6e96e25769dfec43a2df
+DIST nim-0.15.0.tar.xz 3786260 SHA256 c514535050b2b2156147bbe6e23aafe07cd996b2afa2c81fa9a09e1cd8c669fb SHA512 b115ed08e888a1a92fca601ca5580815ed7c1e8baf158a4bc6d351933f99a06fb4725983feae2fded50ce46c46c5b3ca6485671e66eb71962dc2a2956bc83fd8 WHIRLPOOL 15312851dbeda771dfa6f9a061d6a8358e847668efba2a31f8506c4b9398bd96d02d587c55bab0955714d6894877c3cbf7be9625e4802ca17a150c678b5b245a
diff --git a/dev-lang/nim/nim-0.15.0.ebuild b/dev-lang/nim/nim-0.15.0.ebuild
new file mode 100644
index 00000000..1e4b185
--- /dev/null
+++ b/dev-lang/nim/nim-0.15.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+MY_PN=Nim
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="http://nim-lang.org/"
+SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +readline test"
+
+DEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+RDEPEND="${DEPEND}"
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ ./build.sh || die "build.sh failed"
+
+ ./bin/nim c koch || die "csources nim failed"
+ ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
+
+ if use doc; then
+ PATH="./bin:$PATH" ./koch web || die "koch web failed"
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" ./koch test || die "test suite failed"
+}
+
+src_install() {
+ ./koch install "${D}/usr" || die "koch install failed"
+ rm -r "${D}/usr/nim/doc"
+
+ dodir /usr/bin
+ dosym ../nim/bin/nim /usr/bin/nim
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/*.html
+ fi
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2016-10-24 21:13 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2016-10-24 21:13 UTC (permalink / raw
To: gentoo-commits
commit: 97f9114bd814164ec95434e59d3c5b8ff1d27ec6
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 24 21:12:45 2016 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Oct 24 21:13:37 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97f9114b
dev-lang/nim: bump up to 0.15.2
Package-Manager: portage-2.3.2
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-0.15.2.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 33bc541..ced7ca1 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1,3 @@
DIST nim-0.14.2.tar.xz 4778444 SHA256 8f8d38d70ed57164795fc55e19de4c11488fcd31dbe42094e44a92a23e3f5e92 SHA512 34afd07fafd066f6b4acc423c21e1cc275dce00f575d01f0d1edc147946930cf13c772abe0c4a081e2e0091ad41f6ae5cead20cc4d9a7cb3bc628ad7469f6459 WHIRLPOOL 7109f28fd8e0e83a386e9a26b46a3fbb2ad9cc0c8736107fe7eb573c301768d0c3d149407657478431f8107a539cb18bb6db5ce0e0de6e96e25769dfec43a2df
DIST nim-0.15.0.tar.xz 3786260 SHA256 c514535050b2b2156147bbe6e23aafe07cd996b2afa2c81fa9a09e1cd8c669fb SHA512 b115ed08e888a1a92fca601ca5580815ed7c1e8baf158a4bc6d351933f99a06fb4725983feae2fded50ce46c46c5b3ca6485671e66eb71962dc2a2956bc83fd8 WHIRLPOOL 15312851dbeda771dfa6f9a061d6a8358e847668efba2a31f8506c4b9398bd96d02d587c55bab0955714d6894877c3cbf7be9625e4802ca17a150c678b5b245a
+DIST nim-0.15.2.tar.xz 3251764 SHA256 905df2316262aa2cbacae067acf45fc05c2a71c8c6fde1f2a70c927ebafcfe8a SHA512 708bcb5e4defed46982eff6434e9a54505d744e65336129f0fadc187ec3e6d538974b67ad1d0305e7d55e33582bfaa87c52224335d169517714a9f07b533eda6 WHIRLPOOL fae86470d350aca4c65fcdc73a02a3f94eb288642a7294374581eb0e3bc3cc5e92d0bc48a2daec16fee54a1376722289886f7438fbf13b8645305f38d26ab902
diff --git a/dev-lang/nim/nim-0.15.2.ebuild b/dev-lang/nim/nim-0.15.2.ebuild
new file mode 100644
index 00000000..1e4b185
--- /dev/null
+++ b/dev-lang/nim/nim-0.15.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+MY_PN=Nim
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="http://nim-lang.org/"
+SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +readline test"
+
+DEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+RDEPEND="${DEPEND}"
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ ./build.sh || die "build.sh failed"
+
+ ./bin/nim c koch || die "csources nim failed"
+ ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
+
+ if use doc; then
+ PATH="./bin:$PATH" ./koch web || die "koch web failed"
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" ./koch test || die "test suite failed"
+}
+
+src_install() {
+ ./koch install "${D}/usr" || die "koch install failed"
+ rm -r "${D}/usr/nim/doc"
+
+ dodir /usr/bin
+ dosym ../nim/bin/nim /usr/bin/nim
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/*.html
+ fi
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2016-10-24 21:33 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2016-10-24 21:33 UTC (permalink / raw
To: gentoo-commits
commit: db25119bb63114b8d80c260aab7e1a8683bc172b
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 24 21:32:42 2016 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Oct 24 21:33:11 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db25119b
dev-lang/nim: added missing '|| die' in rm call
Noticed by Soap__.
Package-Manager: portage-2.3.2
dev-lang/nim/nim-0.14.2.ebuild | 2 +-
dev-lang/nim/nim-0.15.0-r1.ebuild | 2 +-
dev-lang/nim/nim-0.15.2.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-lang/nim/nim-0.14.2.ebuild b/dev-lang/nim/nim-0.14.2.ebuild
index 1e4b185..42f421e 100644
--- a/dev-lang/nim/nim-0.14.2.ebuild
+++ b/dev-lang/nim/nim-0.14.2.ebuild
@@ -43,7 +43,7 @@ src_test() {
src_install() {
./koch install "${D}/usr" || die "koch install failed"
- rm -r "${D}/usr/nim/doc"
+ rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
dodir /usr/bin
dosym ../nim/bin/nim /usr/bin/nim
diff --git a/dev-lang/nim/nim-0.15.0-r1.ebuild b/dev-lang/nim/nim-0.15.0-r1.ebuild
index 092c19f..b3fe865 100644
--- a/dev-lang/nim/nim-0.15.0-r1.ebuild
+++ b/dev-lang/nim/nim-0.15.0-r1.ebuild
@@ -45,7 +45,7 @@ src_test() {
src_install() {
./koch install "${D}/usr" || die "koch install failed"
- rm -r "${D}/usr/nim/doc"
+ rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
dodir /usr/bin
dosym ../nim/bin/nim /usr/bin/nim
diff --git a/dev-lang/nim/nim-0.15.2.ebuild b/dev-lang/nim/nim-0.15.2.ebuild
index 1e4b185..42f421e 100644
--- a/dev-lang/nim/nim-0.15.2.ebuild
+++ b/dev-lang/nim/nim-0.15.2.ebuild
@@ -43,7 +43,7 @@ src_test() {
src_install() {
./koch install "${D}/usr" || die "koch install failed"
- rm -r "${D}/usr/nim/doc"
+ rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
dodir /usr/bin
dosym ../nim/bin/nim /usr/bin/nim
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2017-01-11 6:09 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2017-01-11 6:09 UTC (permalink / raw
To: gentoo-commits
commit: 9fdc99088d764f5603b888ea24796824431b3bb1
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 11 06:08:59 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jan 11 06:09:14 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fdc9908
dev-lang/nim: bump up to 0.16.0
Reported-by: Alex Acevedo
Package-Manager: Portage-2.3.3_p17, Repoman-2.3.1_p10
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-0.16.0.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index ced7ca1..5296752 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,3 +1,4 @@
DIST nim-0.14.2.tar.xz 4778444 SHA256 8f8d38d70ed57164795fc55e19de4c11488fcd31dbe42094e44a92a23e3f5e92 SHA512 34afd07fafd066f6b4acc423c21e1cc275dce00f575d01f0d1edc147946930cf13c772abe0c4a081e2e0091ad41f6ae5cead20cc4d9a7cb3bc628ad7469f6459 WHIRLPOOL 7109f28fd8e0e83a386e9a26b46a3fbb2ad9cc0c8736107fe7eb573c301768d0c3d149407657478431f8107a539cb18bb6db5ce0e0de6e96e25769dfec43a2df
DIST nim-0.15.0.tar.xz 3786260 SHA256 c514535050b2b2156147bbe6e23aafe07cd996b2afa2c81fa9a09e1cd8c669fb SHA512 b115ed08e888a1a92fca601ca5580815ed7c1e8baf158a4bc6d351933f99a06fb4725983feae2fded50ce46c46c5b3ca6485671e66eb71962dc2a2956bc83fd8 WHIRLPOOL 15312851dbeda771dfa6f9a061d6a8358e847668efba2a31f8506c4b9398bd96d02d587c55bab0955714d6894877c3cbf7be9625e4802ca17a150c678b5b245a
DIST nim-0.15.2.tar.xz 3251764 SHA256 905df2316262aa2cbacae067acf45fc05c2a71c8c6fde1f2a70c927ebafcfe8a SHA512 708bcb5e4defed46982eff6434e9a54505d744e65336129f0fadc187ec3e6d538974b67ad1d0305e7d55e33582bfaa87c52224335d169517714a9f07b533eda6 WHIRLPOOL fae86470d350aca4c65fcdc73a02a3f94eb288642a7294374581eb0e3bc3cc5e92d0bc48a2daec16fee54a1376722289886f7438fbf13b8645305f38d26ab902
+DIST nim-0.16.0.tar.xz 2907076 SHA256 9e199823be47cba55e62dd6982f02cf0aad732f369799fec42a4d8c2265c5167 SHA512 6be1c00328b7e5bdaa9070e1cd0e3c6e1883c5bc1e44e9c574785f9bce93697f05753f598cf6fdaa6c5a66f08c2ad6f7afb8f6650fc3b1c8e461eb0cf80baabd WHIRLPOOL 425454faab87c0144712c50a114f9fc05dd2676b8d85b1de1cb7569403d60a557c41990ca03bfa04156289e49f1d2e6906a5b798341f642cea9c325546b38e41
diff --git a/dev-lang/nim/nim-0.16.0.ebuild b/dev-lang/nim/nim-0.16.0.ebuild
new file mode 100644
index 00000000..1fc69cb
--- /dev/null
+++ b/dev-lang/nim/nim-0.16.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+MY_PN=Nim
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="http://nim-lang.org/"
+SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +readline test"
+
+DEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+RDEPEND="${DEPEND}"
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ ./build.sh || die "build.sh failed"
+
+ ./bin/nim c koch || die "csources nim failed"
+ ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
+
+ if use doc; then
+ PATH="./bin:$PATH" ./koch web || die "koch web failed"
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" ./koch test || die "test suite failed"
+}
+
+src_install() {
+ ./koch install "${D}/usr" || die "koch install failed"
+ rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
+
+ dodir /usr/bin
+ dosym ../nim/bin/nim /usr/bin/nim
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/*.html
+ fi
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2017-01-22 11:40 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2017-01-22 11:40 UTC (permalink / raw
To: gentoo-commits
commit: 300aec491d12f14d02222db22e878003ceba5692
Author: Anthony Ryan <anthonyryan1 <AT> gmail <DOT> com>
AuthorDate: Sat Jan 21 17:34:16 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 17:34:16 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=300aec49
dev-lang/nim: KEYWORD arm
* Tested on armv7a RK3288
Package-Manager: portage-2.3.0
dev-lang/nim/nim-0.16.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/nim/nim-0.16.0.ebuild b/dev-lang/nim/nim-0.16.0.ebuild
index 1fc69cb..b19a560 100644
--- a/dev-lang/nim/nim-0.16.0.ebuild
+++ b/dev-lang/nim/nim-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
IUSE="doc +readline test"
DEPEND="
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2017-05-18 20:23 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2017-05-18 20:23 UTC (permalink / raw
To: gentoo-commits
commit: b2058e9a785ef46f077c256370c3ef570e641946
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 20:22:04 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu May 18 20:23:16 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2058e9a
dev-lang/nim: bump up to 0.17.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-0.17.0.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 529675271dd..fc9f2cf7a4b 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -2,3 +2,4 @@ DIST nim-0.14.2.tar.xz 4778444 SHA256 8f8d38d70ed57164795fc55e19de4c11488fcd31db
DIST nim-0.15.0.tar.xz 3786260 SHA256 c514535050b2b2156147bbe6e23aafe07cd996b2afa2c81fa9a09e1cd8c669fb SHA512 b115ed08e888a1a92fca601ca5580815ed7c1e8baf158a4bc6d351933f99a06fb4725983feae2fded50ce46c46c5b3ca6485671e66eb71962dc2a2956bc83fd8 WHIRLPOOL 15312851dbeda771dfa6f9a061d6a8358e847668efba2a31f8506c4b9398bd96d02d587c55bab0955714d6894877c3cbf7be9625e4802ca17a150c678b5b245a
DIST nim-0.15.2.tar.xz 3251764 SHA256 905df2316262aa2cbacae067acf45fc05c2a71c8c6fde1f2a70c927ebafcfe8a SHA512 708bcb5e4defed46982eff6434e9a54505d744e65336129f0fadc187ec3e6d538974b67ad1d0305e7d55e33582bfaa87c52224335d169517714a9f07b533eda6 WHIRLPOOL fae86470d350aca4c65fcdc73a02a3f94eb288642a7294374581eb0e3bc3cc5e92d0bc48a2daec16fee54a1376722289886f7438fbf13b8645305f38d26ab902
DIST nim-0.16.0.tar.xz 2907076 SHA256 9e199823be47cba55e62dd6982f02cf0aad732f369799fec42a4d8c2265c5167 SHA512 6be1c00328b7e5bdaa9070e1cd0e3c6e1883c5bc1e44e9c574785f9bce93697f05753f598cf6fdaa6c5a66f08c2ad6f7afb8f6650fc3b1c8e461eb0cf80baabd WHIRLPOOL 425454faab87c0144712c50a114f9fc05dd2676b8d85b1de1cb7569403d60a557c41990ca03bfa04156289e49f1d2e6906a5b798341f642cea9c325546b38e41
+DIST nim-0.17.0.tar.xz 25079320 SHA256 36e18dd9384f6c67e6d0199b871b43e774a0af30532698184d6f5a9cc9ac7a9b SHA512 90d709b39746fac5582b9df69d3eb9e3b7a39563a98f7a3002f00716b936e4e0d2be47d8b877878318692e6e2b85c08077dfcc20d9059573a1967402c244894b WHIRLPOOL 5c934a10e7c67a11964436ba3fe332320a6cc9fff15f93ce71e844024e48f77e6a809212882338ac6b3024bb15d2b0314068b643c251c65dfa258bb6daa52599
diff --git a/dev-lang/nim/nim-0.17.0.ebuild b/dev-lang/nim/nim-0.17.0.ebuild
new file mode 100644
index 00000000000..0807e9d664e
--- /dev/null
+++ b/dev-lang/nim/nim-0.17.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="http://nim-lang.org/"
+SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+DEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+RDEPEND="${DEPEND}"
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ ./build.sh || die "build.sh failed"
+
+ ./bin/nim c koch || die "csources nim failed"
+ ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
+
+ if use doc; then
+ PATH="./bin:$PATH" ./koch web || die "koch web failed"
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" ./koch test || die "test suite failed"
+}
+
+src_install() {
+ ./koch install "${D}/usr" || die "koch install failed"
+ rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
+
+ dodir /usr/bin
+ dosym ../nim/bin/nim /usr/bin/nim
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/*.html
+ fi
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2017-07-04 21:56 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2017-07-04 21:56 UTC (permalink / raw
To: gentoo-commits
commit: 45693f02eef0de040baec87042768d67a7cf6347
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 4 21:51:03 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Jul 4 21:56:12 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45693f02
dev-lang/nim: switch HOMEPAGE to https://
Package-Manager: Portage-2.3.6, Repoman-2.3.2
dev-lang/nim/nim-0.16.0.ebuild | 4 ++--
dev-lang/nim/nim-0.17.0.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-lang/nim/nim-0.16.0.ebuild b/dev-lang/nim/nim-0.16.0.ebuild
index 252a8d85d68..6f4bf09dcfa 100644
--- a/dev-lang/nim/nim-0.16.0.ebuild
+++ b/dev-lang/nim/nim-0.16.0.ebuild
@@ -7,8 +7,8 @@ MY_PN=Nim
MY_P=${MY_PN}-${PV}
DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="http://nim-lang.org/"
-SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-lang/nim/nim-0.17.0.ebuild b/dev-lang/nim/nim-0.17.0.ebuild
index 0807e9d664e..be6d8989a30 100644
--- a/dev-lang/nim/nim-0.17.0.ebuild
+++ b/dev-lang/nim/nim-0.17.0.ebuild
@@ -4,8 +4,8 @@
EAPI=6
DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="http://nim-lang.org/"
-SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
LICENSE="MIT"
SLOT="0"
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2017-09-09 9:43 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2017-09-09 9:43 UTC (permalink / raw
To: gentoo-commits
commit: 825ce3a7ac5e34943946823852013b43335ec3ac
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 9 09:42:54 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Sep 9 09:43:02 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=825ce3a7
dev-lang/nim: bump up to 0.17.2
Package-Manager: Portage-2.3.8, Repoman-2.3.3
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-0.17.2.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 2dbcb31fa7f..4a51ca3b99a 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1,3 @@
DIST nim-0.16.0.tar.xz 2907076 SHA256 9e199823be47cba55e62dd6982f02cf0aad732f369799fec42a4d8c2265c5167 SHA512 6be1c00328b7e5bdaa9070e1cd0e3c6e1883c5bc1e44e9c574785f9bce93697f05753f598cf6fdaa6c5a66f08c2ad6f7afb8f6650fc3b1c8e461eb0cf80baabd WHIRLPOOL 425454faab87c0144712c50a114f9fc05dd2676b8d85b1de1cb7569403d60a557c41990ca03bfa04156289e49f1d2e6906a5b798341f642cea9c325546b38e41
DIST nim-0.17.0.tar.xz 25079320 SHA256 36e18dd9384f6c67e6d0199b871b43e774a0af30532698184d6f5a9cc9ac7a9b SHA512 90d709b39746fac5582b9df69d3eb9e3b7a39563a98f7a3002f00716b936e4e0d2be47d8b877878318692e6e2b85c08077dfcc20d9059573a1967402c244894b WHIRLPOOL 5c934a10e7c67a11964436ba3fe332320a6cc9fff15f93ce71e844024e48f77e6a809212882338ac6b3024bb15d2b0314068b643c251c65dfa258bb6daa52599
+DIST nim-0.17.2.tar.xz 4083084 SHA256 aaff1b5023fc4a5708f1d7d9fd8e2a29f1a7f58bf496532ff1e9d7e7c7ec82bd SHA512 7b4ed1eb1e9067ce72b76b95c43ec74eb38f04611776c174ba6a697254a9253fed61258712fb938f15e662bb3b0d36138194fc8fa89bbcb4d22888263e5e2880 WHIRLPOOL c48b1447c38978675e4e3ac3698ab3ab585242776ef3781b03d125d4379786076c2e06d4687b2f155a707510c4634017fc320a42a113c11e25b75258b9f1bc1b
diff --git a/dev-lang/nim/nim-0.17.2.ebuild b/dev-lang/nim/nim-0.17.2.ebuild
new file mode 100644
index 00000000000..f26909ecc79
--- /dev/null
+++ b/dev-lang/nim/nim-0.17.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+DEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+RDEPEND="${DEPEND}"
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ ./build.sh || die "build.sh failed"
+
+ ./bin/nim c koch || die "csources nim failed"
+ ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
+
+ if use doc; then
+ PATH="./bin:$PATH" ./koch web || die "koch web failed"
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" ./koch test || die "test suite failed"
+}
+
+src_install() {
+ ./koch install "${D}/usr" || die "koch install failed"
+ rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
+
+ dodir /usr/bin
+ dosym ../nim/bin/nim /usr/bin/nim
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/*.html
+ fi
+
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2017-10-09 19:21 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2017-10-09 19:21 UTC (permalink / raw
To: gentoo-commits
commit: 8216925e5452363a7e5001dd9da87455a1362e1b
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 9 19:21:02 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Oct 9 19:21:13 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8216925e
dev-lang/nim: add basic prefix support
Package-Manager: Portage-2.3.11, Repoman-2.3.3
dev-lang/nim/nim-0.17.2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-lang/nim/nim-0.17.2.ebuild b/dev-lang/nim/nim-0.17.2.ebuild
index f26909ecc79..523a411b0dd 100644
--- a/dev-lang/nim/nim-0.17.2.ebuild
+++ b/dev-lang/nim/nim-0.17.2.ebuild
@@ -40,8 +40,8 @@ src_test() {
}
src_install() {
- ./koch install "${D}/usr" || die "koch install failed"
- rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
+ ./koch install "${ED}/usr" || die "koch install failed"
+ rm -r "${ED}/usr/nim/doc" || die "failed to remove 'doc'"
dodir /usr/bin
dosym ../nim/bin/nim /usr/bin/nim
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2017-10-10 9:51 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2017-10-10 9:51 UTC (permalink / raw
To: gentoo-commits
commit: be0fece992d7f4d1d9487860fecb95d78ebcd479
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 10 09:50:54 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Oct 10 09:51:06 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0fece9
dev-lang/nim: build and install 'nimble' and other tools, bug #631512
Defauld './koch install' installs only 'nim' binary as it uses
'compiler.ini' configurations. But there is no easy way to install
other tools.
After this change ebuild builds and installs tools explicitly
to expose them to users.
Reported-by: s <AT> zxc.pp.ua
Closes: https://bugs.gentoo.org/631512
Package-Manager: Portage-2.3.11, Repoman-2.3.3
dev-lang/nim/{nim-0.17.2.ebuild => nim-0.17.2-r1.ebuild} | 14 ++++++++++++--
dev-lang/nim/nim-0.17.2.ebuild | 6 +++++-
2 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/dev-lang/nim/nim-0.17.2.ebuild b/dev-lang/nim/nim-0.17.2-r1.ebuild
similarity index 75%
copy from dev-lang/nim/nim-0.17.2.ebuild
copy to dev-lang/nim/nim-0.17.2-r1.ebuild
index 523a411b0dd..b5b88357cd2 100644
--- a/dev-lang/nim/nim-0.17.2.ebuild
+++ b/dev-lang/nim/nim-0.17.2-r1.ebuild
@@ -29,6 +29,8 @@ src_compile() {
./bin/nim c koch || die "csources nim failed"
./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
+ # build nimble and friends
+ PATH="./bin:$PATH" ./koch tools || die "koch tools failed"
if use doc; then
PATH="./bin:$PATH" ./koch web || die "koch web failed"
@@ -40,11 +42,19 @@ src_test() {
}
src_install() {
- ./koch install "${ED}/usr" || die "koch install failed"
+ PATH="./bin:$PATH" ./koch install "${ED}/usr" || die "koch install failed"
rm -r "${ED}/usr/nim/doc" || die "failed to remove 'doc'"
dodir /usr/bin
- dosym ../nim/bin/nim /usr/bin/nim
+ exeinto /usr/nim/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ doexe "${bin_exe}"
+ dosym ../nim/"${bin_exe}" /usr/"${bin_exe}"
+ done
if use doc; then
insinto /usr/share/doc/${PF}
diff --git a/dev-lang/nim/nim-0.17.2.ebuild b/dev-lang/nim/nim-0.17.2.ebuild
index 523a411b0dd..3942e4e7b58 100644
--- a/dev-lang/nim/nim-0.17.2.ebuild
+++ b/dev-lang/nim/nim-0.17.2.ebuild
@@ -29,6 +29,7 @@ src_compile() {
./bin/nim c koch || die "csources nim failed"
./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
+ PATH="./bin:$PATH" ./koch tools || die "koch tools failed"
if use doc; then
PATH="./bin:$PATH" ./koch web || die "koch web failed"
@@ -44,7 +45,10 @@ src_install() {
rm -r "${ED}/usr/nim/doc" || die "failed to remove 'doc'"
dodir /usr/bin
- dosym ../nim/bin/nim /usr/bin/nim
+ local exe
+ for bin_exe in bin/*; do
+ dosym ../nim/${bin_exe} /usr/${bin_exe}
+ done
if use doc; then
insinto /usr/share/doc/${PF}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2018-03-02 20:52 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2018-03-02 20:52 UTC (permalink / raw
To: gentoo-commits
commit: 5f5b8085f0b8bdf8effa00e2f773fb1fa1e2377b
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 2 20:49:45 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Mar 2 20:52:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f5b8085
dev-lang/nim: bump up to 0.18.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-0.18.0.ebuild | 65 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index eb332d7ea6a..dfd023bda12 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,3 +1,4 @@
DIST nim-0.16.0.tar.xz 2907076 BLAKE2B 5f14bb2634da32deb810381edf817e3885382ffce0a35db0ae3faca818bb0f5646b1619609e971fbe93ef383f3c4060029bf51a12ef0b4df75ebf0dde12753b5 SHA512 6be1c00328b7e5bdaa9070e1cd0e3c6e1883c5bc1e44e9c574785f9bce93697f05753f598cf6fdaa6c5a66f08c2ad6f7afb8f6650fc3b1c8e461eb0cf80baabd
DIST nim-0.17.0.tar.xz 25079320 BLAKE2B d01ade93ff299962aeea3dc9c90f0a8fe87acef8c2ee6d7d521d936c680aded0d8383221b7c11c3b2a8d6c28311c939456f271bbc90c1115acaae2c1987fa908 SHA512 90d709b39746fac5582b9df69d3eb9e3b7a39563a98f7a3002f00716b936e4e0d2be47d8b877878318692e6e2b85c08077dfcc20d9059573a1967402c244894b
DIST nim-0.17.2.tar.xz 4083084 BLAKE2B c1a4134592bb6a57bfaf6174becb409e40075c77042964c639b39fe7b30f094bfc8d404d6e1e4e527a95333a8ee4597477f1052da1af58c3216042bb2f85c826 SHA512 7b4ed1eb1e9067ce72b76b95c43ec74eb38f04611776c174ba6a697254a9253fed61258712fb938f15e662bb3b0d36138194fc8fa89bbcb4d22888263e5e2880
+DIST nim-0.18.0.tar.xz 4412632 BLAKE2B f7286542daa4c3502f4edeb9d93e6a69169228a50248f1c5c02421cb8e70c0ab99bc84cc91b35a6227a4974345423eeb3b5ffecdb18e321b0a82eb8fd0879a16 SHA512 8f59cb4a8d44949cdd1154fb44df548005329da8255becf2f54083ce58323ff8d6cf7b2fdd86d4b1f446bd9f977e8eaf4b13c7ca6723da8a10c7b671954de772
diff --git a/dev-lang/nim/nim-0.18.0.ebuild b/dev-lang/nim/nim-0.18.0.ebuild
new file mode 100644
index 00000000000..8b6f54d235f
--- /dev/null
+++ b/dev-lang/nim/nim-0.18.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+DEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+RDEPEND="${DEPEND}"
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ ./build.sh || die "build.sh failed"
+
+ ./bin/nim c koch || die "csources nim failed"
+ ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
+ # build nimble and friends
+ PATH="./bin:$PATH" ./koch tools || die "koch tools failed"
+
+ if use doc; then
+ PATH="./bin:$PATH" ./koch web || die "koch web failed"
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" ./koch test || die "test suite failed"
+}
+
+src_install() {
+ PATH="./bin:$PATH" ./koch install "${ED}/usr" || die "koch install failed"
+ rm -r "${ED}/usr/nim/doc" || die "failed to remove 'doc'"
+
+ dodir /usr/bin
+ exeinto /usr/nim/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ doexe "${bin_exe}"
+ dosym ../nim/"${bin_exe}" /usr/"${bin_exe}"
+ done
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/*.html
+ fi
+
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2018-03-04 10:12 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2018-03-04 10:12 UTC (permalink / raw
To: gentoo-commits
commit: fc5d9932316455e63332290d9fdf06308f5a9650
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 4 10:06:01 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Mar 4 10:08:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc5d9932
dev-lang/nim: add nodejs test dependency, bug #649488
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/649488
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-lang/nim/nim-0.18.0.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev-lang/nim/nim-0.18.0.ebuild b/dev-lang/nim/nim-0.18.0.ebuild
index 8b6f54d235f..72b78f95f1c 100644
--- a/dev-lang/nim/nim-0.18.0.ebuild
+++ b/dev-lang/nim/nim-0.18.0.ebuild
@@ -14,10 +14,13 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="doc +readline test"
-DEPEND="
+RDEPEND="
readline? ( sys-libs/readline:0= )
"
-RDEPEND="${DEPEND}"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
nim_use_enable() {
[[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2018-03-04 17:06 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2018-03-04 17:06 UTC (permalink / raw
To: gentoo-commits
commit: c2b6ae3fe67aa84f1de91f0d0d4779d9e836713f
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 4 17:05:56 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Mar 4 17:06:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b6ae3f
dev-lang/nim: add custome command logging, use makeopts
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-lang/nim/nim-0.18.0.ebuild | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/dev-lang/nim/nim-0.18.0.ebuild b/dev-lang/nim/nim-0.18.0.ebuild
index 72b78f95f1c..0f55aec3856 100644
--- a/dev-lang/nim/nim-0.18.0.ebuild
+++ b/dev-lang/nim/nim-0.18.0.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit bash-completion-r1
+inherit bash-completion-r1 multiprocessing
DESCRIPTION="compiled, garbage-collected systems programming language"
HOMEPAGE="https://nim-lang.org/"
@@ -22,30 +22,35 @@ DEPEND="
test? ( net-libs/nodejs )
"
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
nim_use_enable() {
[[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
use $1 && echo "-d:$2"
}
src_compile() {
- ./build.sh || die "build.sh failed"
+ _run ./build.sh
- ./bin/nim c koch || die "csources nim failed"
- ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
# build nimble and friends
- PATH="./bin:$PATH" ./koch tools || die "koch tools failed"
+ PATH="./bin:$PATH" _run ./koch tools
if use doc; then
- PATH="./bin:$PATH" ./koch web || die "koch web failed"
+ PATH="./bin:$PATH" _run ./koch web
fi
}
src_test() {
- PATH="./bin:$PATH" ./koch test || die "test suite failed"
+ PATH="./bin:$PATH" _run ./koch test
}
src_install() {
- PATH="./bin:$PATH" ./koch install "${ED}/usr" || die "koch install failed"
+ PATH="./bin:$PATH" _run ./koch install "${ED}/usr"
rm -r "${ED}/usr/nim/doc" || die "failed to remove 'doc'"
dodir /usr/bin
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2018-03-11 14:39 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2018-03-11 14:39 UTC (permalink / raw
To: gentoo-commits
commit: 27c7e97e2e06db9c5b7e73c98fc9d910f138371d
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 11 14:39:26 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Mar 11 14:39:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c7e97e
dev-lang/nim: disable broken tests, bug #649488
Testsuite needs a bit of upstream work:
- Many tests needs more recent nodejs than stable
- C codegen occasionally generates stack-smashing binaries
- missing depends on sfml (and something-jester)
Disable testsuite for now.
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/649488
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-lang/nim/nim-0.18.0.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-lang/nim/nim-0.18.0.ebuild b/dev-lang/nim/nim-0.18.0.ebuild
index 0f55aec3856..53766c3e8a0 100644
--- a/dev-lang/nim/nim-0.18.0.ebuild
+++ b/dev-lang/nim/nim-0.18.0.ebuild
@@ -14,6 +14,8 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="doc +readline test"
+RESTRICT=test # need to sort out depends and numerous failures
+
RDEPEND="
readline? ( sys-libs/readline:0= )
"
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2018-09-28 21:32 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2018-09-28 21:32 UTC (permalink / raw
To: gentoo-commits
commit: bf096829a1577b14677ed810d6171c1b7fa4b523
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 28 21:32:10 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Sep 28 21:32:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf096829
dev-lang/nim: fix USE=doc building, bug #667182
Use 'koch doc' instead of 'koch web'. Old command
does not generate html output anymore.
While at it dropped XDG_CACHE_HOME to avoid user-defined dorectory.
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/667182
Package-Manager: Portage-2.3.50, Repoman-2.3.11
dev-lang/nim/nim-0.19.0.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-lang/nim/nim-0.19.0.ebuild b/dev-lang/nim/nim-0.19.0.ebuild
index c86fab3680e..abc572c107f 100644
--- a/dev-lang/nim/nim-0.19.0.ebuild
+++ b/dev-lang/nim/nim-0.19.0.ebuild
@@ -39,6 +39,8 @@ nim_use_enable() {
}
src_compile() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+
_run ./build.sh
_run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
@@ -48,7 +50,7 @@ src_compile() {
PATH="./bin:$PATH" _run ./koch --stable tools
if use doc; then
- PATH="./bin:$PATH" _run ./koch web
+ PATH="./bin:$PATH" _run ./koch doc
fi
}
@@ -72,7 +74,7 @@ src_install() {
if use doc; then
insinto /usr/share/doc/${PF}
- dodoc doc/*.html
+ dodoc doc/html/*.html
fi
newbashcomp tools/nim.bash-completion ${PN}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2019-01-01 21:14 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2019-01-01 21:14 UTC (permalink / raw
To: gentoo-commits
commit: 8ba5773ae1b8ac7849a66035310afdfd6b16ee05
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 1 21:14:17 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Jan 1 21:14:27 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba5773a
dev-lang/nim: drop old
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 4 ---
dev-lang/nim/nim-0.16.0.ebuild | 54 ----------------------------
dev-lang/nim/nim-0.17.0.ebuild | 51 --------------------------
dev-lang/nim/nim-0.17.2-r1.ebuild | 65 ---------------------------------
dev-lang/nim/nim-0.17.2.ebuild | 59 ------------------------------
dev-lang/nim/nim-0.18.0.ebuild | 75 ---------------------------------------
6 files changed, 308 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 7e9b9967b0f..627679b2b8d 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,6 +1,2 @@
-DIST nim-0.16.0.tar.xz 2907076 BLAKE2B 5f14bb2634da32deb810381edf817e3885382ffce0a35db0ae3faca818bb0f5646b1619609e971fbe93ef383f3c4060029bf51a12ef0b4df75ebf0dde12753b5 SHA512 6be1c00328b7e5bdaa9070e1cd0e3c6e1883c5bc1e44e9c574785f9bce93697f05753f598cf6fdaa6c5a66f08c2ad6f7afb8f6650fc3b1c8e461eb0cf80baabd
-DIST nim-0.17.0.tar.xz 25079320 BLAKE2B d01ade93ff299962aeea3dc9c90f0a8fe87acef8c2ee6d7d521d936c680aded0d8383221b7c11c3b2a8d6c28311c939456f271bbc90c1115acaae2c1987fa908 SHA512 90d709b39746fac5582b9df69d3eb9e3b7a39563a98f7a3002f00716b936e4e0d2be47d8b877878318692e6e2b85c08077dfcc20d9059573a1967402c244894b
-DIST nim-0.17.2.tar.xz 4083084 BLAKE2B c1a4134592bb6a57bfaf6174becb409e40075c77042964c639b39fe7b30f094bfc8d404d6e1e4e527a95333a8ee4597477f1052da1af58c3216042bb2f85c826 SHA512 7b4ed1eb1e9067ce72b76b95c43ec74eb38f04611776c174ba6a697254a9253fed61258712fb938f15e662bb3b0d36138194fc8fa89bbcb4d22888263e5e2880
-DIST nim-0.18.0.tar.xz 4412632 BLAKE2B f7286542daa4c3502f4edeb9d93e6a69169228a50248f1c5c02421cb8e70c0ab99bc84cc91b35a6227a4974345423eeb3b5ffecdb18e321b0a82eb8fd0879a16 SHA512 8f59cb4a8d44949cdd1154fb44df548005329da8255becf2f54083ce58323ff8d6cf7b2fdd86d4b1f446bd9f977e8eaf4b13c7ca6723da8a10c7b671954de772
DIST nim-0.19.0.tar.xz 3321644 BLAKE2B e1de3b8a4c756315bcd110ddc62c03eb1a379403d8c102eb4d6d131cccabe3dccdfdac33d46037fd8b3b241d727acb42f5cb0b616a4079830ea3abf63089f90a SHA512 f7f3c8e0e9a6509b6404e21da4693ceb279112dd7a7c39edc7e717f21554442914c9cf7d811bb4034ff244e34d77dabf6e09b5e3e77c37314adf99cc0c3b2311
DIST nim-0.19.2.tar.xz 21176300 BLAKE2B 85250ca174c2ef6ee77e8c1a2b35316bb9b21e591438d7d3bf560c0d38f1ba64c811ef99c0c3147acceddd6d27fcd5ff2dfccf65cb92218484649f1029e0dd1b SHA512 fc7ab034dcdf3cb5f1cc379595ee9ae6da7c6256eef4b294e3bf31ff559efd48598a9974ca9a0f41d899f01af6a916feb9c5eb7f888f637287ce357722d41421
diff --git a/dev-lang/nim/nim-0.16.0.ebuild b/dev-lang/nim/nim-0.16.0.ebuild
deleted file mode 100644
index 6f4bf09dcfa..00000000000
--- a/dev-lang/nim/nim-0.16.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN=Nim
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-DEPEND="
- readline? ( sys-libs/readline:0= )
-"
-RDEPEND="${DEPEND}"
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- ./build.sh || die "build.sh failed"
-
- ./bin/nim c koch || die "csources nim failed"
- ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
-
- if use doc; then
- PATH="./bin:$PATH" ./koch web || die "koch web failed"
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" ./koch test || die "test suite failed"
-}
-
-src_install() {
- ./koch install "${D}/usr" || die "koch install failed"
- rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
-
- dodir /usr/bin
- dosym ../nim/bin/nim /usr/bin/nim
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- dodoc doc/*.html
- fi
-}
diff --git a/dev-lang/nim/nim-0.17.0.ebuild b/dev-lang/nim/nim-0.17.0.ebuild
deleted file mode 100644
index be6d8989a30..00000000000
--- a/dev-lang/nim/nim-0.17.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-DEPEND="
- readline? ( sys-libs/readline:0= )
-"
-RDEPEND="${DEPEND}"
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- ./build.sh || die "build.sh failed"
-
- ./bin/nim c koch || die "csources nim failed"
- ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
-
- if use doc; then
- PATH="./bin:$PATH" ./koch web || die "koch web failed"
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" ./koch test || die "test suite failed"
-}
-
-src_install() {
- ./koch install "${D}/usr" || die "koch install failed"
- rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
-
- dodir /usr/bin
- dosym ../nim/bin/nim /usr/bin/nim
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- dodoc doc/*.html
- fi
-}
diff --git a/dev-lang/nim/nim-0.17.2-r1.ebuild b/dev-lang/nim/nim-0.17.2-r1.ebuild
deleted file mode 100644
index b5b88357cd2..00000000000
--- a/dev-lang/nim/nim-0.17.2-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-DEPEND="
- readline? ( sys-libs/readline:0= )
-"
-RDEPEND="${DEPEND}"
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- ./build.sh || die "build.sh failed"
-
- ./bin/nim c koch || die "csources nim failed"
- ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
- # build nimble and friends
- PATH="./bin:$PATH" ./koch tools || die "koch tools failed"
-
- if use doc; then
- PATH="./bin:$PATH" ./koch web || die "koch web failed"
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" ./koch test || die "test suite failed"
-}
-
-src_install() {
- PATH="./bin:$PATH" ./koch install "${ED}/usr" || die "koch install failed"
- rm -r "${ED}/usr/nim/doc" || die "failed to remove 'doc'"
-
- dodir /usr/bin
- exeinto /usr/nim/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- doexe "${bin_exe}"
- dosym ../nim/"${bin_exe}" /usr/"${bin_exe}"
- done
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- dodoc doc/*.html
- fi
-
- newbashcomp tools/nim.bash-completion ${PN}
-}
diff --git a/dev-lang/nim/nim-0.17.2.ebuild b/dev-lang/nim/nim-0.17.2.ebuild
deleted file mode 100644
index 3942e4e7b58..00000000000
--- a/dev-lang/nim/nim-0.17.2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-DEPEND="
- readline? ( sys-libs/readline:0= )
-"
-RDEPEND="${DEPEND}"
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- ./build.sh || die "build.sh failed"
-
- ./bin/nim c koch || die "csources nim failed"
- ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
- PATH="./bin:$PATH" ./koch tools || die "koch tools failed"
-
- if use doc; then
- PATH="./bin:$PATH" ./koch web || die "koch web failed"
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" ./koch test || die "test suite failed"
-}
-
-src_install() {
- ./koch install "${ED}/usr" || die "koch install failed"
- rm -r "${ED}/usr/nim/doc" || die "failed to remove 'doc'"
-
- dodir /usr/bin
- local exe
- for bin_exe in bin/*; do
- dosym ../nim/${bin_exe} /usr/${bin_exe}
- done
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- dodoc doc/*.html
- fi
-
- newbashcomp tools/nim.bash-completion ${PN}
-}
diff --git a/dev-lang/nim/nim-0.18.0.ebuild b/dev-lang/nim/nim-0.18.0.ebuild
deleted file mode 100644
index 53766c3e8a0..00000000000
--- a/dev-lang/nim/nim-0.18.0.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1 multiprocessing
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- PATH="./bin:$PATH" _run ./koch tools
-
- if use doc; then
- PATH="./bin:$PATH" _run ./koch web
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}/usr"
- rm -r "${ED}/usr/nim/doc" || die "failed to remove 'doc'"
-
- dodir /usr/bin
- exeinto /usr/nim/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- doexe "${bin_exe}"
- dosym ../nim/"${bin_exe}" /usr/"${bin_exe}"
- done
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- dodoc doc/*.html
- fi
-
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2019-01-01 21:14 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2019-01-01 21:14 UTC (permalink / raw
To: gentoo-commits
commit: 46880c2c3753cf265edb4fe20c85bf56abe99399
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 1 21:13:59 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Jan 1 21:14:26 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46880c2c
dev-lang/nim: bump up to 0.19.2
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-0.19.2.ebuild | 81 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 60b6c77f4b8..7e9b9967b0f 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -3,3 +3,4 @@ DIST nim-0.17.0.tar.xz 25079320 BLAKE2B d01ade93ff299962aeea3dc9c90f0a8fe87acef8
DIST nim-0.17.2.tar.xz 4083084 BLAKE2B c1a4134592bb6a57bfaf6174becb409e40075c77042964c639b39fe7b30f094bfc8d404d6e1e4e527a95333a8ee4597477f1052da1af58c3216042bb2f85c826 SHA512 7b4ed1eb1e9067ce72b76b95c43ec74eb38f04611776c174ba6a697254a9253fed61258712fb938f15e662bb3b0d36138194fc8fa89bbcb4d22888263e5e2880
DIST nim-0.18.0.tar.xz 4412632 BLAKE2B f7286542daa4c3502f4edeb9d93e6a69169228a50248f1c5c02421cb8e70c0ab99bc84cc91b35a6227a4974345423eeb3b5ffecdb18e321b0a82eb8fd0879a16 SHA512 8f59cb4a8d44949cdd1154fb44df548005329da8255becf2f54083ce58323ff8d6cf7b2fdd86d4b1f446bd9f977e8eaf4b13c7ca6723da8a10c7b671954de772
DIST nim-0.19.0.tar.xz 3321644 BLAKE2B e1de3b8a4c756315bcd110ddc62c03eb1a379403d8c102eb4d6d131cccabe3dccdfdac33d46037fd8b3b241d727acb42f5cb0b616a4079830ea3abf63089f90a SHA512 f7f3c8e0e9a6509b6404e21da4693ceb279112dd7a7c39edc7e717f21554442914c9cf7d811bb4034ff244e34d77dabf6e09b5e3e77c37314adf99cc0c3b2311
+DIST nim-0.19.2.tar.xz 21176300 BLAKE2B 85250ca174c2ef6ee77e8c1a2b35316bb9b21e591438d7d3bf560c0d38f1ba64c811ef99c0c3147acceddd6d27fcd5ff2dfccf65cb92218484649f1029e0dd1b SHA512 fc7ab034dcdf3cb5f1cc379595ee9ae6da7c6256eef4b294e3bf31ff559efd48598a9974ca9a0f41d899f01af6a916feb9c5eb7f888f637287ce357722d41421
diff --git a/dev-lang/nim/nim-0.19.2.ebuild b/dev-lang/nim/nim-0.19.2.ebuild
new file mode 100644
index 00000000000..2dc958a2a86
--- /dev/null
+++ b/dev-lang/nim/nim-0.19.2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.19.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # build nimble and friends
+ # --stable to avoid pulling HEAD nimble
+ PATH="./bin:$PATH" _run ./koch --stable tools
+
+ if use doc; then
+ PATH="./bin:$PATH" _run ./koch doc
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED%/}"
+ rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/html/*.html
+ fi
+
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2019-02-02 18:08 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2019-02-02 18:08 UTC (permalink / raw
To: gentoo-commits
commit: 270fee7ec39750b1f327d74f633cc71b8be6bace
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 2 18:08:18 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Feb 2 18:08:18 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=270fee7e
dev-lang/nim: bump up to 0.19.4
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-0.19.4.ebuild | 81 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 627679b2b8d..a8214c4a482 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1,3 @@
DIST nim-0.19.0.tar.xz 3321644 BLAKE2B e1de3b8a4c756315bcd110ddc62c03eb1a379403d8c102eb4d6d131cccabe3dccdfdac33d46037fd8b3b241d727acb42f5cb0b616a4079830ea3abf63089f90a SHA512 f7f3c8e0e9a6509b6404e21da4693ceb279112dd7a7c39edc7e717f21554442914c9cf7d811bb4034ff244e34d77dabf6e09b5e3e77c37314adf99cc0c3b2311
DIST nim-0.19.2.tar.xz 21176300 BLAKE2B 85250ca174c2ef6ee77e8c1a2b35316bb9b21e591438d7d3bf560c0d38f1ba64c811ef99c0c3147acceddd6d27fcd5ff2dfccf65cb92218484649f1029e0dd1b SHA512 fc7ab034dcdf3cb5f1cc379595ee9ae6da7c6256eef4b294e3bf31ff559efd48598a9974ca9a0f41d899f01af6a916feb9c5eb7f888f637287ce357722d41421
+DIST nim-0.19.4.tar.xz 4284092 BLAKE2B 7fcc4d4c13cd5ab0b9ac7b98b3ffff99ffcb77d0a23bb731b92813b5d96f5ce88303cb0196ad425f5944744f30aa1d257dc90714f6d11c1a26726ad4512206b7 SHA512 0cf87368b51bc305935b350b63c535ed268c066258ef731b73c12afaa9a3c20760876e3c4bec46448051fe8bacb6c4f1ef84f2ec3789f601a4786408bf3da06c
diff --git a/dev-lang/nim/nim-0.19.4.ebuild b/dev-lang/nim/nim-0.19.4.ebuild
new file mode 100644
index 00000000000..2dc958a2a86
--- /dev/null
+++ b/dev-lang/nim/nim-0.19.4.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.19.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # build nimble and friends
+ # --stable to avoid pulling HEAD nimble
+ PATH="./bin:$PATH" _run ./koch --stable tools
+
+ if use doc; then
+ PATH="./bin:$PATH" _run ./koch doc
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED%/}"
+ rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/html/*.html
+ fi
+
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2019-05-14 7:31 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2019-05-14 7:31 UTC (permalink / raw
To: gentoo-commits
commit: 5e9fdddebfcfa270ca479b85661733554d2c6b8d
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue May 14 07:31:23 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue May 14 07:31:23 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e9fddde
dev-lang/nim: drop old
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 2 --
dev-lang/nim/nim-0.19.0.ebuild | 81 ------------------------------------------
dev-lang/nim/nim-0.19.2.ebuild | 81 ------------------------------------------
3 files changed, 164 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index b7807a86b3d..3de80cdb9b0 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,4 +1,2 @@
-DIST nim-0.19.0.tar.xz 3321644 BLAKE2B e1de3b8a4c756315bcd110ddc62c03eb1a379403d8c102eb4d6d131cccabe3dccdfdac33d46037fd8b3b241d727acb42f5cb0b616a4079830ea3abf63089f90a SHA512 f7f3c8e0e9a6509b6404e21da4693ceb279112dd7a7c39edc7e717f21554442914c9cf7d811bb4034ff244e34d77dabf6e09b5e3e77c37314adf99cc0c3b2311
-DIST nim-0.19.2.tar.xz 21176300 BLAKE2B 85250ca174c2ef6ee77e8c1a2b35316bb9b21e591438d7d3bf560c0d38f1ba64c811ef99c0c3147acceddd6d27fcd5ff2dfccf65cb92218484649f1029e0dd1b SHA512 fc7ab034dcdf3cb5f1cc379595ee9ae6da7c6256eef4b294e3bf31ff559efd48598a9974ca9a0f41d899f01af6a916feb9c5eb7f888f637287ce357722d41421
DIST nim-0.19.4.tar.xz 4284092 BLAKE2B 7fcc4d4c13cd5ab0b9ac7b98b3ffff99ffcb77d0a23bb731b92813b5d96f5ce88303cb0196ad425f5944744f30aa1d257dc90714f6d11c1a26726ad4512206b7 SHA512 0cf87368b51bc305935b350b63c535ed268c066258ef731b73c12afaa9a3c20760876e3c4bec46448051fe8bacb6c4f1ef84f2ec3789f601a4786408bf3da06c
DIST nim-0.19.6.tar.xz 4166952 BLAKE2B 6be2cf16bc7807fe78e3d30d9533ab3c1eff1c2042c6af1aca0d7e8330597f2aaa363085f8da2448075be6cb1feb07186c28a32fb58f120af8f4db009dcd4561 SHA512 9728825e349570ec187c031725162b70fdb1a43229732d33fcfa61dde84fb6392c7265a456ce925fd7d1d782d7f9881398173bf69c0d1ecdbefbbb6bd57f6041
diff --git a/dev-lang/nim/nim-0.19.0.ebuild b/dev-lang/nim/nim-0.19.0.ebuild
deleted file mode 100644
index abc572c107f..00000000000
--- a/dev-lang/nim/nim-0.19.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1 multiprocessing
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- export XDG_CACHE_HOME=${T}/cache #667182
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- # --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools
-
- if use doc; then
- PATH="./bin:$PATH" _run ./koch doc
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED%/}"
- rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- dodoc doc/html/*.html
- fi
-
- newbashcomp tools/nim.bash-completion ${PN}
-}
diff --git a/dev-lang/nim/nim-0.19.2.ebuild b/dev-lang/nim/nim-0.19.2.ebuild
deleted file mode 100644
index 2dc958a2a86..00000000000
--- a/dev-lang/nim/nim-0.19.2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.19.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- export XDG_CACHE_HOME=${T}/cache #667182
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- # --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools
-
- if use doc; then
- PATH="./bin:$PATH" _run ./koch doc
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED%/}"
- rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- dodoc doc/html/*.html
- fi
-
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2019-05-14 7:31 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2019-05-14 7:31 UTC (permalink / raw
To: gentoo-commits
commit: 7b85ece2e450cc892d913ea639cc254c861ab09a
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue May 14 07:31:00 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue May 14 07:31:00 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b85ece2
dev-lang/nim: bump up to 0.19.6
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-0.19.6.ebuild | 81 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index a8214c4a482..b7807a86b3d 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,3 +1,4 @@
DIST nim-0.19.0.tar.xz 3321644 BLAKE2B e1de3b8a4c756315bcd110ddc62c03eb1a379403d8c102eb4d6d131cccabe3dccdfdac33d46037fd8b3b241d727acb42f5cb0b616a4079830ea3abf63089f90a SHA512 f7f3c8e0e9a6509b6404e21da4693ceb279112dd7a7c39edc7e717f21554442914c9cf7d811bb4034ff244e34d77dabf6e09b5e3e77c37314adf99cc0c3b2311
DIST nim-0.19.2.tar.xz 21176300 BLAKE2B 85250ca174c2ef6ee77e8c1a2b35316bb9b21e591438d7d3bf560c0d38f1ba64c811ef99c0c3147acceddd6d27fcd5ff2dfccf65cb92218484649f1029e0dd1b SHA512 fc7ab034dcdf3cb5f1cc379595ee9ae6da7c6256eef4b294e3bf31ff559efd48598a9974ca9a0f41d899f01af6a916feb9c5eb7f888f637287ce357722d41421
DIST nim-0.19.4.tar.xz 4284092 BLAKE2B 7fcc4d4c13cd5ab0b9ac7b98b3ffff99ffcb77d0a23bb731b92813b5d96f5ce88303cb0196ad425f5944744f30aa1d257dc90714f6d11c1a26726ad4512206b7 SHA512 0cf87368b51bc305935b350b63c535ed268c066258ef731b73c12afaa9a3c20760876e3c4bec46448051fe8bacb6c4f1ef84f2ec3789f601a4786408bf3da06c
+DIST nim-0.19.6.tar.xz 4166952 BLAKE2B 6be2cf16bc7807fe78e3d30d9533ab3c1eff1c2042c6af1aca0d7e8330597f2aaa363085f8da2448075be6cb1feb07186c28a32fb58f120af8f4db009dcd4561 SHA512 9728825e349570ec187c031725162b70fdb1a43229732d33fcfa61dde84fb6392c7265a456ce925fd7d1d782d7f9881398173bf69c0d1ecdbefbbb6bd57f6041
diff --git a/dev-lang/nim/nim-0.19.6.ebuild b/dev-lang/nim/nim-0.19.6.ebuild
new file mode 100644
index 00000000000..2dc958a2a86
--- /dev/null
+++ b/dev-lang/nim/nim-0.19.6.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.19.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # build nimble and friends
+ # --stable to avoid pulling HEAD nimble
+ PATH="./bin:$PATH" _run ./koch --stable tools
+
+ if use doc; then
+ PATH="./bin:$PATH" _run ./koch doc
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED%/}"
+ rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/html/*.html
+ fi
+
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2019-07-17 21:14 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2019-07-17 21:14 UTC (permalink / raw
To: gentoo-commits
commit: cd2d1d8a9420f01ed22db7d08a6204a941006fde
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 21:13:13 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 21:13:13 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd2d1d8a
dev-lang/nim: bump up to 0.20.2
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-0.20.2.ebuild | 82 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 83 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 907dcc3e525..face92c84e6 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,3 +1,4 @@
DIST nim-0.19.4.tar.xz 4284092 BLAKE2B 7fcc4d4c13cd5ab0b9ac7b98b3ffff99ffcb77d0a23bb731b92813b5d96f5ce88303cb0196ad425f5944744f30aa1d257dc90714f6d11c1a26726ad4512206b7 SHA512 0cf87368b51bc305935b350b63c535ed268c066258ef731b73c12afaa9a3c20760876e3c4bec46448051fe8bacb6c4f1ef84f2ec3789f601a4786408bf3da06c
DIST nim-0.19.6.tar.xz 4166952 BLAKE2B 6be2cf16bc7807fe78e3d30d9533ab3c1eff1c2042c6af1aca0d7e8330597f2aaa363085f8da2448075be6cb1feb07186c28a32fb58f120af8f4db009dcd4561 SHA512 9728825e349570ec187c031725162b70fdb1a43229732d33fcfa61dde84fb6392c7265a456ce925fd7d1d782d7f9881398173bf69c0d1ecdbefbbb6bd57f6041
DIST nim-0.20.0.tar.xz 4997088 BLAKE2B fd03837c1674052145cbed631be4d4028a31fdd46d8b730734781b65d5bbcd9cb118ef7ac14c1bc16f7e056365b5bddf32160bf84566ac4815cb12e330f8e712 SHA512 e41fc9f9337535d07ebdd14ae8195bf9c666a0a242516f24d50241e69d50e89fcb9ac1a0b1fbeee0bc75b0218aeb18698ff2ac87447005dad52dc18da80bb02d
+DIST nim-0.20.2.tar.xz 5032768 BLAKE2B 583e0b5cede279a0c0a60d4209f9be6237ff5ac070c0e82a075a242d08086e59c88c2ab29cbf3d2c6d7a455709b64086afd11e4928fcc9e81979d5296ef38b64 SHA512 231d95950ca5a7abe86175f93085ea27fae493e4f8dde3c9e086993431f9517781ceffeb4f9e761eb524523df3703d0a315fe53e32bc6daea6a684bf90589282
diff --git a/dev-lang/nim/nim-0.20.2.ebuild b/dev-lang/nim/nim-0.20.2.ebuild
new file mode 100644
index 00000000000..bb41a8721fe
--- /dev/null
+++ b/dev-lang/nim/nim-0.20.2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # build nimble and friends
+ # --stable to avoid pulling HEAD nimble
+ PATH="./bin:$PATH" _run ./koch --stable tools
+
+ if use doc; then
+ PATH="./bin:$PATH" _run ./koch doc
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED%/}"
+ rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/html/*.html
+ fi
+
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2019-09-23 22:51 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2019-09-23 22:51 UTC (permalink / raw
To: gentoo-commits
commit: 66fc57332068cbf3d247ca1f34c7edefc941fbd6
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 22:51:44 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 22:51:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66fc5733
dev-lang/nim: bump up to 1.0.0
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.0.0.ebuild | 82 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 83 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 5f50cb7fb21..ae2e5036060 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1,3 @@
DIST nim-0.20.0.tar.xz 4997088 BLAKE2B fd03837c1674052145cbed631be4d4028a31fdd46d8b730734781b65d5bbcd9cb118ef7ac14c1bc16f7e056365b5bddf32160bf84566ac4815cb12e330f8e712 SHA512 e41fc9f9337535d07ebdd14ae8195bf9c666a0a242516f24d50241e69d50e89fcb9ac1a0b1fbeee0bc75b0218aeb18698ff2ac87447005dad52dc18da80bb02d
DIST nim-0.20.2.tar.xz 5032768 BLAKE2B 583e0b5cede279a0c0a60d4209f9be6237ff5ac070c0e82a075a242d08086e59c88c2ab29cbf3d2c6d7a455709b64086afd11e4928fcc9e81979d5296ef38b64 SHA512 231d95950ca5a7abe86175f93085ea27fae493e4f8dde3c9e086993431f9517781ceffeb4f9e761eb524523df3703d0a315fe53e32bc6daea6a684bf90589282
+DIST nim-1.0.0.tar.xz 5136624 BLAKE2B 6c87755f66ace6de44aa80d78840572d3ff96c07c97c7af73cdfe395cdbbfb614ad816b7e2c6b91519dcd341694ab48390d80ac97d82db3c1c9a111e0cbadaa4 SHA512 951bbec06a6a1059214b485c5eddfa3c1be0a4ccf6ba98ac3ee624f57d36e86ae1212ffcb6d1bb7ea0938aabbe95a8a6587b140f3219ddb24ec7c93f5672266f
diff --git a/dev-lang/nim/nim-1.0.0.ebuild b/dev-lang/nim/nim-1.0.0.ebuild
new file mode 100644
index 00000000000..bb41a8721fe
--- /dev/null
+++ b/dev-lang/nim/nim-1.0.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # build nimble and friends
+ # --stable to avoid pulling HEAD nimble
+ PATH="./bin:$PATH" _run ./koch --stable tools
+
+ if use doc; then
+ PATH="./bin:$PATH" _run ./koch doc
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED%/}"
+ rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dodoc doc/html/*.html
+ fi
+
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2019-11-09 15:49 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2019-11-09 15:49 UTC (permalink / raw
To: gentoo-commits
commit: dec24f1704ec201fb34aec886136992424646b78
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 9 15:10:14 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Nov 9 15:49:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec24f17
dev-lang/nim: drop old
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 2 --
dev-lang/nim/nim-0.20.2.ebuild | 82 ------------------------------------------
dev-lang/nim/nim-1.0.0.ebuild | 82 ------------------------------------------
3 files changed, 166 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index bc63be80352..68c8fb8a0ae 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,3 +1 @@
-DIST nim-0.20.2.tar.xz 5032768 BLAKE2B 583e0b5cede279a0c0a60d4209f9be6237ff5ac070c0e82a075a242d08086e59c88c2ab29cbf3d2c6d7a455709b64086afd11e4928fcc9e81979d5296ef38b64 SHA512 231d95950ca5a7abe86175f93085ea27fae493e4f8dde3c9e086993431f9517781ceffeb4f9e761eb524523df3703d0a315fe53e32bc6daea6a684bf90589282
-DIST nim-1.0.0.tar.xz 5136624 BLAKE2B 6c87755f66ace6de44aa80d78840572d3ff96c07c97c7af73cdfe395cdbbfb614ad816b7e2c6b91519dcd341694ab48390d80ac97d82db3c1c9a111e0cbadaa4 SHA512 951bbec06a6a1059214b485c5eddfa3c1be0a4ccf6ba98ac3ee624f57d36e86ae1212ffcb6d1bb7ea0938aabbe95a8a6587b140f3219ddb24ec7c93f5672266f
DIST nim-1.0.2.tar.xz 5139712 BLAKE2B bcb0f0fa2ed6069021a6359e453def7beccb6e767e3e1111ff27d8fb2adb7351336f219a88e2450df3d4aece1dd7f6e1a8fb891aa31581c32bb2535d2cf604a7 SHA512 5d7a45efcf656d5467554c3bbf42d0c62a760ccd107cec439d8375839d2e80baadfb3f598598748ef8e1b32d3eb931caaa273f8e41bbf6f4e16c7afbef745349
diff --git a/dev-lang/nim/nim-0.20.2.ebuild b/dev-lang/nim/nim-0.20.2.ebuild
deleted file mode 100644
index bb41a8721fe..00000000000
--- a/dev-lang/nim/nim-0.20.2.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- # --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools
-
- if use doc; then
- PATH="./bin:$PATH" _run ./koch doc
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED%/}"
- rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- dodoc doc/html/*.html
- fi
-
- newbashcomp tools/nim.bash-completion ${PN}
-}
diff --git a/dev-lang/nim/nim-1.0.0.ebuild b/dev-lang/nim/nim-1.0.0.ebuild
deleted file mode 100644
index bb41a8721fe..00000000000
--- a/dev-lang/nim/nim-1.0.0.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- # --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools
-
- if use doc; then
- PATH="./bin:$PATH" _run ./koch doc
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED%/}"
- rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- dodoc doc/html/*.html
- fi
-
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2019-11-09 15:59 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2019-11-09 15:59 UTC (permalink / raw
To: gentoo-commits
commit: 7ec1c387376c18094a713e336bd033001bcbdac7
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 9 15:55:52 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Nov 9 15:59:01 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ec1c387
dev-lang/nim: drop redundant 'insinto'
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/nim-1.0.2.ebuild | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/dev-lang/nim/nim-1.0.2.ebuild b/dev-lang/nim/nim-1.0.2.ebuild
index bb41a8721fe..160171c5b09 100644
--- a/dev-lang/nim/nim-1.0.2.ebuild
+++ b/dev-lang/nim/nim-1.0.2.ebuild
@@ -60,8 +60,8 @@ src_test() {
}
src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED%/}"
- rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'"
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
exeinto /usr/bin
@@ -73,10 +73,6 @@ src_install() {
doexe "${bin_exe}"
done
- if use doc; then
- insinto /usr/share/doc/${PF}
- dodoc doc/html/*.html
- fi
-
+ use doc && dodoc doc/html/*.html
newbashcomp tools/nim.bash-completion ${PN}
}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2019-11-27 23:56 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2019-11-27 23:56 UTC (permalink / raw
To: gentoo-commits
commit: d1272d4c770921b647badb63f12c369bee9c3a27
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 27 23:55:32 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 23:56:15 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1272d4c
dev-lang/nim: bump up to 1.0.4
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.0.4.ebuild | 78 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 68c8fb8a0ae..621b3396629 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-1.0.2.tar.xz 5139712 BLAKE2B bcb0f0fa2ed6069021a6359e453def7beccb6e767e3e1111ff27d8fb2adb7351336f219a88e2450df3d4aece1dd7f6e1a8fb891aa31581c32bb2535d2cf604a7 SHA512 5d7a45efcf656d5467554c3bbf42d0c62a760ccd107cec439d8375839d2e80baadfb3f598598748ef8e1b32d3eb931caaa273f8e41bbf6f4e16c7afbef745349
+DIST nim-1.0.4.tar.xz 5161396 BLAKE2B ff6f5b51775bfc8e83cf5ed91bf70d63d6af40cb8802d765b27a306d6a1c93ecbd4de64edfe9537b659c89c62c92ab46008d55616c7143fa9b8adaa4e905aa66 SHA512 0614259372500da4e5d67822d3caeec4c9ec6b1a06494768cfaff1db960484c1e9c1aafe70b05d1ac07b5f22d8ff57214f455e95dba26a5648d2186f13d1265a
diff --git a/dev-lang/nim/nim-1.0.4.ebuild b/dev-lang/nim/nim-1.0.4.ebuild
new file mode 100644
index 00000000000..160171c5b09
--- /dev/null
+++ b/dev-lang/nim/nim-1.0.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # build nimble and friends
+ # --stable to avoid pulling HEAD nimble
+ PATH="./bin:$PATH" _run ./koch --stable tools
+
+ if use doc; then
+ PATH="./bin:$PATH" _run ./koch doc
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ use doc && dodoc doc/html/*.html
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-01-29 0:12 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-01-29 0:12 UTC (permalink / raw
To: gentoo-commits
commit: fa753b1f6d3f193fa2752e22bb9391ad77b9802e
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 29 00:11:36 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jan 29 00:11:58 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa753b1f
dev-lang/nim: bump up to 1.0.6
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.0.6.ebuild | 78 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 621b3396629..cf27238f3ec 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1,3 @@
DIST nim-1.0.2.tar.xz 5139712 BLAKE2B bcb0f0fa2ed6069021a6359e453def7beccb6e767e3e1111ff27d8fb2adb7351336f219a88e2450df3d4aece1dd7f6e1a8fb891aa31581c32bb2535d2cf604a7 SHA512 5d7a45efcf656d5467554c3bbf42d0c62a760ccd107cec439d8375839d2e80baadfb3f598598748ef8e1b32d3eb931caaa273f8e41bbf6f4e16c7afbef745349
DIST nim-1.0.4.tar.xz 5161396 BLAKE2B ff6f5b51775bfc8e83cf5ed91bf70d63d6af40cb8802d765b27a306d6a1c93ecbd4de64edfe9537b659c89c62c92ab46008d55616c7143fa9b8adaa4e905aa66 SHA512 0614259372500da4e5d67822d3caeec4c9ec6b1a06494768cfaff1db960484c1e9c1aafe70b05d1ac07b5f22d8ff57214f455e95dba26a5648d2186f13d1265a
+DIST nim-1.0.6.tar.xz 5153708 BLAKE2B c3263d4cf19629093306fa93decf038d8b19b8d810b7e782f84708b6771e2950554cda7c6f3d63e8dc6d2b604649fd31bd7009e51bea49ae556aa973cefc4167 SHA512 8da5281a8d93349996cbbe445e21fa9525c56e5721578ede2ae0f668cb2f29641db7d50a1b1a3e2c404ce56cb83dca10df5cbc84983242646a735b8f58d05f80
diff --git a/dev-lang/nim/nim-1.0.6.ebuild b/dev-lang/nim/nim-1.0.6.ebuild
new file mode 100644
index 00000000000..05a23695168
--- /dev/null
+++ b/dev-lang/nim/nim-1.0.6.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # build nimble and friends
+ # --stable to avoid pulling HEAD nimble
+ PATH="./bin:$PATH" _run ./koch --stable tools
+
+ if use doc; then
+ PATH="./bin:$PATH" _run ./koch doc
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ use doc && dodoc doc/html/*.html
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-02-12 22:32 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-02-12 22:32 UTC (permalink / raw
To: gentoo-commits
commit: 952db7b03d6452e901f0f0a5adfec2980654a941
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 22:28:24 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 22:32:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=952db7b0
dev-lang/nim: drop old
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 2 --
dev-lang/nim/nim-1.0.2.ebuild | 78 -------------------------------------------
dev-lang/nim/nim-1.0.4.ebuild | 78 -------------------------------------------
3 files changed, 158 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index cf27238f3ec..fec632e8c2c 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,3 +1 @@
-DIST nim-1.0.2.tar.xz 5139712 BLAKE2B bcb0f0fa2ed6069021a6359e453def7beccb6e767e3e1111ff27d8fb2adb7351336f219a88e2450df3d4aece1dd7f6e1a8fb891aa31581c32bb2535d2cf604a7 SHA512 5d7a45efcf656d5467554c3bbf42d0c62a760ccd107cec439d8375839d2e80baadfb3f598598748ef8e1b32d3eb931caaa273f8e41bbf6f4e16c7afbef745349
-DIST nim-1.0.4.tar.xz 5161396 BLAKE2B ff6f5b51775bfc8e83cf5ed91bf70d63d6af40cb8802d765b27a306d6a1c93ecbd4de64edfe9537b659c89c62c92ab46008d55616c7143fa9b8adaa4e905aa66 SHA512 0614259372500da4e5d67822d3caeec4c9ec6b1a06494768cfaff1db960484c1e9c1aafe70b05d1ac07b5f22d8ff57214f455e95dba26a5648d2186f13d1265a
DIST nim-1.0.6.tar.xz 5153708 BLAKE2B c3263d4cf19629093306fa93decf038d8b19b8d810b7e782f84708b6771e2950554cda7c6f3d63e8dc6d2b604649fd31bd7009e51bea49ae556aa973cefc4167 SHA512 8da5281a8d93349996cbbe445e21fa9525c56e5721578ede2ae0f668cb2f29641db7d50a1b1a3e2c404ce56cb83dca10df5cbc84983242646a735b8f58d05f80
diff --git a/dev-lang/nim/nim-1.0.2.ebuild b/dev-lang/nim/nim-1.0.2.ebuild
deleted file mode 100644
index 160171c5b09..00000000000
--- a/dev-lang/nim/nim-1.0.2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- # --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools
-
- if use doc; then
- PATH="./bin:$PATH" _run ./koch doc
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- use doc && dodoc doc/html/*.html
- newbashcomp tools/nim.bash-completion ${PN}
-}
diff --git a/dev-lang/nim/nim-1.0.4.ebuild b/dev-lang/nim/nim-1.0.4.ebuild
deleted file mode 100644
index 160171c5b09..00000000000
--- a/dev-lang/nim/nim-1.0.4.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- # --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools
-
- if use doc; then
- PATH="./bin:$PATH" _run ./koch doc
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- use doc && dodoc doc/html/*.html
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-02-26 17:39 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-02-26 17:39 UTC (permalink / raw
To: gentoo-commits
commit: e7466b773cfd2c282debcde8342bd74700220037
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 26 17:39:32 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 17:39:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7466b77
dev-lang/nim: pass '--parallelBuild:' everywhere, bug #649502
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/649502
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/nim-1.0.6.ebuild | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dev-lang/nim/nim-1.0.6.ebuild b/dev-lang/nim/nim-1.0.6.ebuild
index 05a23695168..3f1e8966eb0 100644
--- a/dev-lang/nim/nim-1.0.6.ebuild
+++ b/dev-lang/nim/nim-1.0.6.ebuild
@@ -48,15 +48,16 @@ src_compile() {
_run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
# build nimble and friends
# --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools
+ PATH="./bin:$PATH" _run ./koch --stable tools --parallelBuild:$(makeopts_jobs)
if use doc; then
- PATH="./bin:$PATH" _run ./koch doc
+ # TODO: '--parallelBuild:' does ont seem to work
+ PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
fi
}
src_test() {
- PATH="./bin:$PATH" _run ./koch test
+ PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
}
src_install() {
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-04-04 20:18 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-04-04 20:18 UTC (permalink / raw
To: gentoo-commits
commit: 0a1df79ca6c78ffe8eaedf546f0693adc9d2fe0c
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 4 20:18:04 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Apr 4 20:18:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1df79c
dev-lang/nim: bump up to 1.2.0
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.2.0.ebuild | 79 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index fec632e8c2c..ddbc7cb7992 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-1.0.6.tar.xz 5153708 BLAKE2B c3263d4cf19629093306fa93decf038d8b19b8d810b7e782f84708b6771e2950554cda7c6f3d63e8dc6d2b604649fd31bd7009e51bea49ae556aa973cefc4167 SHA512 8da5281a8d93349996cbbe445e21fa9525c56e5721578ede2ae0f668cb2f29641db7d50a1b1a3e2c404ce56cb83dca10df5cbc84983242646a735b8f58d05f80
+DIST nim-1.2.0.tar.xz 5869428 BLAKE2B 7bc979cc6c0170dd4c320cc9fae6f992463e828c11c33133d9afa2e7022f8f6f09bc54efdf9648b22b244df00b0d6d86892cdfc2e0a9e1718a068abaffac235f SHA512 7803a0e11a0e83d442c06af6135b446329bb005c2717aabd03c82b80d9dcac5305ae67972129fd830e91251ce4c746b805ccbf0bb220873b39faf4f342cbaf6f
diff --git a/dev-lang/nim/nim-1.2.0.ebuild b/dev-lang/nim/nim-1.2.0.ebuild
new file mode 100644
index 00000000000..3f1e8966eb0
--- /dev/null
+++ b/dev-lang/nim/nim-1.2.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_compile() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # build nimble and friends
+ # --stable to avoid pulling HEAD nimble
+ PATH="./bin:$PATH" _run ./koch --stable tools --parallelBuild:$(makeopts_jobs)
+
+ if use doc; then
+ # TODO: '--parallelBuild:' does ont seem to work
+ PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ use doc && dodoc doc/html/*.html
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-05-02 17:51 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-05-02 17:51 UTC (permalink / raw
To: gentoo-commits
commit: 1b91ab9caa18569da3b24a8d77a69c5c88469a06
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat May 2 17:46:33 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat May 2 17:51:31 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b91ab9c
dev-lang/nim: drop old
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.0.6.ebuild | 79 -------------------------------------------
2 files changed, 80 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index ddbc7cb7992..dd09149b8d8 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1 @@
-DIST nim-1.0.6.tar.xz 5153708 BLAKE2B c3263d4cf19629093306fa93decf038d8b19b8d810b7e782f84708b6771e2950554cda7c6f3d63e8dc6d2b604649fd31bd7009e51bea49ae556aa973cefc4167 SHA512 8da5281a8d93349996cbbe445e21fa9525c56e5721578ede2ae0f668cb2f29641db7d50a1b1a3e2c404ce56cb83dca10df5cbc84983242646a735b8f58d05f80
DIST nim-1.2.0.tar.xz 5869428 BLAKE2B 7bc979cc6c0170dd4c320cc9fae6f992463e828c11c33133d9afa2e7022f8f6f09bc54efdf9648b22b244df00b0d6d86892cdfc2e0a9e1718a068abaffac235f SHA512 7803a0e11a0e83d442c06af6135b446329bb005c2717aabd03c82b80d9dcac5305ae67972129fd830e91251ce4c746b805ccbf0bb220873b39faf4f342cbaf6f
diff --git a/dev-lang/nim/nim-1.0.6.ebuild b/dev-lang/nim/nim-1.0.6.ebuild
deleted file mode 100644
index 3f1e8966eb0..00000000000
--- a/dev-lang/nim/nim-1.0.6.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_compile() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- # --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools --parallelBuild:$(makeopts_jobs)
-
- if use doc; then
- # TODO: '--parallelBuild:' does ont seem to work
- PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- use doc && dodoc doc/html/*.html
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-05-24 22:10 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-05-24 22:10 UTC (permalink / raw
To: gentoo-commits
commit: 239f1fd723d0dd2c767e644c0c728a7a4eb030f3
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun May 24 22:10:44 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun May 24 22:10:52 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239f1fd7
dev-lang/nim: use $CC instead of 'gcc', bug #722958
Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/722958
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/nim-1.2.0.ebuild | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dev-lang/nim/nim-1.2.0.ebuild b/dev-lang/nim/nim-1.2.0.ebuild
index 3f1e8966eb0..78fadad3c55 100644
--- a/dev-lang/nim/nim-1.2.0.ebuild
+++ b/dev-lang/nim/nim-1.2.0.ebuild
@@ -38,10 +38,17 @@ nim_use_enable() {
use $1 && echo "-d:$2"
}
-src_compile() {
+src_configure() {
export XDG_CACHE_HOME=${T}/cache #667182
tc-export CC LD
+ # Override default CC=gcc.
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+
_run ./build.sh
_run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-06-17 21:47 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-06-17 21:47 UTC (permalink / raw
To: gentoo-commits
commit: 2b3f1d113a879013d903f6f915b8c147d6cb719d
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 17 21:47:04 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jun 17 21:47:21 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b3f1d11
dev-lang/nim: bump up to 1.2.2
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.2.2.ebuild | 86 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index dd09149b8d8..95f141e839d 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-1.2.0.tar.xz 5869428 BLAKE2B 7bc979cc6c0170dd4c320cc9fae6f992463e828c11c33133d9afa2e7022f8f6f09bc54efdf9648b22b244df00b0d6d86892cdfc2e0a9e1718a068abaffac235f SHA512 7803a0e11a0e83d442c06af6135b446329bb005c2717aabd03c82b80d9dcac5305ae67972129fd830e91251ce4c746b805ccbf0bb220873b39faf4f342cbaf6f
+DIST nim-1.2.2.tar.xz 5680316 BLAKE2B e7c0b2d3f4624f4287c364bc7e9571c21bd41327ab35ef4f6c23b0d1e70ad3e41fa944464299b252faac4fe34a8a15625ef732083a41a02cc5686892162b6f4d SHA512 95f7b03a091113382298d438d27641cf612fc187a29bda66c3b88a4b6d29f5c20a33dd22c63cbd402f4ccd921bf05fbd144a8bea9c6155ab865b4b5d14b93a13
diff --git a/dev-lang/nim/nim-1.2.2.ebuild b/dev-lang/nim/nim-1.2.2.ebuild
new file mode 100644
index 00000000000..78fadad3c55
--- /dev/null
+++ b/dev-lang/nim/nim-1.2.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_configure() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ # Override default CC=gcc.
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # build nimble and friends
+ # --stable to avoid pulling HEAD nimble
+ PATH="./bin:$PATH" _run ./koch --stable tools --parallelBuild:$(makeopts_jobs)
+
+ if use doc; then
+ # TODO: '--parallelBuild:' does ont seem to work
+ PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ use doc && dodoc doc/html/*.html
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-06-20 19:49 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-06-20 19:49 UTC (permalink / raw
To: gentoo-commits
commit: 5957e0fc4fc4b3ab3637da7bae8a9e9985a44a9a
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 20 19:48:08 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 20 19:49:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5957e0fc
dev-lang/nim: drop old
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.2.0.ebuild | 86 -------------------------------------------
2 files changed, 87 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 95f141e839d..043f24f7955 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1 @@
-DIST nim-1.2.0.tar.xz 5869428 BLAKE2B 7bc979cc6c0170dd4c320cc9fae6f992463e828c11c33133d9afa2e7022f8f6f09bc54efdf9648b22b244df00b0d6d86892cdfc2e0a9e1718a068abaffac235f SHA512 7803a0e11a0e83d442c06af6135b446329bb005c2717aabd03c82b80d9dcac5305ae67972129fd830e91251ce4c746b805ccbf0bb220873b39faf4f342cbaf6f
DIST nim-1.2.2.tar.xz 5680316 BLAKE2B e7c0b2d3f4624f4287c364bc7e9571c21bd41327ab35ef4f6c23b0d1e70ad3e41fa944464299b252faac4fe34a8a15625ef732083a41a02cc5686892162b6f4d SHA512 95f7b03a091113382298d438d27641cf612fc187a29bda66c3b88a4b6d29f5c20a33dd22c63cbd402f4ccd921bf05fbd144a8bea9c6155ab865b4b5d14b93a13
diff --git a/dev-lang/nim/nim-1.2.0.ebuild b/dev-lang/nim/nim-1.2.0.ebuild
deleted file mode 100644
index 78fadad3c55..00000000000
--- a/dev-lang/nim/nim-1.2.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_configure() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- # Override default CC=gcc.
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- # --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools --parallelBuild:$(makeopts_jobs)
-
- if use doc; then
- # TODO: '--parallelBuild:' does ont seem to work
- PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- use doc && dodoc doc/html/*.html
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-06-27 18:49 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-06-27 18:49 UTC (permalink / raw
To: gentoo-commits
commit: 240bc36a7ba767aedc7fd43350779304089470f6
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 27 18:38:07 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 27 18:49:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=240bc36a
dev-lang/nim: bump up to 1.2.4
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.2.4.ebuild | 86 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 043f24f7955..7ef15cd44d7 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-1.2.2.tar.xz 5680316 BLAKE2B e7c0b2d3f4624f4287c364bc7e9571c21bd41327ab35ef4f6c23b0d1e70ad3e41fa944464299b252faac4fe34a8a15625ef732083a41a02cc5686892162b6f4d SHA512 95f7b03a091113382298d438d27641cf612fc187a29bda66c3b88a4b6d29f5c20a33dd22c63cbd402f4ccd921bf05fbd144a8bea9c6155ab865b4b5d14b93a13
+DIST nim-1.2.4.tar.xz 5680128 BLAKE2B d8bb186862bf8c8e7e20dd5d1035013c6d48de777512658736ddcd49723e5789dc1e8fe6b5dc8bfbda36d204aeaeba3fdb4e10c6d7955fdc47d9fe78ce17082c SHA512 ed5dd7a744229685c9c034700eb0f7d7c51030ea344c1c371cf2731632fd3376b577a3a9731ed79d65a8fb69f3507a8a88408f2e5c46359a8bbd3b3092d991cc
diff --git a/dev-lang/nim/nim-1.2.4.ebuild b/dev-lang/nim/nim-1.2.4.ebuild
new file mode 100644
index 00000000000..78fadad3c55
--- /dev/null
+++ b/dev-lang/nim/nim-1.2.4.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_configure() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ # Override default CC=gcc.
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # build nimble and friends
+ # --stable to avoid pulling HEAD nimble
+ PATH="./bin:$PATH" _run ./koch --stable tools --parallelBuild:$(makeopts_jobs)
+
+ if use doc; then
+ # TODO: '--parallelBuild:' does ont seem to work
+ PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ use doc && dodoc doc/html/*.html
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-06-28 22:43 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-06-28 22:43 UTC (permalink / raw
To: gentoo-commits
commit: 31823df6e0e369700e8790e80e922ba0ff59bf6d
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 28 22:39:05 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jun 28 22:43:28 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31823df6
dev-lang/nim: drop old
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.2.2.ebuild | 86 -------------------------------------------
2 files changed, 87 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 7ef15cd44d7..cf08663261a 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1 @@
-DIST nim-1.2.2.tar.xz 5680316 BLAKE2B e7c0b2d3f4624f4287c364bc7e9571c21bd41327ab35ef4f6c23b0d1e70ad3e41fa944464299b252faac4fe34a8a15625ef732083a41a02cc5686892162b6f4d SHA512 95f7b03a091113382298d438d27641cf612fc187a29bda66c3b88a4b6d29f5c20a33dd22c63cbd402f4ccd921bf05fbd144a8bea9c6155ab865b4b5d14b93a13
DIST nim-1.2.4.tar.xz 5680128 BLAKE2B d8bb186862bf8c8e7e20dd5d1035013c6d48de777512658736ddcd49723e5789dc1e8fe6b5dc8bfbda36d204aeaeba3fdb4e10c6d7955fdc47d9fe78ce17082c SHA512 ed5dd7a744229685c9c034700eb0f7d7c51030ea344c1c371cf2731632fd3376b577a3a9731ed79d65a8fb69f3507a8a88408f2e5c46359a8bbd3b3092d991cc
diff --git a/dev-lang/nim/nim-1.2.2.ebuild b/dev-lang/nim/nim-1.2.2.ebuild
deleted file mode 100644
index 78fadad3c55..00000000000
--- a/dev-lang/nim/nim-1.2.2.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_configure() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- # Override default CC=gcc.
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- # --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools --parallelBuild:$(makeopts_jobs)
-
- if use doc; then
- # TODO: '--parallelBuild:' does ont seem to work
- PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- use doc && dodoc doc/html/*.html
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-07-31 22:53 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-07-31 22:53 UTC (permalink / raw
To: gentoo-commits
commit: 2c23391ce06682d82c5ea1de6f458323b9b8dcc7
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 31 22:52:38 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jul 31 22:53:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c23391c
dev-lang/nim: bump up to 1.2.6
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.2.6.ebuild | 86 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index cf08663261a..43759856369 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-1.2.4.tar.xz 5680128 BLAKE2B d8bb186862bf8c8e7e20dd5d1035013c6d48de777512658736ddcd49723e5789dc1e8fe6b5dc8bfbda36d204aeaeba3fdb4e10c6d7955fdc47d9fe78ce17082c SHA512 ed5dd7a744229685c9c034700eb0f7d7c51030ea344c1c371cf2731632fd3376b577a3a9731ed79d65a8fb69f3507a8a88408f2e5c46359a8bbd3b3092d991cc
+DIST nim-1.2.6.tar.xz 5688752 BLAKE2B 8865df1c508b9c21a2808c0eed8c6cd294f57829e8b75a3c3b70964b45ae7a29ae1670763447ba4f7135ce8ef55e696db1a5cd0a9d563d2174c7212c41d9d268 SHA512 ef59bbb0d4b05bd13624ea7da7182f1d73ffb31c7b34f5928b7e0411809fd70d1898fba9bb02441dc9ce802cd8accaf59448aef5b457e64de73c2ffbbcd53fbc
diff --git a/dev-lang/nim/nim-1.2.6.ebuild b/dev-lang/nim/nim-1.2.6.ebuild
new file mode 100644
index 00000000000..78fadad3c55
--- /dev/null
+++ b/dev-lang/nim/nim-1.2.6.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_configure() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ # Override default CC=gcc.
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # build nimble and friends
+ # --stable to avoid pulling HEAD nimble
+ PATH="./bin:$PATH" _run ./koch --stable tools --parallelBuild:$(makeopts_jobs)
+
+ if use doc; then
+ # TODO: '--parallelBuild:' does ont seem to work
+ PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ use doc && dodoc doc/html/*.html
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-08-01 15:35 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-08-01 15:35 UTC (permalink / raw
To: gentoo-commits
commit: d7d04b682c664e84cf1425a2dc8fb4ad6ab708d8
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 1 15:35:14 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug 1 15:35:14 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7d04b68
dev-lang/nim: drop old
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.2.4.ebuild | 86 -------------------------------------------
2 files changed, 87 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 43759856369..535bf9a5e29 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1 @@
-DIST nim-1.2.4.tar.xz 5680128 BLAKE2B d8bb186862bf8c8e7e20dd5d1035013c6d48de777512658736ddcd49723e5789dc1e8fe6b5dc8bfbda36d204aeaeba3fdb4e10c6d7955fdc47d9fe78ce17082c SHA512 ed5dd7a744229685c9c034700eb0f7d7c51030ea344c1c371cf2731632fd3376b577a3a9731ed79d65a8fb69f3507a8a88408f2e5c46359a8bbd3b3092d991cc
DIST nim-1.2.6.tar.xz 5688752 BLAKE2B 8865df1c508b9c21a2808c0eed8c6cd294f57829e8b75a3c3b70964b45ae7a29ae1670763447ba4f7135ce8ef55e696db1a5cd0a9d563d2174c7212c41d9d268 SHA512 ef59bbb0d4b05bd13624ea7da7182f1d73ffb31c7b34f5928b7e0411809fd70d1898fba9bb02441dc9ce802cd8accaf59448aef5b457e64de73c2ffbbcd53fbc
diff --git a/dev-lang/nim/nim-1.2.4.ebuild b/dev-lang/nim/nim-1.2.4.ebuild
deleted file mode 100644
index 78fadad3c55..00000000000
--- a/dev-lang/nim/nim-1.2.4.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_configure() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- # Override default CC=gcc.
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- # --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools --parallelBuild:$(makeopts_jobs)
-
- if use doc; then
- # TODO: '--parallelBuild:' does ont seem to work
- PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- use doc && dodoc doc/html/*.html
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-10-16 21:12 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-10-16 21:12 UTC (permalink / raw
To: gentoo-commits
commit: 3cb8d58cd1fcc57071b73429729644b6e412cf96
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 16 20:59:54 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Oct 16 21:12:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb8d58c
dev-lang/nim: bump up to 1.4.0
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.4.0.ebuild | 85 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 535bf9a5e29..c2d866bfe8c 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-1.2.6.tar.xz 5688752 BLAKE2B 8865df1c508b9c21a2808c0eed8c6cd294f57829e8b75a3c3b70964b45ae7a29ae1670763447ba4f7135ce8ef55e696db1a5cd0a9d563d2174c7212c41d9d268 SHA512 ef59bbb0d4b05bd13624ea7da7182f1d73ffb31c7b34f5928b7e0411809fd70d1898fba9bb02441dc9ce802cd8accaf59448aef5b457e64de73c2ffbbcd53fbc
+DIST nim-1.4.0.tar.xz 4626604 BLAKE2B 09417508b840d4cb522006f0dddd8799cb235db5f4e2f18fdf970ffa4d845998e498c005843cc994e15f8bea992b5341c8bce667208c68bf81ce3f5e650627bc SHA512 aa0cd5aef16ad5e793dc2c021404c1f0b89b35829f155ada4c0795d980de722493fb4e3da45373e6f2597b5af71140f5ecdfd5b06aa26e9afd2eb5d3f2cab8df
diff --git a/dev-lang/nim/nim-1.4.0.ebuild b/dev-lang/nim/nim-1.4.0.ebuild
new file mode 100644
index 00000000000..61c6fc1c860
--- /dev/null
+++ b/dev-lang/nim/nim-1.4.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_configure() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ # Override default CC=gcc.
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ # --stable to avoid pulling HEAD, toolsNoExternal to avoid pulling nimble from git
+ PATH="./bin:$PATH" _run ./koch --stable toolsNoExternal --parallelBuild:$(makeopts_jobs)
+
+ if use doc; then
+ # TODO: '--parallelBuild:' does ont seem to work
+ PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ use doc && dodoc doc/html/*.html
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-10-18 12:31 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-10-18 12:31 UTC (permalink / raw
To: gentoo-commits
commit: 16529b3e9b3bb61a64e74ef9ab6682bb58d3a350
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 18 12:29:30 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Oct 18 12:31:27 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16529b3e
dev-lang/nim: drop old
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.2.6.ebuild | 86 -------------------------------------------
2 files changed, 87 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index c2d866bfe8c..fefbe21022b 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1 @@
-DIST nim-1.2.6.tar.xz 5688752 BLAKE2B 8865df1c508b9c21a2808c0eed8c6cd294f57829e8b75a3c3b70964b45ae7a29ae1670763447ba4f7135ce8ef55e696db1a5cd0a9d563d2174c7212c41d9d268 SHA512 ef59bbb0d4b05bd13624ea7da7182f1d73ffb31c7b34f5928b7e0411809fd70d1898fba9bb02441dc9ce802cd8accaf59448aef5b457e64de73c2ffbbcd53fbc
DIST nim-1.4.0.tar.xz 4626604 BLAKE2B 09417508b840d4cb522006f0dddd8799cb235db5f4e2f18fdf970ffa4d845998e498c005843cc994e15f8bea992b5341c8bce667208c68bf81ce3f5e650627bc SHA512 aa0cd5aef16ad5e793dc2c021404c1f0b89b35829f155ada4c0795d980de722493fb4e3da45373e6f2597b5af71140f5ecdfd5b06aa26e9afd2eb5d3f2cab8df
diff --git a/dev-lang/nim/nim-1.2.6.ebuild b/dev-lang/nim/nim-1.2.6.ebuild
deleted file mode 100644
index 78fadad3c55..00000000000
--- a/dev-lang/nim/nim-1.2.6.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_configure() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- # Override default CC=gcc.
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # build nimble and friends
- # --stable to avoid pulling HEAD nimble
- PATH="./bin:$PATH" _run ./koch --stable tools --parallelBuild:$(makeopts_jobs)
-
- if use doc; then
- # TODO: '--parallelBuild:' does ont seem to work
- PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- use doc && dodoc doc/html/*.html
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-12-04 0:35 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-12-04 0:35 UTC (permalink / raw
To: gentoo-commits
commit: 62efaec77fa10f6a5d44cef700300b659d8b48d6
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 4 00:29:58 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Dec 4 00:35:35 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62efaec7
dev-lang/nim: bump up to 1.4.2
Among other things nimble source is bundled again and
we can build it by default.
Reported-by: Anthony Parsons
Closes: https://bugs.gentoo.org/752411
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.4.2.ebuild | 84 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index fefbe21022b..7ddfaada80f 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-1.4.0.tar.xz 4626604 BLAKE2B 09417508b840d4cb522006f0dddd8799cb235db5f4e2f18fdf970ffa4d845998e498c005843cc994e15f8bea992b5341c8bce667208c68bf81ce3f5e650627bc SHA512 aa0cd5aef16ad5e793dc2c021404c1f0b89b35829f155ada4c0795d980de722493fb4e3da45373e6f2597b5af71140f5ecdfd5b06aa26e9afd2eb5d3f2cab8df
+DIST nim-1.4.2.tar.xz 4770616 BLAKE2B 95561a22fedaa1eb42f099589b7b13e6833d1804d1d9bf8c4ec6514a4db89622d7f678b19ce9bed1c3ac5dffa3956b73e6b12fa6335f8e39a8b0dee90ae50457 SHA512 a357eaa5ef6c71b296fe6c53ed25be8b864a2895871a4ef6f23f2d31ce1c17d6dfb12eaf2bb8e71d122b7cf46746873109f424388ac2b6e84826699c1c5493fe
diff --git a/dev-lang/nim/nim-1.4.2.ebuild b/dev-lang/nim/nim-1.4.2.ebuild
new file mode 100644
index 00000000000..75756c7f47d
--- /dev/null
+++ b/dev-lang/nim/nim-1.4.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_configure() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ # Override default CC=gcc.
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ PATH="./bin:$PATH" _run ./koch tools --parallelBuild:$(makeopts_jobs)
+
+ if use doc; then
+ # TODO: '--parallelBuild:' does ont seem to work
+ PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
+ fi
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ use doc && dodoc doc/html/*.html
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-12-04 15:27 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-12-04 15:27 UTC (permalink / raw
To: gentoo-commits
commit: 337c113908447f8bb1537869d33e4f379345c85f
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 4 15:27:21 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Dec 4 15:27:45 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337c1139
dev-lang/nim: honor user's CXX
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/nim-1.4.2.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-lang/nim/nim-1.4.2.ebuild b/dev-lang/nim/nim-1.4.2.ebuild
index 75756c7f47d..22f583057d9 100644
--- a/dev-lang/nim/nim-1.4.2.ebuild
+++ b/dev-lang/nim/nim-1.4.2.ebuild
@@ -45,6 +45,8 @@ src_configure() {
# Override default CC=gcc.
echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
}
src_compile() {
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-12-04 20:58 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-12-04 20:58 UTC (permalink / raw
To: gentoo-commits
commit: de77e35a4100274d865926fb66f96daf218e9f0d
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 4 20:57:55 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Dec 4 20:57:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de77e35a
dev-lang/nim: drop USE=doc to avoid network access
Reported-by: Helmut Jarausch
Closes: https://bugs.gentoo.org/752117
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/nim-1.4.2.ebuild | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/dev-lang/nim/nim-1.4.2.ebuild b/dev-lang/nim/nim-1.4.2.ebuild
index 22f583057d9..9a273afb627 100644
--- a/dev-lang/nim/nim-1.4.2.ebuild
+++ b/dev-lang/nim/nim-1.4.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
+IUSE="+readline test"
RESTRICT=test # need to sort out depends and numerous failures
@@ -56,11 +56,6 @@ src_compile() {
_run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
_run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
PATH="./bin:$PATH" _run ./koch tools --parallelBuild:$(makeopts_jobs)
-
- if use doc; then
- # TODO: '--parallelBuild:' does ont seem to work
- PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
- fi
}
src_test() {
@@ -81,6 +76,5 @@ src_install() {
doexe "${bin_exe}"
done
- use doc && dodoc doc/html/*.html
newbashcomp tools/nim.bash-completion ${PN}
}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2020-12-12 21:30 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2020-12-12 21:30 UTC (permalink / raw
To: gentoo-commits
commit: 9f38164ad10438e074c2eb06ec16a04670dfff48
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 12 21:30:37 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Dec 12 21:30:37 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f38164a
dev-lang/nim: drop old
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.4.0.ebuild | 85 -------------------------------------------
2 files changed, 86 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 7ddfaada80f..a8f288975e8 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1 @@
-DIST nim-1.4.0.tar.xz 4626604 BLAKE2B 09417508b840d4cb522006f0dddd8799cb235db5f4e2f18fdf970ffa4d845998e498c005843cc994e15f8bea992b5341c8bce667208c68bf81ce3f5e650627bc SHA512 aa0cd5aef16ad5e793dc2c021404c1f0b89b35829f155ada4c0795d980de722493fb4e3da45373e6f2597b5af71140f5ecdfd5b06aa26e9afd2eb5d3f2cab8df
DIST nim-1.4.2.tar.xz 4770616 BLAKE2B 95561a22fedaa1eb42f099589b7b13e6833d1804d1d9bf8c4ec6514a4db89622d7f678b19ce9bed1c3ac5dffa3956b73e6b12fa6335f8e39a8b0dee90ae50457 SHA512 a357eaa5ef6c71b296fe6c53ed25be8b864a2895871a4ef6f23f2d31ce1c17d6dfb12eaf2bb8e71d122b7cf46746873109f424388ac2b6e84826699c1c5493fe
diff --git a/dev-lang/nim/nim-1.4.0.ebuild b/dev-lang/nim/nim-1.4.0.ebuild
deleted file mode 100644
index 61c6fc1c860..00000000000
--- a/dev-lang/nim/nim-1.4.0.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_configure() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- # Override default CC=gcc.
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- # --stable to avoid pulling HEAD, toolsNoExternal to avoid pulling nimble from git
- PATH="./bin:$PATH" _run ./koch --stable toolsNoExternal --parallelBuild:$(makeopts_jobs)
-
- if use doc; then
- # TODO: '--parallelBuild:' does ont seem to work
- PATH="./bin:$PATH" _run ./koch doc --parallelBuild:$(makeopts_jobs)
- fi
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- use doc && dodoc doc/html/*.html
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2021-02-24 8:16 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2021-02-24 8:16 UTC (permalink / raw
To: gentoo-commits
commit: bc9a087710d64005c348119993cf854ed97c5dbf
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 24 08:12:16 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Feb 24 08:16:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc9a0877
dev-lang/nim: bump up to 1.4.4
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.4.4.ebuild | 80 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index a8f288975e8..e5aeb22470f 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-1.4.2.tar.xz 4770616 BLAKE2B 95561a22fedaa1eb42f099589b7b13e6833d1804d1d9bf8c4ec6514a4db89622d7f678b19ce9bed1c3ac5dffa3956b73e6b12fa6335f8e39a8b0dee90ae50457 SHA512 a357eaa5ef6c71b296fe6c53ed25be8b864a2895871a4ef6f23f2d31ce1c17d6dfb12eaf2bb8e71d122b7cf46746873109f424388ac2b6e84826699c1c5493fe
+DIST nim-1.4.4.tar.xz 4686420 BLAKE2B ad59365b07c04bace859f18f5bbbc8178e21ae69ab7e87dd68d80f6c95bbfdb6e738057e543c4fb562af07cc2085204c1a4f6a2bf7c0352f51f6b46f3cb680d1 SHA512 42db962295a6014ccb3e2df3c07248a3abac863169f16af0c947dc97ca1ada683484f95773dc5fc11118001e9a48f116787d34d71aa77bef18877ce04e1f4fe9
diff --git a/dev-lang/nim/nim-1.4.4.ebuild b/dev-lang/nim/nim-1.4.4.ebuild
new file mode 100644
index 00000000000..3c52ea807c2
--- /dev/null
+++ b/dev-lang/nim/nim-1.4.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_configure() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ # Override default CC=gcc.
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ PATH="./bin:$PATH" _run ./koch tools --parallelBuild:$(makeopts_jobs)
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2021-02-26 10:25 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2021-02-26 10:25 UTC (permalink / raw
To: gentoo-commits
commit: e42637aeece7bb0e03e08dfec4e5a5331b8fb302
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 26 10:23:57 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Feb 26 10:25:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42637ae
dev-lang/nim: drop old
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.4.2.ebuild | 80 -------------------------------------------
2 files changed, 81 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index e5aeb22470f..575d3bc3c0a 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1 @@
-DIST nim-1.4.2.tar.xz 4770616 BLAKE2B 95561a22fedaa1eb42f099589b7b13e6833d1804d1d9bf8c4ec6514a4db89622d7f678b19ce9bed1c3ac5dffa3956b73e6b12fa6335f8e39a8b0dee90ae50457 SHA512 a357eaa5ef6c71b296fe6c53ed25be8b864a2895871a4ef6f23f2d31ce1c17d6dfb12eaf2bb8e71d122b7cf46746873109f424388ac2b6e84826699c1c5493fe
DIST nim-1.4.4.tar.xz 4686420 BLAKE2B ad59365b07c04bace859f18f5bbbc8178e21ae69ab7e87dd68d80f6c95bbfdb6e738057e543c4fb562af07cc2085204c1a4f6a2bf7c0352f51f6b46f3cb680d1 SHA512 42db962295a6014ccb3e2df3c07248a3abac863169f16af0c947dc97ca1ada683484f95773dc5fc11118001e9a48f116787d34d71aa77bef18877ce04e1f4fe9
diff --git a/dev-lang/nim/nim-1.4.2.ebuild b/dev-lang/nim/nim-1.4.2.ebuild
deleted file mode 100644
index 9a273afb627..00000000000
--- a/dev-lang/nim/nim-1.4.2.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_configure() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- # Override default CC=gcc.
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
- echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- PATH="./bin:$PATH" _run ./koch tools --parallelBuild:$(makeopts_jobs)
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2021-04-16 19:18 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2021-04-16 19:18 UTC (permalink / raw
To: gentoo-commits
commit: ffebfe8d8dc47a07f25b3b38081c6b0245cd21a5
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 16 19:16:51 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Apr 16 19:18:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffebfe8d
dev-lang/nim: bump up to 1.4.6
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.4.6.ebuild | 80 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 575d3bc3c0a..b0aab216c52 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-1.4.4.tar.xz 4686420 BLAKE2B ad59365b07c04bace859f18f5bbbc8178e21ae69ab7e87dd68d80f6c95bbfdb6e738057e543c4fb562af07cc2085204c1a4f6a2bf7c0352f51f6b46f3cb680d1 SHA512 42db962295a6014ccb3e2df3c07248a3abac863169f16af0c947dc97ca1ada683484f95773dc5fc11118001e9a48f116787d34d71aa77bef18877ce04e1f4fe9
+DIST nim-1.4.6.tar.xz 4793544 BLAKE2B 5d015193564c63f16bd812eed19ace6cdeb2c944aa3aad3a41f4f811e8d56bdde02c5b405e7939ab09ad8b29d84ef9212c2df7c9f9148e0c26288157d20f4846 SHA512 6b1971a920c3572f9a1997648a297afc1696b09ac20ca031a4b23eba3b66b9ff93606bff2eeacaa651ed8cf6af2df7d38ec6253a4e66955a3e04c6d88991e013
diff --git a/dev-lang/nim/nim-1.4.6.ebuild b/dev-lang/nim/nim-1.4.6.ebuild
new file mode 100644
index 00000000000..3c52ea807c2
--- /dev/null
+++ b/dev-lang/nim/nim-1.4.6.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_configure() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ # Override default CC=gcc.
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ PATH="./bin:$PATH" _run ./koch tools --parallelBuild:$(makeopts_jobs)
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2021-04-24 12:37 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2021-04-24 12:37 UTC (permalink / raw
To: gentoo-commits
commit: f22560d32119e59bca7002a1d441302ad93ee391
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 24 12:31:26 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Apr 24 12:37:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f22560d3
dev-lang/nim: drop old
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.4.4.ebuild | 80 -------------------------------------------
2 files changed, 81 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index b0aab216c52..99ed0d7c57f 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1 @@
-DIST nim-1.4.4.tar.xz 4686420 BLAKE2B ad59365b07c04bace859f18f5bbbc8178e21ae69ab7e87dd68d80f6c95bbfdb6e738057e543c4fb562af07cc2085204c1a4f6a2bf7c0352f51f6b46f3cb680d1 SHA512 42db962295a6014ccb3e2df3c07248a3abac863169f16af0c947dc97ca1ada683484f95773dc5fc11118001e9a48f116787d34d71aa77bef18877ce04e1f4fe9
DIST nim-1.4.6.tar.xz 4793544 BLAKE2B 5d015193564c63f16bd812eed19ace6cdeb2c944aa3aad3a41f4f811e8d56bdde02c5b405e7939ab09ad8b29d84ef9212c2df7c9f9148e0c26288157d20f4846 SHA512 6b1971a920c3572f9a1997648a297afc1696b09ac20ca031a4b23eba3b66b9ff93606bff2eeacaa651ed8cf6af2df7d38ec6253a4e66955a3e04c6d88991e013
diff --git a/dev-lang/nim/nim-1.4.4.ebuild b/dev-lang/nim/nim-1.4.4.ebuild
deleted file mode 100644
index 3c52ea807c2..00000000000
--- a/dev-lang/nim/nim-1.4.4.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_configure() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- # Override default CC=gcc.
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
- echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- PATH="./bin:$PATH" _run ./koch tools --parallelBuild:$(makeopts_jobs)
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2021-05-25 22:47 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2021-05-25 22:47 UTC (permalink / raw
To: gentoo-commits
commit: ae777ef00ec1b4f32f9c729ecf88e4aa5ee77266
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue May 25 22:47:13 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue May 25 22:47:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae777ef0
dev-lang/nim: bump up to 1.4.8
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.4.8.ebuild | 80 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 99ed0d7c57f..0b72d2087ee 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-1.4.6.tar.xz 4793544 BLAKE2B 5d015193564c63f16bd812eed19ace6cdeb2c944aa3aad3a41f4f811e8d56bdde02c5b405e7939ab09ad8b29d84ef9212c2df7c9f9148e0c26288157d20f4846 SHA512 6b1971a920c3572f9a1997648a297afc1696b09ac20ca031a4b23eba3b66b9ff93606bff2eeacaa651ed8cf6af2df7d38ec6253a4e66955a3e04c6d88991e013
+DIST nim-1.4.8.tar.xz 4786360 BLAKE2B 961b38275c4f9de87ac522c5b47368ce7f5543811a2dfd7b4f3fd79a104bcd0458caaaaab1705f99eb42c64735ca5f71d5018f8a8275a430d883233b28b1d412 SHA512 e6b245271495880f0eea271c46b4f5ce9168a421716a9a22367b6be3c2a9822937aad1f48eb61c151b040ac961728a89c8a6d143c8300057c0d8c1f2d66f3dd3
diff --git a/dev-lang/nim/nim-1.4.8.ebuild b/dev-lang/nim/nim-1.4.8.ebuild
new file mode 100644
index 00000000000..3c52ea807c2
--- /dev/null
+++ b/dev-lang/nim/nim-1.4.8.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+readline test"
+
+RESTRICT=test # need to sort out depends and numerous failures
+
+RDEPEND="
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="
+ ${DEPEND}
+ test? ( net-libs/nodejs )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+)
+
+_run() {
+ echo "$@"
+ "$@" || die "'$*' failed"
+}
+
+nim_use_enable() {
+ [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use $1 && echo "-d:$2"
+}
+
+src_configure() {
+ export XDG_CACHE_HOME=${T}/cache #667182
+ tc-export CC LD
+
+ # Override default CC=gcc.
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+
+ _run ./build.sh
+
+ _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
+ _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
+ PATH="./bin:$PATH" _run ./koch tools --parallelBuild:$(makeopts_jobs)
+}
+
+src_test() {
+ PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
+}
+
+src_install() {
+ PATH="./bin:$PATH" _run ./koch install "${ED}"
+ rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
+
+ exeinto /usr/bin
+
+ local bin_exe
+ for bin_exe in bin/*; do
+ # './koch install' installs only 'nim' binary
+ # but not the rest
+ [[ ${bin_exe} == bin/nim ]] && continue
+ doexe "${bin_exe}"
+ done
+
+ newbashcomp tools/nim.bash-completion ${PN}
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2021-06-05 10:50 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2021-06-05 10:50 UTC (permalink / raw
To: gentoo-commits
commit: e537b7e91a6747d40a48de97511bd279a2cbfd45
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 5 09:56:20 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 5 10:50:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e537b7e9
dev-lang/nim: drop old
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.4.6.ebuild | 80 -------------------------------------------
2 files changed, 81 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 0b72d2087ee..59723a5a1d1 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1 @@
-DIST nim-1.4.6.tar.xz 4793544 BLAKE2B 5d015193564c63f16bd812eed19ace6cdeb2c944aa3aad3a41f4f811e8d56bdde02c5b405e7939ab09ad8b29d84ef9212c2df7c9f9148e0c26288157d20f4846 SHA512 6b1971a920c3572f9a1997648a297afc1696b09ac20ca031a4b23eba3b66b9ff93606bff2eeacaa651ed8cf6af2df7d38ec6253a4e66955a3e04c6d88991e013
DIST nim-1.4.8.tar.xz 4786360 BLAKE2B 961b38275c4f9de87ac522c5b47368ce7f5543811a2dfd7b4f3fd79a104bcd0458caaaaab1705f99eb42c64735ca5f71d5018f8a8275a430d883233b28b1d412 SHA512 e6b245271495880f0eea271c46b4f5ce9168a421716a9a22367b6be3c2a9822937aad1f48eb61c151b040ac961728a89c8a6d143c8300057c0d8c1f2d66f3dd3
diff --git a/dev-lang/nim/nim-1.4.6.ebuild b/dev-lang/nim/nim-1.4.6.ebuild
deleted file mode 100644
index 3c52ea807c2..00000000000
--- a/dev-lang/nim/nim-1.4.6.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${DEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_configure() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- # Override default CC=gcc.
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
- echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- PATH="./bin:$PATH" _run ./koch tools --parallelBuild:$(makeopts_jobs)
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2021-07-02 7:17 Sergei Trofimovich
0 siblings, 0 replies; 88+ messages in thread
From: Sergei Trofimovich @ 2021-07-02 7:17 UTC (permalink / raw
To: gentoo-commits
commit: 5340022af392e445762d9972b111eff90a5705c5
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 2 07:15:40 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jul 2 07:17:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5340022a
dev-lang/nim: drop myself from maintainers, m-n now
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lang/nim/metadata.xml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dev-lang/nim/metadata.xml b/dev-lang/nim/metadata.xml
index b7796e3694d..be153fe876b 100644
--- a/dev-lang/nim/metadata.xml
+++ b/dev-lang/nim/metadata.xml
@@ -1,10 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>slyfox@gentoo.org</email>
- <name>Sergei Trofimovich</name>
- </maintainer>
+ <!-- maintainer-needed -->
<upstream>
<remote-id type="github">nim-lang/Nim</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2021-12-25 20:03 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2021-12-25 20:03 UTC (permalink / raw
To: gentoo-commits
commit: 864978a817acd2cc8e55514272b19e07fe362d43
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 25 19:13:58 2021 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Dec 25 20:03:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=864978a8
dev-lang/nim: bump to 1.6.2
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.6.2.ebuild | 91 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 59723a5a1d1a..51a84293db2e 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1 +1,2 @@
DIST nim-1.4.8.tar.xz 4786360 BLAKE2B 961b38275c4f9de87ac522c5b47368ce7f5543811a2dfd7b4f3fd79a104bcd0458caaaaab1705f99eb42c64735ca5f71d5018f8a8275a430d883233b28b1d412 SHA512 e6b245271495880f0eea271c46b4f5ce9168a421716a9a22367b6be3c2a9822937aad1f48eb61c151b040ac961728a89c8a6d143c8300057c0d8c1f2d66f3dd3
+DIST nim-1.6.2.tar.xz 5181616 BLAKE2B adedbcaad1b135b6f99459894856190103e2d2b678849e0418f77c02a54fde44224456ea13949f3fe9f5f020a90adde46593497895674bd9ae892b17708df292 SHA512 052b62c987035f7633f965356993cd4eec686f4f4f5c675cf966d82cb30fcf574045887a4402bcc20e487299fb5e8f65a921951c2dc21ac334e695e31d95d992
diff --git a/dev-lang/nim/nim-1.6.2.ebuild b/dev-lang/nim/nim-1.6.2.ebuild
new file mode 100644
index 000000000000..6e066c0a612d
--- /dev/null
+++ b/dev-lang/nim/nim-1.6.2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug +readline"
+RESTRICT="test" # need to sort out depends and numerous failures
+
+RDEPEND="readline? ( sys-libs/readline:0= )"
+DEPEND="${DEPEND}"
+# test? ( net-libs/nodejs )
+
+PATCHES=( "${FILESDIR}"/${PN}-0.20.0-paths.patch )
+
+QA_FLAGS_IGNORED="
+usr/bin/atlas
+usr/bin/nim
+usr/bin/nim_dbg
+usr/bin/nimble
+usr/bin/nimgrep
+usr/bin/nimpretty
+usr/bin/nimsuggest
+usr/bin/testament
+"
+
+_run() {
+ echo "Running: ${@}"
+ PATH="${S}/bin:${PATH}" "${@}" || die "Failed: \"${*}\""
+}
+
+nim_use_enable() {
+ [[ -z "${2}" ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use "${1}" && echo "-d:${2}"
+}
+
+src_configure() {
+ export XDG_CACHE_HOME="${T}/cache" #667182
+ unset NIMBLE_DIR
+ tc-export CC CXX LD
+
+ local build_type
+ if use debug ; then
+ build_type="debug"
+ else
+ build_type="release"
+ fi
+ export NIM_OPTS=( --parallelBuild:$(makeopts_jobs) -d:${build_type} )
+
+ # Override defaults
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+ _run bash ./build.sh
+
+ _run ./bin/nim ${NIM_OPTS[@]} compile koch
+ _run ./koch boot ${NIM_OPTS[@]} $(nim_use_enable readline useGnuReadline)
+ _run ./koch tools ${NIM_OPTS[@]}
+}
+
+src_install() {
+ _run ./koch install "${ED}"
+
+ # "./koch install" installs only "nim" binary
+ # but not the rest
+ exeinto /usr/bin
+ local exe
+ for exe in bin/* ; do
+ [[ "${exe}" == bin/nim ]] && continue
+ doexe "${exe}"
+ done
+
+ newbashcomp tools/nim.bash-completion nim
+ newbashcomp dist/nimble/nimble.bash-completion nimble
+}
+
+src_test() {
+ _run ./koch test
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2021-12-25 20:03 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2021-12-25 20:03 UTC (permalink / raw
To: gentoo-commits
commit: 86ec0c74120627f87da7b3f61948abf8226e9e46
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 25 19:12:58 2021 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Dec 25 20:03:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ec0c74
dev-lang/nim: take maintainership
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/metadata.xml | 39 +++++++++++++++++++++++++++++++++++----
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/dev-lang/nim/metadata.xml b/dev-lang/nim/metadata.xml
index 9144ad2e7557..cca80bdcbe60 100644
--- a/dev-lang/nim/metadata.xml
+++ b/dev-lang/nim/metadata.xml
@@ -1,8 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">nim-lang/Nim</remote-id>
- </upstream>
+ <maintainer type="person">
+ <email>xgqt@gentoo.org</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <longdescription>
+ Nim is a statically typed compiled systems programming language.
+ It combines successful concepts from mature languages like Python,
+ Ada and Modula.
+ Nim generates native dependency-free executables, not dependent on a
+ virtual machine, which are small and allow easy redistribution.
+ The Nim compiler and the generated executables support all major platforms
+ like Windows, Linux, BSD and macOS.
+ Nim's memory management is deterministic and customizable with destructors
+ and move semantics, inspired by C++ and Rust. It is well-suited for
+ embedded, hard-realtime systems.
+ Modern concepts like zero-overhead iterators and compile-time evaluation of
+ user-defined functions, in combination with the preference of value-based
+ datatypes allocated on the stack, lead to extremely performant code.
+ Support for various backends: it compiles to C, C++ or JavaScript so that
+ Nim can be used for all backend and frontend needs.
+ Nim is self-contained: the compiler and the standard library are
+ implemented in Nim.
+ Nim has a powerful macro system which allows direct manipulation of the
+ AST, offering nearly unlimited opportunities.
+ Macros cannot change Nim's syntax because there is no need for it — the
+ syntax is flexible enough.
+ Modern type system with local type inference, tuples, generics and sum
+ types.
+ Statements are grouped by indentation but can span multiple lines.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/nim-lang/Nim/issues/</bugs-to>
+ <remote-id type="github">nim-lang/Nim</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2021-12-25 20:28 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2021-12-25 20:28 UTC (permalink / raw
To: gentoo-commits
commit: df9809f22c82f6afe7722aed49ea1b7b0d982965
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 25 20:28:06 2021 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Dec 25 20:28:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df9809f2
dev-lang/nim: annotate; src_test above src_install
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/nim-1.6.2.ebuild | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/dev-lang/nim/nim-1.6.2.ebuild b/dev-lang/nim/nim-1.6.2.ebuild
index 6e066c0a612d..51069ac3166b 100644
--- a/dev-lang/nim/nim-1.6.2.ebuild
+++ b/dev-lang/nim/nim-1.6.2.ebuild
@@ -21,6 +21,7 @@ DEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-0.20.0-paths.patch )
+# Generated by nim
QA_FLAGS_IGNORED="
usr/bin/atlas
usr/bin/nim
@@ -70,6 +71,10 @@ src_compile() {
_run ./koch tools ${NIM_OPTS[@]}
}
+src_test() {
+ _run ./koch test
+}
+
src_install() {
_run ./koch install "${ED}"
@@ -85,7 +90,3 @@ src_install() {
newbashcomp tools/nim.bash-completion nim
newbashcomp dist/nimble/nimble.bash-completion nimble
}
-
-src_test() {
- _run ./koch test
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2021-12-25 20:31 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2021-12-25 20:31 UTC (permalink / raw
To: gentoo-commits
commit: ee1bf9dd180dc9e1e6a859a1137d29304fee0ab4
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 25 20:30:35 2021 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Dec 25 20:30:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee1bf9dd
dev-lang/nim: ignore *FLAGS of binaries generated by nim
Closes: https://bugs.gentoo.org/726892
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/nim-1.4.8.ebuild | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/dev-lang/nim/nim-1.4.8.ebuild b/dev-lang/nim/nim-1.4.8.ebuild
index 3c52ea807c23..512bc61b2ef0 100644
--- a/dev-lang/nim/nim-1.4.8.ebuild
+++ b/dev-lang/nim/nim-1.4.8.ebuild
@@ -28,6 +28,18 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.20.0-paths.patch
)
+# Generated by nim
+QA_FLAGS_IGNORED="
+usr/bin/atlas
+usr/bin/nim
+usr/bin/nim_dbg
+usr/bin/nimble
+usr/bin/nimgrep
+usr/bin/nimpretty
+usr/bin/nimsuggest
+usr/bin/testament
+"
+
_run() {
echo "$@"
"$@" || die "'$*' failed"
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2022-02-16 11:33 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2022-02-16 11:33 UTC (permalink / raw
To: gentoo-commits
commit: 19cb5f4f2518850ae384703b89f1b4a64b9c9140
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 16 11:33:10 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Feb 16 11:33:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19cb5f4f
dev-lang/nim: bump to 1.6.4
Closes: https://bugs.gentoo.org/833430
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.6.4.ebuild | 92 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 51a84293db2e..25f82ff6f32c 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1,3 @@
DIST nim-1.4.8.tar.xz 4786360 BLAKE2B 961b38275c4f9de87ac522c5b47368ce7f5543811a2dfd7b4f3fd79a104bcd0458caaaaab1705f99eb42c64735ca5f71d5018f8a8275a430d883233b28b1d412 SHA512 e6b245271495880f0eea271c46b4f5ce9168a421716a9a22367b6be3c2a9822937aad1f48eb61c151b040ac961728a89c8a6d143c8300057c0d8c1f2d66f3dd3
DIST nim-1.6.2.tar.xz 5181616 BLAKE2B adedbcaad1b135b6f99459894856190103e2d2b678849e0418f77c02a54fde44224456ea13949f3fe9f5f020a90adde46593497895674bd9ae892b17708df292 SHA512 052b62c987035f7633f965356993cd4eec686f4f4f5c675cf966d82cb30fcf574045887a4402bcc20e487299fb5e8f65a921951c2dc21ac334e695e31d95d992
+DIST nim-1.6.4.tar.xz 5130208 BLAKE2B d0f297581677bbb9fb185a8b4198f48bb58efe81a1624f62051bc1e0a93f879a0cec172f11a41784ca715ba3c151dc5307e96c15c54908aa40df406040891d6c SHA512 f4d082f37f0e675e8cdb4340d67f2e58b5e6ac5bb51dab1ded5417097f3b86d71fa585ef12ee1c3cd5b17285589cbe9d5658fcb29c98547f7967a1b6f0cb4646
diff --git a/dev-lang/nim/nim-1.6.4.ebuild b/dev-lang/nim/nim-1.6.4.ebuild
new file mode 100644
index 000000000000..5ea36e37d9a0
--- /dev/null
+++ b/dev-lang/nim/nim-1.6.4.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug +readline"
+RESTRICT="test" # need to sort out depends and numerous failures
+
+RDEPEND="readline? ( sys-libs/readline:0= )"
+DEPEND="${DEPEND}"
+# BDEPEND="test? ( net-libs/nodejs )"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.20.0-paths.patch )
+
+# Generated by nim
+QA_FLAGS_IGNORED="
+usr/bin/atlas
+usr/bin/nim
+usr/bin/nim_dbg
+usr/bin/nimble
+usr/bin/nimgrep
+usr/bin/nimpretty
+usr/bin/nimsuggest
+usr/bin/testament
+"
+
+_run() {
+ echo "Running: ${@}"
+ PATH="${S}/bin:${PATH}" "${@}" || die "Failed: \"${*}\""
+}
+
+nim_use_enable() {
+ [[ -z "${2}" ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use "${1}" && echo "-d:${2}"
+}
+
+src_configure() {
+ export XDG_CACHE_HOME="${T}/cache" # 667182
+ unset NIMBLE_DIR
+ tc-export CC CXX LD
+
+ local build_type
+ if use debug ; then
+ build_type="debug"
+ else
+ build_type="release"
+ fi
+ export NIM_OPTS=( --parallelBuild:$(makeopts_jobs) -d:${build_type} )
+
+ # Override defaults
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+ _run bash ./build.sh
+
+ _run ./bin/nim ${NIM_OPTS[@]} compile koch
+ _run ./koch boot ${NIM_OPTS[@]} $(nim_use_enable readline useGnuReadline)
+ _run ./koch tools ${NIM_OPTS[@]}
+}
+
+src_test() {
+ _run ./koch test
+}
+
+src_install() {
+ _run ./koch install "${ED}"
+
+ # "./koch install" installs only "nim" binary
+ # but not the rest
+ exeinto /usr/bin
+ local exe
+ for exe in bin/* ; do
+ [[ "${exe}" == bin/nim ]] && continue
+ doexe "${exe}"
+ done
+
+ newbashcomp tools/nim.bash-completion nim
+ newbashcomp dist/nimble/nimble.bash-completion nimble
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2022-03-10 23:12 Sam James
0 siblings, 0 replies; 88+ messages in thread
From: Sam James @ 2022-03-10 23:12 UTC (permalink / raw
To: gentoo-commits
commit: 29d6af575956f1803ce73f5b9396c33f6765b4d1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 10 23:10:25 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 23:10:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d6af57
dev-lang/nim: fix DEPEND
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lang/nim/nim-1.4.8.ebuild | 4 ++--
dev-lang/nim/nim-1.6.2.ebuild | 4 ++--
dev-lang/nim/nim-1.6.4.ebuild | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dev-lang/nim/nim-1.4.8.ebuild b/dev-lang/nim/nim-1.4.8.ebuild
index 512bc61b2ef0..d0ec48b68ee2 100644
--- a/dev-lang/nim/nim-1.4.8.ebuild
+++ b/dev-lang/nim/nim-1.4.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -20,7 +20,7 @@ RDEPEND="
readline? ( sys-libs/readline:0= )
"
DEPEND="
- ${DEPEND}
+ ${RDEPEND}
test? ( net-libs/nodejs )
"
diff --git a/dev-lang/nim/nim-1.6.2.ebuild b/dev-lang/nim/nim-1.6.2.ebuild
index 51069ac3166b..28eae69957ac 100644
--- a/dev-lang/nim/nim-1.6.2.ebuild
+++ b/dev-lang/nim/nim-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,7 +16,7 @@ IUSE="debug +readline"
RESTRICT="test" # need to sort out depends and numerous failures
RDEPEND="readline? ( sys-libs/readline:0= )"
-DEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
# test? ( net-libs/nodejs )
PATCHES=( "${FILESDIR}"/${PN}-0.20.0-paths.patch )
diff --git a/dev-lang/nim/nim-1.6.4.ebuild b/dev-lang/nim/nim-1.6.4.ebuild
index 5ea36e37d9a0..11af93abf307 100644
--- a/dev-lang/nim/nim-1.6.4.ebuild
+++ b/dev-lang/nim/nim-1.6.4.ebuild
@@ -16,7 +16,7 @@ IUSE="debug +readline"
RESTRICT="test" # need to sort out depends and numerous failures
RDEPEND="readline? ( sys-libs/readline:0= )"
-DEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
# BDEPEND="test? ( net-libs/nodejs )"
PATCHES=( "${FILESDIR}"/${PN}-0.20.0-paths.patch )
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2022-05-06 20:19 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2022-05-06 20:19 UTC (permalink / raw
To: gentoo-commits
commit: bcd97f942bce5f38c507a4d1649895f811dde382
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri May 6 19:55:43 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri May 6 20:19:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcd97f94
dev-lang/nim: bump to 1.6.6
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.6.6.ebuild | 92 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 25f82ff6f32c..f0404f563272 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,3 +1,4 @@
DIST nim-1.4.8.tar.xz 4786360 BLAKE2B 961b38275c4f9de87ac522c5b47368ce7f5543811a2dfd7b4f3fd79a104bcd0458caaaaab1705f99eb42c64735ca5f71d5018f8a8275a430d883233b28b1d412 SHA512 e6b245271495880f0eea271c46b4f5ce9168a421716a9a22367b6be3c2a9822937aad1f48eb61c151b040ac961728a89c8a6d143c8300057c0d8c1f2d66f3dd3
DIST nim-1.6.2.tar.xz 5181616 BLAKE2B adedbcaad1b135b6f99459894856190103e2d2b678849e0418f77c02a54fde44224456ea13949f3fe9f5f020a90adde46593497895674bd9ae892b17708df292 SHA512 052b62c987035f7633f965356993cd4eec686f4f4f5c675cf966d82cb30fcf574045887a4402bcc20e487299fb5e8f65a921951c2dc21ac334e695e31d95d992
DIST nim-1.6.4.tar.xz 5130208 BLAKE2B d0f297581677bbb9fb185a8b4198f48bb58efe81a1624f62051bc1e0a93f879a0cec172f11a41784ca715ba3c151dc5307e96c15c54908aa40df406040891d6c SHA512 f4d082f37f0e675e8cdb4340d67f2e58b5e6ac5bb51dab1ded5417097f3b86d71fa585ef12ee1c3cd5b17285589cbe9d5658fcb29c98547f7967a1b6f0cb4646
+DIST nim-1.6.6.tar.xz 5149956 BLAKE2B 2fd1b40f1ecc1200255052d9e013c55287d3e01337146d0b1386d0f3fc9c14fda1e8e82ee289e782c77a573c1ae0985ea7f900f61e6b9824a9eb4b5c803c7f71 SHA512 6ea8d3f61adae48184dd0e3ac393296fd3bd5ead818e7dee949f43eccbd0b6229ebfc474353ddd63cc734f82c3247998fbfe88362061983f978ad8d0ab7fa677
diff --git a/dev-lang/nim/nim-1.6.6.ebuild b/dev-lang/nim/nim-1.6.6.ebuild
new file mode 100644
index 000000000000..11af93abf307
--- /dev/null
+++ b/dev-lang/nim/nim-1.6.6.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug +readline"
+RESTRICT="test" # need to sort out depends and numerous failures
+
+RDEPEND="readline? ( sys-libs/readline:0= )"
+DEPEND="${RDEPEND}"
+# BDEPEND="test? ( net-libs/nodejs )"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.20.0-paths.patch )
+
+# Generated by nim
+QA_FLAGS_IGNORED="
+usr/bin/atlas
+usr/bin/nim
+usr/bin/nim_dbg
+usr/bin/nimble
+usr/bin/nimgrep
+usr/bin/nimpretty
+usr/bin/nimsuggest
+usr/bin/testament
+"
+
+_run() {
+ echo "Running: ${@}"
+ PATH="${S}/bin:${PATH}" "${@}" || die "Failed: \"${*}\""
+}
+
+nim_use_enable() {
+ [[ -z "${2}" ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use "${1}" && echo "-d:${2}"
+}
+
+src_configure() {
+ export XDG_CACHE_HOME="${T}/cache" # 667182
+ unset NIMBLE_DIR
+ tc-export CC CXX LD
+
+ local build_type
+ if use debug ; then
+ build_type="debug"
+ else
+ build_type="release"
+ fi
+ export NIM_OPTS=( --parallelBuild:$(makeopts_jobs) -d:${build_type} )
+
+ # Override defaults
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+ _run bash ./build.sh
+
+ _run ./bin/nim ${NIM_OPTS[@]} compile koch
+ _run ./koch boot ${NIM_OPTS[@]} $(nim_use_enable readline useGnuReadline)
+ _run ./koch tools ${NIM_OPTS[@]}
+}
+
+src_test() {
+ _run ./koch test
+}
+
+src_install() {
+ _run ./koch install "${ED}"
+
+ # "./koch install" installs only "nim" binary
+ # but not the rest
+ exeinto /usr/bin
+ local exe
+ for exe in bin/* ; do
+ [[ "${exe}" == bin/nim ]] && continue
+ doexe "${exe}"
+ done
+
+ newbashcomp tools/nim.bash-completion nim
+ newbashcomp dist/nimble/nimble.bash-completion nimble
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2022-07-13 21:19 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2022-07-13 21:19 UTC (permalink / raw
To: gentoo-commits
commit: 86ce9513cf4130fdb52163297619f4bf7006ea7b
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 20:42:54 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 20:42:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ce9513
dev-lang/nim: drop old 1.6.6
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/nim-1.6.6.ebuild | 92 -------------------------------------------
1 file changed, 92 deletions(-)
diff --git a/dev-lang/nim/nim-1.6.6.ebuild b/dev-lang/nim/nim-1.6.6.ebuild
deleted file mode 100644
index 11af93abf307..000000000000
--- a/dev-lang/nim/nim-1.6.6.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug +readline"
-RESTRICT="test" # need to sort out depends and numerous failures
-
-RDEPEND="readline? ( sys-libs/readline:0= )"
-DEPEND="${RDEPEND}"
-# BDEPEND="test? ( net-libs/nodejs )"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.20.0-paths.patch )
-
-# Generated by nim
-QA_FLAGS_IGNORED="
-usr/bin/atlas
-usr/bin/nim
-usr/bin/nim_dbg
-usr/bin/nimble
-usr/bin/nimgrep
-usr/bin/nimpretty
-usr/bin/nimsuggest
-usr/bin/testament
-"
-
-_run() {
- echo "Running: ${@}"
- PATH="${S}/bin:${PATH}" "${@}" || die "Failed: \"${*}\""
-}
-
-nim_use_enable() {
- [[ -z "${2}" ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use "${1}" && echo "-d:${2}"
-}
-
-src_configure() {
- export XDG_CACHE_HOME="${T}/cache" # 667182
- unset NIMBLE_DIR
- tc-export CC CXX LD
-
- local build_type
- if use debug ; then
- build_type="debug"
- else
- build_type="release"
- fi
- export NIM_OPTS=( --parallelBuild:$(makeopts_jobs) -d:${build_type} )
-
- # Override defaults
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
- echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
- _run bash ./build.sh
-
- _run ./bin/nim ${NIM_OPTS[@]} compile koch
- _run ./koch boot ${NIM_OPTS[@]} $(nim_use_enable readline useGnuReadline)
- _run ./koch tools ${NIM_OPTS[@]}
-}
-
-src_test() {
- _run ./koch test
-}
-
-src_install() {
- _run ./koch install "${ED}"
-
- # "./koch install" installs only "nim" binary
- # but not the rest
- exeinto /usr/bin
- local exe
- for exe in bin/* ; do
- [[ "${exe}" == bin/nim ]] && continue
- doexe "${exe}"
- done
-
- newbashcomp tools/nim.bash-completion nim
- newbashcomp dist/nimble/nimble.bash-completion nimble
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2022-07-13 21:19 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2022-07-13 21:19 UTC (permalink / raw
To: gentoo-commits
commit: 04f9f72582c8aa0e532fec8378e4ee0933ffc99c
Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jul 13 20:02:11 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 20:40:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f9f725
dev-lang/nim: respect flags
Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
Closes: https://github.com/gentoo/gentoo/pull/26387
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/nim-1.6.6-r1.ebuild | 64 +++++++++++++++++++++-------------------
1 file changed, 33 insertions(+), 31 deletions(-)
diff --git a/dev-lang/nim/nim-1.6.6-r1.ebuild b/dev-lang/nim/nim-1.6.6-r1.ebuild
index 0ab7dd480dca..9d4da4f7a23b 100644
--- a/dev-lang/nim/nim-1.6.6-r1.ebuild
+++ b/dev-lang/nim/nim-1.6.6-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit bash-completion-r1 multiprocessing toolchain-funcs
+inherit bash-completion-r1 multiprocessing toolchain-funcs xdg-utils
DESCRIPTION="compiled, garbage-collected systems programming language"
HOMEPAGE="https://nim-lang.org/"
@@ -24,20 +24,8 @@ DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-0.20.0-paths.patch )
-# Generated by nim
-QA_FLAGS_IGNORED="
-usr/bin/atlas
-usr/bin/nim
-usr/bin/nim_dbg
-usr/bin/nimble
-usr/bin/nimgrep
-usr/bin/nimpretty
-usr/bin/nimsuggest
-usr/bin/testament
-"
-
_run() {
- echo "Running: ${@}"
+ einfo "Running: ${@}"
PATH="${S}/bin:${PATH}" "${@}" || die "Failed: \"${*}\""
}
@@ -46,6 +34,31 @@ nim_use_enable() {
use "${1}" && echo "-d:${2}"
}
+# Borrowed from nim-utils.eclass (guru overlay).
+nim_gen_config() {
+ cat > nim.cfg <<- EOF || die "Failed to create Nim config"
+ cc:"gcc"
+ gcc.exe:"$(tc-getCC)"
+ gcc.linkerexe:"$(tc-getCC)"
+ gcc.cpp.exe:"$(tc-getCXX)"
+ gcc.cpp.linkerexe:"$(tc-getCXX)"
+ gcc.options.speed:"${CFLAGS}"
+ gcc.options.size:"${CFLAGS}"
+ gcc.options.debug:"${CFLAGS}"
+ gcc.options.always:"${CPPFLAGS}"
+ gcc.options.linker:"${LDFLAGS}"
+ gcc.cpp.options.speed:"${CXXFLAGS}"
+ gcc.cpp.options.size:"${CXXFLAGS}"
+ gcc.cpp.options.debug:"${CXXFLAGS}"
+ gcc.cpp.options.always:"${CPPFLAGS}"
+ gcc.cpp.options.linker:"${LDFLAGS}"
+
+ $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
+ -d:"$(usex debug debug release)"
+ --parallelBuild:"$(makeopts_jobs)"
+ EOF
+}
+
src_prepare() {
default
@@ -55,31 +68,20 @@ src_prepare() {
}
src_configure() {
- export XDG_CACHE_HOME="${T}/cache" # 667182
+ xdg_environment_reset # bug 667182
+
unset NIMBLE_DIR
tc-export CC CXX LD
- local build_type
- if use debug ; then
- build_type="debug"
- else
- build_type="release"
- fi
- export NIM_OPTS=( --parallelBuild:$(makeopts_jobs) -d:${build_type} )
-
- # Override defaults
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
- echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+ nim_gen_config
}
src_compile() {
_run bash ./build.sh
- _run ./bin/nim ${NIM_OPTS[@]} compile koch
- _run ./koch boot ${NIM_OPTS[@]} $(nim_use_enable readline useGnuReadline)
- _run ./koch tools ${NIM_OPTS[@]}
+ _run ./bin/nim compile koch
+ _run ./koch boot $(nim_use_enable readline useGnuReadline)
+ _run ./koch tools
}
src_test() {
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2022-07-13 21:19 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2022-07-13 21:19 UTC (permalink / raw
To: gentoo-commits
commit: 4f37fad1440162e0ddacb29d5dc512b4bfad3b2b
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 20:43:05 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 20:43:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f37fad1
dev-lang/nim: drop old 1.4.8
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.4.8.ebuild | 92 -------------------------------------------
2 files changed, 93 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index ba29b2ff5bd8..c1274dd207ae 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,4 +1,3 @@
-DIST nim-1.4.8.tar.xz 4786360 BLAKE2B 961b38275c4f9de87ac522c5b47368ce7f5543811a2dfd7b4f3fd79a104bcd0458caaaaab1705f99eb42c64735ca5f71d5018f8a8275a430d883233b28b1d412 SHA512 e6b245271495880f0eea271c46b4f5ce9168a421716a9a22367b6be3c2a9822937aad1f48eb61c151b040ac961728a89c8a6d143c8300057c0d8c1f2d66f3dd3
DIST nim-1.6.2.tar.xz 5181616 BLAKE2B adedbcaad1b135b6f99459894856190103e2d2b678849e0418f77c02a54fde44224456ea13949f3fe9f5f020a90adde46593497895674bd9ae892b17708df292 SHA512 052b62c987035f7633f965356993cd4eec686f4f4f5c675cf966d82cb30fcf574045887a4402bcc20e487299fb5e8f65a921951c2dc21ac334e695e31d95d992
DIST nim-1.6.4.tar.xz 5130208 BLAKE2B d0f297581677bbb9fb185a8b4198f48bb58efe81a1624f62051bc1e0a93f879a0cec172f11a41784ca715ba3c151dc5307e96c15c54908aa40df406040891d6c SHA512 f4d082f37f0e675e8cdb4340d67f2e58b5e6ac5bb51dab1ded5417097f3b86d71fa585ef12ee1c3cd5b17285589cbe9d5658fcb29c98547f7967a1b6f0cb4646
DIST nim-1.6.6.tar.xz 5149956 BLAKE2B 2fd1b40f1ecc1200255052d9e013c55287d3e01337146d0b1386d0f3fc9c14fda1e8e82ee289e782c77a573c1ae0985ea7f900f61e6b9824a9eb4b5c803c7f71 SHA512 6ea8d3f61adae48184dd0e3ac393296fd3bd5ead818e7dee949f43eccbd0b6229ebfc474353ddd63cc734f82c3247998fbfe88362061983f978ad8d0ab7fa677
diff --git a/dev-lang/nim/nim-1.4.8.ebuild b/dev-lang/nim/nim-1.4.8.ebuild
deleted file mode 100644
index d0ec48b68ee2..000000000000
--- a/dev-lang/nim/nim-1.4.8.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+readline test"
-
-RESTRICT=test # need to sort out depends and numerous failures
-
-RDEPEND="
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="
- ${RDEPEND}
- test? ( net-libs/nodejs )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
-)
-
-# Generated by nim
-QA_FLAGS_IGNORED="
-usr/bin/atlas
-usr/bin/nim
-usr/bin/nim_dbg
-usr/bin/nimble
-usr/bin/nimgrep
-usr/bin/nimpretty
-usr/bin/nimsuggest
-usr/bin/testament
-"
-
-_run() {
- echo "$@"
- "$@" || die "'$*' failed"
-}
-
-nim_use_enable() {
- [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use $1 && echo "-d:$2"
-}
-
-src_configure() {
- export XDG_CACHE_HOME=${T}/cache #667182
- tc-export CC LD
-
- # Override default CC=gcc.
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
- echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
-
- _run ./build.sh
-
- _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
- _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
- PATH="./bin:$PATH" _run ./koch tools --parallelBuild:$(makeopts_jobs)
-}
-
-src_test() {
- PATH="./bin:$PATH" _run ./koch test --parallelBuild:$(makeopts_jobs)
-}
-
-src_install() {
- PATH="./bin:$PATH" _run ./koch install "${ED}"
- rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'"
-
- exeinto /usr/bin
-
- local bin_exe
- for bin_exe in bin/*; do
- # './koch install' installs only 'nim' binary
- # but not the rest
- [[ ${bin_exe} == bin/nim ]] && continue
- doexe "${bin_exe}"
- done
-
- newbashcomp tools/nim.bash-completion ${PN}
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2022-07-13 21:19 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2022-07-13 21:19 UTC (permalink / raw
To: gentoo-commits
commit: 38ad8d4290f37de7d1de2aa96a8dedbc160b3123
Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jul 13 19:54:58 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 20:40:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38ad8d42
dev-lang/nim: add experimental patches
Currently the only patch is the one implementing "--depfile" support. It
is needed by some packages in the ::guru repository that would be
rebuilt three times otherwise.
Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/metadata.xml | 3 ++
dev-lang/nim/nim-1.6.6-r1.ebuild | 103 +++++++++++++++++++++++++++++++++++++++
3 files changed, 107 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index f0404f563272..ba29b2ff5bd8 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -2,3 +2,4 @@ DIST nim-1.4.8.tar.xz 4786360 BLAKE2B 961b38275c4f9de87ac522c5b47368ce7f5543811a
DIST nim-1.6.2.tar.xz 5181616 BLAKE2B adedbcaad1b135b6f99459894856190103e2d2b678849e0418f77c02a54fde44224456ea13949f3fe9f5f020a90adde46593497895674bd9ae892b17708df292 SHA512 052b62c987035f7633f965356993cd4eec686f4f4f5c675cf966d82cb30fcf574045887a4402bcc20e487299fb5e8f65a921951c2dc21ac334e695e31d95d992
DIST nim-1.6.4.tar.xz 5130208 BLAKE2B d0f297581677bbb9fb185a8b4198f48bb58efe81a1624f62051bc1e0a93f879a0cec172f11a41784ca715ba3c151dc5307e96c15c54908aa40df406040891d6c SHA512 f4d082f37f0e675e8cdb4340d67f2e58b5e6ac5bb51dab1ded5417097f3b86d71fa585ef12ee1c3cd5b17285589cbe9d5658fcb29c98547f7967a1b6f0cb4646
DIST nim-1.6.6.tar.xz 5149956 BLAKE2B 2fd1b40f1ecc1200255052d9e013c55287d3e01337146d0b1386d0f3fc9c14fda1e8e82ee289e782c77a573c1ae0985ea7f900f61e6b9824a9eb4b5c803c7f71 SHA512 6ea8d3f61adae48184dd0e3ac393296fd3bd5ead818e7dee949f43eccbd0b6229ebfc474353ddd63cc734f82c3247998fbfe88362061983f978ad8d0ab7fa677
+DIST nim-patches-1.6.6.tar.gz 1975 BLAKE2B 75490f4c61f4d920aadb2ad5908cb2773e270f80cee95f937ede8125bad5688b71840ed7f48659db892e4017437a0454b38eab18ae8b13c6b48207d0a7714371 SHA512 4d1590e7d05ad64432b943f8da9edb2b05213400181d1e07a0e40f479afbceb1997d0ea0f05a73d550afe60cf4b657f7e34840907ea16c3b9e96824e9f29e0e5
diff --git a/dev-lang/nim/metadata.xml b/dev-lang/nim/metadata.xml
index cca80bdcbe60..d24270e82fb6 100644
--- a/dev-lang/nim/metadata.xml
+++ b/dev-lang/nim/metadata.xml
@@ -36,4 +36,7 @@
<bugs-to>https://github.com/nim-lang/Nim/issues/</bugs-to>
<remote-id type="github">nim-lang/Nim</remote-id>
</upstream>
+ <use>
+ <flag name="experimental">Apply experimental patches</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-lang/nim/nim-1.6.6-r1.ebuild b/dev-lang/nim/nim-1.6.6-r1.ebuild
new file mode 100644
index 000000000000..0ab7dd480dca
--- /dev/null
+++ b/dev-lang/nim/nim-1.6.6-r1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 multiprocessing toolchain-funcs
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="
+ https://nim-lang.org/download/${P}.tar.xz
+ experimental? ( https://git.sr.ht/~cyber/${PN}-patches/archive/${PV}.tar.gz -> ${PN}-patches-${PV}.tar.gz )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug experimental +readline"
+RESTRICT="test" # need to sort out depends and numerous failures
+
+RDEPEND="readline? ( sys-libs/readline:0= )"
+DEPEND="${RDEPEND}"
+# BDEPEND="test? ( net-libs/nodejs )"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.20.0-paths.patch )
+
+# Generated by nim
+QA_FLAGS_IGNORED="
+usr/bin/atlas
+usr/bin/nim
+usr/bin/nim_dbg
+usr/bin/nimble
+usr/bin/nimgrep
+usr/bin/nimpretty
+usr/bin/nimsuggest
+usr/bin/testament
+"
+
+_run() {
+ echo "Running: ${@}"
+ PATH="${S}/bin:${PATH}" "${@}" || die "Failed: \"${*}\""
+}
+
+nim_use_enable() {
+ [[ -z "${2}" ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
+ use "${1}" && echo "-d:${2}"
+}
+
+src_prepare() {
+ default
+
+ # note: there are consumers in the ::guru overlay
+ use experimental && \
+ eapply "${WORKDIR}"/${PN}-patches-${PV}
+}
+
+src_configure() {
+ export XDG_CACHE_HOME="${T}/cache" # 667182
+ unset NIMBLE_DIR
+ tc-export CC CXX LD
+
+ local build_type
+ if use debug ; then
+ build_type="debug"
+ else
+ build_type="release"
+ fi
+ export NIM_OPTS=( --parallelBuild:$(makeopts_jobs) -d:${build_type} )
+
+ # Override defaults
+ echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+}
+
+src_compile() {
+ _run bash ./build.sh
+
+ _run ./bin/nim ${NIM_OPTS[@]} compile koch
+ _run ./koch boot ${NIM_OPTS[@]} $(nim_use_enable readline useGnuReadline)
+ _run ./koch tools ${NIM_OPTS[@]}
+}
+
+src_test() {
+ _run ./koch test
+}
+
+src_install() {
+ _run ./koch install "${ED}"
+
+ # "./koch install" installs only "nim" binary
+ # but not the rest
+ exeinto /usr/bin
+ local exe
+ for exe in bin/* ; do
+ [[ "${exe}" == bin/nim ]] && continue
+ doexe "${exe}"
+ done
+
+ newbashcomp tools/nim.bash-completion nim
+ newbashcomp dist/nimble/nimble.bash-completion nimble
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2022-09-29 0:22 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2022-09-29 0:22 UTC (permalink / raw
To: gentoo-commits
commit: 4c2510d5609c70c412205a24328bb4642351ee19
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 00:12:08 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 00:22:31 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c2510d5
dev-lang/nim: bump to 1.6.8
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.6.8.ebuild | 108 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 109 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index c1274dd207ae..33d52848817b 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,4 +1,5 @@
DIST nim-1.6.2.tar.xz 5181616 BLAKE2B adedbcaad1b135b6f99459894856190103e2d2b678849e0418f77c02a54fde44224456ea13949f3fe9f5f020a90adde46593497895674bd9ae892b17708df292 SHA512 052b62c987035f7633f965356993cd4eec686f4f4f5c675cf966d82cb30fcf574045887a4402bcc20e487299fb5e8f65a921951c2dc21ac334e695e31d95d992
DIST nim-1.6.4.tar.xz 5130208 BLAKE2B d0f297581677bbb9fb185a8b4198f48bb58efe81a1624f62051bc1e0a93f879a0cec172f11a41784ca715ba3c151dc5307e96c15c54908aa40df406040891d6c SHA512 f4d082f37f0e675e8cdb4340d67f2e58b5e6ac5bb51dab1ded5417097f3b86d71fa585ef12ee1c3cd5b17285589cbe9d5658fcb29c98547f7967a1b6f0cb4646
DIST nim-1.6.6.tar.xz 5149956 BLAKE2B 2fd1b40f1ecc1200255052d9e013c55287d3e01337146d0b1386d0f3fc9c14fda1e8e82ee289e782c77a573c1ae0985ea7f900f61e6b9824a9eb4b5c803c7f71 SHA512 6ea8d3f61adae48184dd0e3ac393296fd3bd5ead818e7dee949f43eccbd0b6229ebfc474353ddd63cc734f82c3247998fbfe88362061983f978ad8d0ab7fa677
+DIST nim-1.6.8.tar.xz 5219880 BLAKE2B 16eac6f302b4ef1df14deaa0350e0e5553c7613515cc3e79cbe025af70955bef29c8261a1f91ba901023d9c53f9f00d62116301eb5a4ee4bb5314bb1e25a5755 SHA512 dd046dd393136fdcb78f463e267756bdb990b08e80e3a8be7fec1995b47a930447468e12bb9a59db6ec5546117f62ff4ccd032959879ef2d1d06a7bc5c438f83
DIST nim-patches-1.6.6.tar.gz 1975 BLAKE2B 75490f4c61f4d920aadb2ad5908cb2773e270f80cee95f937ede8125bad5688b71840ed7f48659db892e4017437a0454b38eab18ae8b13c6b48207d0a7714371 SHA512 4d1590e7d05ad64432b943f8da9edb2b05213400181d1e07a0e40f479afbceb1997d0ea0f05a73d550afe60cf4b657f7e34840907ea16c3b9e96824e9f29e0e5
diff --git a/dev-lang/nim/nim-1.6.8.ebuild b/dev-lang/nim/nim-1.6.8.ebuild
new file mode 100644
index 000000000000..00b90b784ff9
--- /dev/null
+++ b/dev-lang/nim/nim-1.6.8.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="
+ https://nim-lang.org/download/${P}.tar.xz
+ experimental? (
+ https://git.sr.ht/~cyber/${PN}-patches/archive/1.6.6.tar.gz
+ -> ${PN}-patches-1.6.6.tar.gz
+ )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug experimental"
+RESTRICT="test" # need to sort out depends and numerous failures
+
+# BDEPEND="sys-process/parallel"
+# BDEPEND="test? ( net-libs/nodejs )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+ "${FILESDIR}"/${PN}-1.6.6-csources-flags.patch
+)
+
+# Borrowed from nim-utils.eclass (guru overlay).
+nim_gen_config() {
+ cat > nim.cfg <<- EOF || die "Failed to create Nim config"
+ cc:"gcc"
+ gcc.exe:"$(tc-getCC)"
+ gcc.linkerexe:"$(tc-getCC)"
+ gcc.cpp.exe:"$(tc-getCXX)"
+ gcc.cpp.linkerexe:"$(tc-getCXX)"
+ gcc.options.speed:"${CFLAGS}"
+ gcc.options.size:"${CFLAGS}"
+ gcc.options.debug:"${CFLAGS}"
+ gcc.options.always:"${CPPFLAGS}"
+ gcc.options.linker:"${LDFLAGS}"
+ gcc.cpp.options.speed:"${CXXFLAGS}"
+ gcc.cpp.options.size:"${CXXFLAGS}"
+ gcc.cpp.options.debug:"${CXXFLAGS}"
+ gcc.cpp.options.always:"${CPPFLAGS}"
+ gcc.cpp.options.linker:"${LDFLAGS}"
+
+ $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
+ -d:"$(usex debug debug release)"
+ --parallelBuild:"$(makeopts_jobs)"
+ EOF
+}
+
+src_prepare() {
+ default
+
+ # note: there are consumers in the ::guru overlay
+ use experimental && eapply "${WORKDIR}"/${PN}-patches-1.6.6
+}
+
+src_configure() {
+ xdg_environment_reset # bug 667182
+
+ unset NIMBLE_DIR
+ tc-export CC CXX LD
+
+ nim_gen_config
+}
+
+src_compile() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ # Build from C sources
+ # Compiling with sys-process/parallel fails for some reason but hopefully
+ # we'll be able to enable it later...
+ edo bash build.sh # --parallel "$(makeopts_jobs)"
+
+ edo ./bin/nim compile koch
+ edo ./koch boot -d:nimUseLinenoise --skipParentCfg:off
+ edo ./koch tools
+}
+
+src_test() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./koch test
+}
+
+src_install() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./koch install "${ED}"
+
+ # "./koch install" installs only "nim" binary
+ # but not the rest
+ exeinto /usr/bin
+ local exe
+ for exe in bin/* ; do
+ [[ "${exe}" == bin/nim ]] && continue
+ doexe "${exe}"
+ done
+
+ newbashcomp tools/nim.bash-completion nim
+ newbashcomp dist/nimble/nimble.bash-completion nimble
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2022-09-29 0:22 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2022-09-29 0:22 UTC (permalink / raw
To: gentoo-commits
commit: 3ae7292277772b10f073e6db48901df1fd5d9005
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 00:12:47 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 00:22:31 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ae72922
dev-lang/nim: drop old 1.6.2
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.6.2.ebuild | 92 -------------------------------------------
2 files changed, 93 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 33d52848817b..cf68860e31b4 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,4 +1,3 @@
-DIST nim-1.6.2.tar.xz 5181616 BLAKE2B adedbcaad1b135b6f99459894856190103e2d2b678849e0418f77c02a54fde44224456ea13949f3fe9f5f020a90adde46593497895674bd9ae892b17708df292 SHA512 052b62c987035f7633f965356993cd4eec686f4f4f5c675cf966d82cb30fcf574045887a4402bcc20e487299fb5e8f65a921951c2dc21ac334e695e31d95d992
DIST nim-1.6.4.tar.xz 5130208 BLAKE2B d0f297581677bbb9fb185a8b4198f48bb58efe81a1624f62051bc1e0a93f879a0cec172f11a41784ca715ba3c151dc5307e96c15c54908aa40df406040891d6c SHA512 f4d082f37f0e675e8cdb4340d67f2e58b5e6ac5bb51dab1ded5417097f3b86d71fa585ef12ee1c3cd5b17285589cbe9d5658fcb29c98547f7967a1b6f0cb4646
DIST nim-1.6.6.tar.xz 5149956 BLAKE2B 2fd1b40f1ecc1200255052d9e013c55287d3e01337146d0b1386d0f3fc9c14fda1e8e82ee289e782c77a573c1ae0985ea7f900f61e6b9824a9eb4b5c803c7f71 SHA512 6ea8d3f61adae48184dd0e3ac393296fd3bd5ead818e7dee949f43eccbd0b6229ebfc474353ddd63cc734f82c3247998fbfe88362061983f978ad8d0ab7fa677
DIST nim-1.6.8.tar.xz 5219880 BLAKE2B 16eac6f302b4ef1df14deaa0350e0e5553c7613515cc3e79cbe025af70955bef29c8261a1f91ba901023d9c53f9f00d62116301eb5a4ee4bb5314bb1e25a5755 SHA512 dd046dd393136fdcb78f463e267756bdb990b08e80e3a8be7fec1995b47a930447468e12bb9a59db6ec5546117f62ff4ccd032959879ef2d1d06a7bc5c438f83
diff --git a/dev-lang/nim/nim-1.6.2.ebuild b/dev-lang/nim/nim-1.6.2.ebuild
deleted file mode 100644
index 28eae69957ac..000000000000
--- a/dev-lang/nim/nim-1.6.2.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug +readline"
-RESTRICT="test" # need to sort out depends and numerous failures
-
-RDEPEND="readline? ( sys-libs/readline:0= )"
-DEPEND="${RDEPEND}"
-# test? ( net-libs/nodejs )
-
-PATCHES=( "${FILESDIR}"/${PN}-0.20.0-paths.patch )
-
-# Generated by nim
-QA_FLAGS_IGNORED="
-usr/bin/atlas
-usr/bin/nim
-usr/bin/nim_dbg
-usr/bin/nimble
-usr/bin/nimgrep
-usr/bin/nimpretty
-usr/bin/nimsuggest
-usr/bin/testament
-"
-
-_run() {
- echo "Running: ${@}"
- PATH="${S}/bin:${PATH}" "${@}" || die "Failed: \"${*}\""
-}
-
-nim_use_enable() {
- [[ -z "${2}" ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use "${1}" && echo "-d:${2}"
-}
-
-src_configure() {
- export XDG_CACHE_HOME="${T}/cache" #667182
- unset NIMBLE_DIR
- tc-export CC CXX LD
-
- local build_type
- if use debug ; then
- build_type="debug"
- else
- build_type="release"
- fi
- export NIM_OPTS=( --parallelBuild:$(makeopts_jobs) -d:${build_type} )
-
- # Override defaults
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
- echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
- _run bash ./build.sh
-
- _run ./bin/nim ${NIM_OPTS[@]} compile koch
- _run ./koch boot ${NIM_OPTS[@]} $(nim_use_enable readline useGnuReadline)
- _run ./koch tools ${NIM_OPTS[@]}
-}
-
-src_test() {
- _run ./koch test
-}
-
-src_install() {
- _run ./koch install "${ED}"
-
- # "./koch install" installs only "nim" binary
- # but not the rest
- exeinto /usr/bin
- local exe
- for exe in bin/* ; do
- [[ "${exe}" == bin/nim ]] && continue
- doexe "${exe}"
- done
-
- newbashcomp tools/nim.bash-completion nim
- newbashcomp dist/nimble/nimble.bash-completion nimble
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2022-11-24 4:13 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2022-11-24 4:13 UTC (permalink / raw
To: gentoo-commits
commit: 9c7288b0374e4506a1c7f7054e06e37b7ebbde66
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 23 23:32:28 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Nov 24 04:04:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c7288b0
dev-lang/nim: bump to 1.6.10
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.6.10.ebuild | 108 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 109 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index cf68860e31b4..9266eadbb25f 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,3 +1,4 @@
+DIST nim-1.6.10.tar.xz 5216284 BLAKE2B d5b7bdc488086260b84700e3022ff7fc45b98d78574a3d2e288c95968a580fa644e47612dc60d6e63f5e85687f5b59a28128be746abc55bd6d4527344dc3ab14 SHA512 2ba6c4db68030ace2b4dd9b7f85d2b7c882c62e8f7f68bd0b82f548c91c300ab0e03c66f56c678127058f56b75a5550dec48d68eb6d666a179994cd1a6e2cc47
DIST nim-1.6.4.tar.xz 5130208 BLAKE2B d0f297581677bbb9fb185a8b4198f48bb58efe81a1624f62051bc1e0a93f879a0cec172f11a41784ca715ba3c151dc5307e96c15c54908aa40df406040891d6c SHA512 f4d082f37f0e675e8cdb4340d67f2e58b5e6ac5bb51dab1ded5417097f3b86d71fa585ef12ee1c3cd5b17285589cbe9d5658fcb29c98547f7967a1b6f0cb4646
DIST nim-1.6.6.tar.xz 5149956 BLAKE2B 2fd1b40f1ecc1200255052d9e013c55287d3e01337146d0b1386d0f3fc9c14fda1e8e82ee289e782c77a573c1ae0985ea7f900f61e6b9824a9eb4b5c803c7f71 SHA512 6ea8d3f61adae48184dd0e3ac393296fd3bd5ead818e7dee949f43eccbd0b6229ebfc474353ddd63cc734f82c3247998fbfe88362061983f978ad8d0ab7fa677
DIST nim-1.6.8.tar.xz 5219880 BLAKE2B 16eac6f302b4ef1df14deaa0350e0e5553c7613515cc3e79cbe025af70955bef29c8261a1f91ba901023d9c53f9f00d62116301eb5a4ee4bb5314bb1e25a5755 SHA512 dd046dd393136fdcb78f463e267756bdb990b08e80e3a8be7fec1995b47a930447468e12bb9a59db6ec5546117f62ff4ccd032959879ef2d1d06a7bc5c438f83
diff --git a/dev-lang/nim/nim-1.6.10.ebuild b/dev-lang/nim/nim-1.6.10.ebuild
new file mode 100644
index 000000000000..00b90b784ff9
--- /dev/null
+++ b/dev-lang/nim/nim-1.6.10.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
+
+DESCRIPTION="compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="
+ https://nim-lang.org/download/${P}.tar.xz
+ experimental? (
+ https://git.sr.ht/~cyber/${PN}-patches/archive/1.6.6.tar.gz
+ -> ${PN}-patches-1.6.6.tar.gz
+ )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug experimental"
+RESTRICT="test" # need to sort out depends and numerous failures
+
+# BDEPEND="sys-process/parallel"
+# BDEPEND="test? ( net-libs/nodejs )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+ "${FILESDIR}"/${PN}-1.6.6-csources-flags.patch
+)
+
+# Borrowed from nim-utils.eclass (guru overlay).
+nim_gen_config() {
+ cat > nim.cfg <<- EOF || die "Failed to create Nim config"
+ cc:"gcc"
+ gcc.exe:"$(tc-getCC)"
+ gcc.linkerexe:"$(tc-getCC)"
+ gcc.cpp.exe:"$(tc-getCXX)"
+ gcc.cpp.linkerexe:"$(tc-getCXX)"
+ gcc.options.speed:"${CFLAGS}"
+ gcc.options.size:"${CFLAGS}"
+ gcc.options.debug:"${CFLAGS}"
+ gcc.options.always:"${CPPFLAGS}"
+ gcc.options.linker:"${LDFLAGS}"
+ gcc.cpp.options.speed:"${CXXFLAGS}"
+ gcc.cpp.options.size:"${CXXFLAGS}"
+ gcc.cpp.options.debug:"${CXXFLAGS}"
+ gcc.cpp.options.always:"${CPPFLAGS}"
+ gcc.cpp.options.linker:"${LDFLAGS}"
+
+ $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
+ -d:"$(usex debug debug release)"
+ --parallelBuild:"$(makeopts_jobs)"
+ EOF
+}
+
+src_prepare() {
+ default
+
+ # note: there are consumers in the ::guru overlay
+ use experimental && eapply "${WORKDIR}"/${PN}-patches-1.6.6
+}
+
+src_configure() {
+ xdg_environment_reset # bug 667182
+
+ unset NIMBLE_DIR
+ tc-export CC CXX LD
+
+ nim_gen_config
+}
+
+src_compile() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ # Build from C sources
+ # Compiling with sys-process/parallel fails for some reason but hopefully
+ # we'll be able to enable it later...
+ edo bash build.sh # --parallel "$(makeopts_jobs)"
+
+ edo ./bin/nim compile koch
+ edo ./koch boot -d:nimUseLinenoise --skipParentCfg:off
+ edo ./koch tools
+}
+
+src_test() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./koch test
+}
+
+src_install() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./koch install "${ED}"
+
+ # "./koch install" installs only "nim" binary
+ # but not the rest
+ exeinto /usr/bin
+ local exe
+ for exe in bin/* ; do
+ [[ "${exe}" == bin/nim ]] && continue
+ doexe "${exe}"
+ done
+
+ newbashcomp tools/nim.bash-completion nim
+ newbashcomp dist/nimble/nimble.bash-completion nimble
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-01-03 20:30 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2023-01-03 20:30 UTC (permalink / raw
To: gentoo-commits
commit: 5002ab447454bf2d51ca3a7aa54fbeed5f508e0d
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 3 20:03:47 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jan 3 20:29:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5002ab44
dev-lang/nim: drop IUSE=debug
Closes: https://bugs.gentoo.org/889448
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/{nim-1.6.10.ebuild => nim-1.6.10-r1.ebuild} | 6 +++---
dev-lang/nim/{nim-1.6.6-r2.ebuild => nim-1.6.6-r3.ebuild} | 14 ++++++++------
dev-lang/nim/{nim-1.6.8.ebuild => nim-1.6.8-r1.ebuild} | 6 +++---
3 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/dev-lang/nim/nim-1.6.10.ebuild b/dev-lang/nim/nim-1.6.10-r1.ebuild
similarity index 96%
rename from dev-lang/nim/nim-1.6.10.ebuild
rename to dev-lang/nim/nim-1.6.10-r1.ebuild
index 00b90b784ff9..4634c652fad3 100644
--- a/dev-lang/nim/nim-1.6.10.ebuild
+++ b/dev-lang/nim/nim-1.6.10-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug experimental"
+IUSE="experimental"
RESTRICT="test" # need to sort out depends and numerous failures
# BDEPEND="sys-process/parallel"
@@ -49,7 +49,7 @@ nim_gen_config() {
gcc.cpp.options.linker:"${LDFLAGS}"
$([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
- -d:"$(usex debug debug release)"
+ -d:"release"
--parallelBuild:"$(makeopts_jobs)"
EOF
}
diff --git a/dev-lang/nim/nim-1.6.6-r2.ebuild b/dev-lang/nim/nim-1.6.6-r3.ebuild
similarity index 89%
rename from dev-lang/nim/nim-1.6.6-r2.ebuild
rename to dev-lang/nim/nim-1.6.6-r3.ebuild
index 79f9edc5c376..6314b192e44d 100644
--- a/dev-lang/nim/nim-1.6.6-r2.ebuild
+++ b/dev-lang/nim/nim-1.6.6-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,13 +9,16 @@ DESCRIPTION="compiled, garbage-collected systems programming language"
HOMEPAGE="https://nim-lang.org/"
SRC_URI="
https://nim-lang.org/download/${P}.tar.xz
- experimental? ( https://git.sr.ht/~cyber/${PN}-patches/archive/${PV}.tar.gz -> ${PN}-patches-${PV}.tar.gz )
+ experimental? (
+ https://git.sr.ht/~cyber/${PN}-patches/archive/${PV}.tar.gz
+ -> ${PN}-patches-${PV}.tar.gz
+ )
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug experimental"
+IUSE="experimental"
RESTRICT="test" # need to sort out depends and numerous failures
# BDEPEND="sys-process/parallel"
@@ -46,7 +49,7 @@ nim_gen_config() {
gcc.cpp.options.linker:"${LDFLAGS}"
$([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
- -d:"$(usex debug debug release)"
+ -d:"release"
--parallelBuild:"$(makeopts_jobs)"
EOF
}
@@ -55,8 +58,7 @@ src_prepare() {
default
# note: there are consumers in the ::guru overlay
- use experimental && \
- eapply "${WORKDIR}"/${PN}-patches-${PV}
+ use experimental && eapply "${WORKDIR}"/${PN}-patches-${PV}
}
src_configure() {
diff --git a/dev-lang/nim/nim-1.6.8.ebuild b/dev-lang/nim/nim-1.6.8-r1.ebuild
similarity index 96%
rename from dev-lang/nim/nim-1.6.8.ebuild
rename to dev-lang/nim/nim-1.6.8-r1.ebuild
index 00b90b784ff9..4634c652fad3 100644
--- a/dev-lang/nim/nim-1.6.8.ebuild
+++ b/dev-lang/nim/nim-1.6.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug experimental"
+IUSE="experimental"
RESTRICT="test" # need to sort out depends and numerous failures
# BDEPEND="sys-process/parallel"
@@ -49,7 +49,7 @@ nim_gen_config() {
gcc.cpp.options.linker:"${LDFLAGS}"
$([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
- -d:"$(usex debug debug release)"
+ -d:"release"
--parallelBuild:"$(makeopts_jobs)"
EOF
}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-01-03 20:30 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2023-01-03 20:30 UTC (permalink / raw
To: gentoo-commits
commit: 5ae313ebe4d74328743a7acd759b08fdc472f281
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 3 19:44:01 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jan 3 20:29:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae313eb
dev-lang/nim: drop old 1.6.4
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.6.4.ebuild | 92 -------------------------------------------
2 files changed, 93 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 9266eadbb25f..c47f0791449f 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,5 +1,4 @@
DIST nim-1.6.10.tar.xz 5216284 BLAKE2B d5b7bdc488086260b84700e3022ff7fc45b98d78574a3d2e288c95968a580fa644e47612dc60d6e63f5e85687f5b59a28128be746abc55bd6d4527344dc3ab14 SHA512 2ba6c4db68030ace2b4dd9b7f85d2b7c882c62e8f7f68bd0b82f548c91c300ab0e03c66f56c678127058f56b75a5550dec48d68eb6d666a179994cd1a6e2cc47
-DIST nim-1.6.4.tar.xz 5130208 BLAKE2B d0f297581677bbb9fb185a8b4198f48bb58efe81a1624f62051bc1e0a93f879a0cec172f11a41784ca715ba3c151dc5307e96c15c54908aa40df406040891d6c SHA512 f4d082f37f0e675e8cdb4340d67f2e58b5e6ac5bb51dab1ded5417097f3b86d71fa585ef12ee1c3cd5b17285589cbe9d5658fcb29c98547f7967a1b6f0cb4646
DIST nim-1.6.6.tar.xz 5149956 BLAKE2B 2fd1b40f1ecc1200255052d9e013c55287d3e01337146d0b1386d0f3fc9c14fda1e8e82ee289e782c77a573c1ae0985ea7f900f61e6b9824a9eb4b5c803c7f71 SHA512 6ea8d3f61adae48184dd0e3ac393296fd3bd5ead818e7dee949f43eccbd0b6229ebfc474353ddd63cc734f82c3247998fbfe88362061983f978ad8d0ab7fa677
DIST nim-1.6.8.tar.xz 5219880 BLAKE2B 16eac6f302b4ef1df14deaa0350e0e5553c7613515cc3e79cbe025af70955bef29c8261a1f91ba901023d9c53f9f00d62116301eb5a4ee4bb5314bb1e25a5755 SHA512 dd046dd393136fdcb78f463e267756bdb990b08e80e3a8be7fec1995b47a930447468e12bb9a59db6ec5546117f62ff4ccd032959879ef2d1d06a7bc5c438f83
DIST nim-patches-1.6.6.tar.gz 1975 BLAKE2B 75490f4c61f4d920aadb2ad5908cb2773e270f80cee95f937ede8125bad5688b71840ed7f48659db892e4017437a0454b38eab18ae8b13c6b48207d0a7714371 SHA512 4d1590e7d05ad64432b943f8da9edb2b05213400181d1e07a0e40f479afbceb1997d0ea0f05a73d550afe60cf4b657f7e34840907ea16c3b9e96824e9f29e0e5
diff --git a/dev-lang/nim/nim-1.6.4.ebuild b/dev-lang/nim/nim-1.6.4.ebuild
deleted file mode 100644
index 11af93abf307..000000000000
--- a/dev-lang/nim/nim-1.6.4.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 multiprocessing toolchain-funcs
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug +readline"
-RESTRICT="test" # need to sort out depends and numerous failures
-
-RDEPEND="readline? ( sys-libs/readline:0= )"
-DEPEND="${RDEPEND}"
-# BDEPEND="test? ( net-libs/nodejs )"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.20.0-paths.patch )
-
-# Generated by nim
-QA_FLAGS_IGNORED="
-usr/bin/atlas
-usr/bin/nim
-usr/bin/nim_dbg
-usr/bin/nimble
-usr/bin/nimgrep
-usr/bin/nimpretty
-usr/bin/nimsuggest
-usr/bin/testament
-"
-
-_run() {
- echo "Running: ${@}"
- PATH="${S}/bin:${PATH}" "${@}" || die "Failed: \"${*}\""
-}
-
-nim_use_enable() {
- [[ -z "${2}" ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
- use "${1}" && echo "-d:${2}"
-}
-
-src_configure() {
- export XDG_CACHE_HOME="${T}/cache" # 667182
- unset NIMBLE_DIR
- tc-export CC CXX LD
-
- local build_type
- if use debug ; then
- build_type="debug"
- else
- build_type="release"
- fi
- export NIM_OPTS=( --parallelBuild:$(makeopts_jobs) -d:${build_type} )
-
- # Override defaults
- echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
- echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
- echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
-}
-
-src_compile() {
- _run bash ./build.sh
-
- _run ./bin/nim ${NIM_OPTS[@]} compile koch
- _run ./koch boot ${NIM_OPTS[@]} $(nim_use_enable readline useGnuReadline)
- _run ./koch tools ${NIM_OPTS[@]}
-}
-
-src_test() {
- _run ./koch test
-}
-
-src_install() {
- _run ./koch install "${ED}"
-
- # "./koch install" installs only "nim" binary
- # but not the rest
- exeinto /usr/bin
- local exe
- for exe in bin/* ; do
- [[ "${exe}" == bin/nim ]] && continue
- doexe "${exe}"
- done
-
- newbashcomp tools/nim.bash-completion nim
- newbashcomp dist/nimble/nimble.bash-completion nimble
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-02-26 18:27 Arthur Zamarin
0 siblings, 0 replies; 88+ messages in thread
From: Arthur Zamarin @ 2023-02-26 18:27 UTC (permalink / raw
To: gentoo-commits
commit: c82c996bedb2fa0ccf10df3cc55ec5326107196f
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 18:26:56 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 18:26:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c82c996b
dev-lang/nim: Stabilize 1.6.10-r2 amd64, #893564
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-lang/nim/nim-1.6.10-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/nim/nim-1.6.10-r2.ebuild b/dev-lang/nim/nim-1.6.10-r2.ebuild
index 5bbd9b8328f5..282de83f53e2 100644
--- a/dev-lang/nim/nim-1.6.10-r2.ebuild
+++ b/dev-lang/nim/nim-1.6.10-r2.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
IUSE="doc experimental test-js test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-02-28 18:03 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2023-02-28 18:03 UTC (permalink / raw
To: gentoo-commits
commit: 570da9a51eab7e587d71bb93c3fee65444f24a8e
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 19:22:02 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 18:03:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570da9a5
dev-lang/nim: add nim <AT> gentoo.org to maintainers
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-lang/nim/metadata.xml b/dev-lang/nim/metadata.xml
index b544028faf59..43513b90b646 100644
--- a/dev-lang/nim/metadata.xml
+++ b/dev-lang/nim/metadata.xml
@@ -6,6 +6,10 @@
<email>xgqt@gentoo.org</email>
<name>Maciej Barć</name>
</maintainer>
+ <maintainer type="project">
+ <email>nim@gentoo.org</email>
+ <name>Gentoo Nim Project</name>
+ </maintainer>
<longdescription>
Nim is a statically typed compiled systems programming language.
It combines successful concepts from mature languages like Python,
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-03-11 8:02 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2023-03-11 8:02 UTC (permalink / raw
To: gentoo-commits
commit: 6374fe32293923ea25700041c76de92ec4a515fe
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 10 13:50:40 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 08:01:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6374fe32
dev-lang/nim: drop old 1.6.6-r3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.6.6-r3.ebuild | 108 ---------------------------------------
2 files changed, 109 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index cf65e8eb2065..a76838169d04 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,5 +1,4 @@
DIST nim-1.6.10.tar.xz 5216284 BLAKE2B d5b7bdc488086260b84700e3022ff7fc45b98d78574a3d2e288c95968a580fa644e47612dc60d6e63f5e85687f5b59a28128be746abc55bd6d4527344dc3ab14 SHA512 2ba6c4db68030ace2b4dd9b7f85d2b7c882c62e8f7f68bd0b82f548c91c300ab0e03c66f56c678127058f56b75a5550dec48d68eb6d666a179994cd1a6e2cc47
-DIST nim-1.6.6.tar.xz 5149956 BLAKE2B 2fd1b40f1ecc1200255052d9e013c55287d3e01337146d0b1386d0f3fc9c14fda1e8e82ee289e782c77a573c1ae0985ea7f900f61e6b9824a9eb4b5c803c7f71 SHA512 6ea8d3f61adae48184dd0e3ac393296fd3bd5ead818e7dee949f43eccbd0b6229ebfc474353ddd63cc734f82c3247998fbfe88362061983f978ad8d0ab7fa677
DIST nim-1.6.8.tar.xz 5219880 BLAKE2B 16eac6f302b4ef1df14deaa0350e0e5553c7613515cc3e79cbe025af70955bef29c8261a1f91ba901023d9c53f9f00d62116301eb5a4ee4bb5314bb1e25a5755 SHA512 dd046dd393136fdcb78f463e267756bdb990b08e80e3a8be7fec1995b47a930447468e12bb9a59db6ec5546117f62ff4ccd032959879ef2d1d06a7bc5c438f83
DIST nim-patches-1.6.6.tar.gz 1975 BLAKE2B 75490f4c61f4d920aadb2ad5908cb2773e270f80cee95f937ede8125bad5688b71840ed7f48659db892e4017437a0454b38eab18ae8b13c6b48207d0a7714371 SHA512 4d1590e7d05ad64432b943f8da9edb2b05213400181d1e07a0e40f479afbceb1997d0ea0f05a73d550afe60cf4b657f7e34840907ea16c3b9e96824e9f29e0e5
DIST nim-patches-1.6.6_p1.tar.gz 2632 BLAKE2B 64980d9510dc48e3c566473dc618d00cafba04783882d62b12015e8435c9c0515d7726da30f0b74dca6a41aa88a9c9aed2189a65b3325c28839d0051de8a3365 SHA512 7ba251675cd564452669bf5ec3748565db818324f58506f20a5036e4b54df10f4d7c149cece8cb97c853222cfa7d4d8d26856d92aaa25e613e31c6f5c2a8243d
diff --git a/dev-lang/nim/nim-1.6.6-r3.ebuild b/dev-lang/nim/nim-1.6.6-r3.ebuild
deleted file mode 100644
index 6314b192e44d..000000000000
--- a/dev-lang/nim/nim-1.6.6-r3.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="
- https://nim-lang.org/download/${P}.tar.xz
- experimental? (
- https://git.sr.ht/~cyber/${PN}-patches/archive/${PV}.tar.gz
- -> ${PN}-patches-${PV}.tar.gz
- )
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="experimental"
-RESTRICT="test" # need to sort out depends and numerous failures
-
-# BDEPEND="sys-process/parallel"
-# BDEPEND="test? ( net-libs/nodejs )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
- "${FILESDIR}"/${PN}-1.6.6-csources-flags.patch
-)
-
-# Borrowed from nim-utils.eclass (guru overlay).
-nim_gen_config() {
- cat > nim.cfg <<- EOF || die "Failed to create Nim config"
- cc:"gcc"
- gcc.exe:"$(tc-getCC)"
- gcc.linkerexe:"$(tc-getCC)"
- gcc.cpp.exe:"$(tc-getCXX)"
- gcc.cpp.linkerexe:"$(tc-getCXX)"
- gcc.options.speed:"${CFLAGS}"
- gcc.options.size:"${CFLAGS}"
- gcc.options.debug:"${CFLAGS}"
- gcc.options.always:"${CPPFLAGS}"
- gcc.options.linker:"${LDFLAGS}"
- gcc.cpp.options.speed:"${CXXFLAGS}"
- gcc.cpp.options.size:"${CXXFLAGS}"
- gcc.cpp.options.debug:"${CXXFLAGS}"
- gcc.cpp.options.always:"${CPPFLAGS}"
- gcc.cpp.options.linker:"${LDFLAGS}"
-
- $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
- -d:"release"
- --parallelBuild:"$(makeopts_jobs)"
- EOF
-}
-
-src_prepare() {
- default
-
- # note: there are consumers in the ::guru overlay
- use experimental && eapply "${WORKDIR}"/${PN}-patches-${PV}
-}
-
-src_configure() {
- xdg_environment_reset # bug 667182
-
- unset NIMBLE_DIR
- tc-export CC CXX LD
-
- nim_gen_config
-}
-
-src_compile() {
- local -x PATH="${S}/bin:${PATH}"
-
- # Build from C sources
- # Compiling with sys-process/parallel fails for some reason but hopefully
- # we'll be able to enable it later...
- edo bash build.sh # --parallel "$(makeopts_jobs)"
-
- edo ./bin/nim compile koch
- edo ./koch boot -d:nimUseLinenoise --skipParentCfg:off
- edo ./koch tools
-}
-
-src_test() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./koch test
-}
-
-src_install() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./koch install "${ED}"
-
- # "./koch install" installs only "nim" binary
- # but not the rest
- exeinto /usr/bin
- local exe
- for exe in bin/* ; do
- [[ "${exe}" == bin/nim ]] && continue
- doexe "${exe}"
- done
-
- newbashcomp tools/nim.bash-completion nim
- newbashcomp dist/nimble/nimble.bash-completion nimble
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-03-11 8:02 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2023-03-11 8:02 UTC (permalink / raw
To: gentoo-commits
commit: 41d9a5788023970d4c2fe2c216dc46221d98dc8d
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 10 15:19:59 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 08:01:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41d9a578
dev-lang/nim: bump to 1.6.12
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-1.6.12.ebuild | 198 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 199 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index a76838169d04..d9c126dfd5c7 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,4 +1,5 @@
DIST nim-1.6.10.tar.xz 5216284 BLAKE2B d5b7bdc488086260b84700e3022ff7fc45b98d78574a3d2e288c95968a580fa644e47612dc60d6e63f5e85687f5b59a28128be746abc55bd6d4527344dc3ab14 SHA512 2ba6c4db68030ace2b4dd9b7f85d2b7c882c62e8f7f68bd0b82f548c91c300ab0e03c66f56c678127058f56b75a5550dec48d68eb6d666a179994cd1a6e2cc47
+DIST nim-1.6.12.tar.xz 5180496 BLAKE2B d7c04ffdde273336770d9397dd255b7cfc442f6be9592afbfa5ceb1ac7836a8213d5cea673477ab55bd56c004cc477a6023b6a2799715f46689f3e328302e433 SHA512 17c31024ee19dfa36f25bf8a5091992b24a4adb1a817246119a2fc552075999f698a92e66243ddd5ee69d966deead37535c9aac00ebece3854c930f905eeb030
DIST nim-1.6.8.tar.xz 5219880 BLAKE2B 16eac6f302b4ef1df14deaa0350e0e5553c7613515cc3e79cbe025af70955bef29c8261a1f91ba901023d9c53f9f00d62116301eb5a4ee4bb5314bb1e25a5755 SHA512 dd046dd393136fdcb78f463e267756bdb990b08e80e3a8be7fec1995b47a930447468e12bb9a59db6ec5546117f62ff4ccd032959879ef2d1d06a7bc5c438f83
DIST nim-patches-1.6.6.tar.gz 1975 BLAKE2B 75490f4c61f4d920aadb2ad5908cb2773e270f80cee95f937ede8125bad5688b71840ed7f48659db892e4017437a0454b38eab18ae8b13c6b48207d0a7714371 SHA512 4d1590e7d05ad64432b943f8da9edb2b05213400181d1e07a0e40f479afbceb1997d0ea0f05a73d550afe60cf4b657f7e34840907ea16c3b9e96824e9f29e0e5
DIST nim-patches-1.6.6_p1.tar.gz 2632 BLAKE2B 64980d9510dc48e3c566473dc618d00cafba04783882d62b12015e8435c9c0515d7726da30f0b74dca6a41aa88a9c9aed2189a65b3325c28839d0051de8a3365 SHA512 7ba251675cd564452669bf5ec3748565db818324f58506f20a5036e4b54df10f4d7c149cece8cb97c853222cfa7d4d8d26856d92aaa25e613e31c6f5c2a8243d
diff --git a/dev-lang/nim/nim-1.6.12.ebuild b/dev-lang/nim/nim-1.6.12.ebuild
new file mode 100644
index 000000000000..675ddf78b6f6
--- /dev/null
+++ b/dev-lang/nim/nim-1.6.12.ebuild
@@ -0,0 +1,198 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PATCH_PV="1.6.6_p1"
+
+inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
+
+DESCRIPTION="Compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/"
+SRC_URI="
+ https://nim-lang.org/download/${P}.tar.xz
+ experimental? (
+ https://git.sr.ht/~cyber/${PN}-patches/archive/${PATCH_PV}.tar.gz
+ -> nim-patches-${PATCH_PV}.tar.gz
+ )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc experimental test-js test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? (
+ dev-db/sqlite:3
+ dev-libs/boehm-gc
+ dev-libs/libffi
+ dev-libs/libpcre:3
+ dev-libs/openssl
+ media-libs/libsdl
+ media-libs/libsfml
+ )
+"
+BDEPEND="
+ sys-process/parallel
+ test? (
+ test-js? (
+ net-libs/nodejs
+ )
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-paths.patch
+ "${FILESDIR}"/${PN}-1.6.6-csources-flags.patch
+)
+
+# Borrowed from nim-utils.eclass (guru overlay).
+nim_gen_config() {
+ cat > nim.cfg <<- EOF || die "Failed to create Nim config"
+ cc:"gcc"
+ gcc.exe:"$(tc-getCC)"
+ gcc.linkerexe:"$(tc-getCC)"
+ gcc.cpp.exe:"$(tc-getCXX)"
+ gcc.cpp.linkerexe:"$(tc-getCXX)"
+ gcc.options.speed:"${CFLAGS}"
+ gcc.options.size:"${CFLAGS}"
+ gcc.options.debug:"${CFLAGS}"
+ gcc.options.always:"${CPPFLAGS}"
+ gcc.options.linker:"${LDFLAGS}"
+ gcc.cpp.options.speed:"${CXXFLAGS}"
+ gcc.cpp.options.size:"${CXXFLAGS}"
+ gcc.cpp.options.debug:"${CXXFLAGS}"
+ gcc.cpp.options.always:"${CPPFLAGS}"
+ gcc.cpp.options.linker:"${LDFLAGS}"
+
+ $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
+ -d:"release"
+ --parallelBuild:"$(makeopts_jobs)"
+
+ # some tests don't work with processing hints
+ --processing:"off"
+ EOF
+}
+
+src_prepare() {
+ default
+
+ # note: there are consumers in the ::guru overlay
+ use experimental && eapply "${WORKDIR}"/nim-patches-${PATCH_PV}
+}
+
+src_configure() {
+ xdg_environment_reset # bug 667182
+
+ unset NIMBLE_DIR
+ tc-export CC CXX LD
+
+ nim_gen_config
+
+ mkdir "${HOME}"/.parallel || die
+ touch "${HOME}"/.parallel/will-cite || die "parallel setup failed"
+}
+
+src_compile() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./build.sh --parallel "$(makeopts_jobs)"
+
+ ebegin "Waiting for unfinished jobs"
+ while [[ ! -f "bin/nim" ]]; do
+ sleep 1
+ done
+ eend 0
+
+ edo ./bin/nim compile koch
+ edo ./koch boot -d:nimUseLinenoise --skipParentCfg:off
+ edo ./koch tools
+
+ if use doc; then
+ local -a docargs=(
+ # set git tag
+ --git.commit:v${PV}
+ # skip runnableExamples as some of them need net
+ --docCmd:skip
+ # make logs less verbose
+ --hints:off
+ --warnings:off
+ )
+ edo ./koch doc "${docargs[@]}"
+ HTML_DOCS=( web/upload/${PV}/. )
+ fi
+}
+
+src_test() {
+ local -x PATH="${S}/bin:${PATH}"
+ local -a nimflags=(
+ # Leave only the safe hints enabled.
+ --hint:all:off
+ --hint:User:on
+ --hint:UserRaw:on
+ )
+ local -a testament_args=(
+ --skipFrom:"${FILESDIR}/${PN}-1.6.10-testament-skipfile.txt"
+ --nim:"bin/nim"
+ --targets:"$(usex test-js 'c js' 'c')"
+ )
+
+ [[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && \
+ testament_args+=( --colors:off )
+
+ local -a categories
+ readarray -t categories < <(find tests -mindepth 1 -maxdepth 1 -type d -printf "%P\n" | sort)
+
+ # AdditionalCategories from "testament/categories.nim".
+ categories+=( debugger examples lib )
+
+ local tcat checkpoint
+ for tcat in "${categories[@]}"; do
+ # Use checkpoints for less painful testing.
+ checkpoint="${T}/.testament-${tcat}"
+ [[ -f "${checkpoint}" ]] && continue
+
+ case ${tcat} in
+ testdata )
+ :
+ ;;
+ arc | ic | valgrind )
+ einfo "Skipped category '${tcat}'"
+ ;;
+ * )
+ einfo "Running tests in category '${tcat}'"
+ edo ./bin/testament "${testament_args[@]}" \
+ category "${tcat}" "${nimflags[@]}"
+ ;;
+ esac
+
+ touch "${checkpoint}" || die
+ done
+}
+
+src_install() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./koch install "${ED}"
+ einstalldocs
+
+ # "./koch install" installs only "nim" binary but not the rest.
+ local exe
+ for exe in bin/* ; do
+ [[ "${exe}" == bin/nim ]] && continue
+ dobin "${exe}"
+ done
+
+ newbashcomp tools/nim.bash-completion nim
+ newbashcomp dist/nimble/nimble.bash-completion nimble
+
+ insinto /usr/share/zsh/site-functions
+ newins tools/nim.zsh-completion _nim
+ newins dist/nimble/nimble.zsh-completion _nimble
+
+ # Install the @nim-rebuild set for Portage.
+ insinto /usr/share/portage/config/sets
+ newins "${FILESDIR}"/nim-sets.conf nim.conf
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-04-12 1:50 Sam James
0 siblings, 0 replies; 88+ messages in thread
From: Sam James @ 2023-04-12 1:50 UTC (permalink / raw
To: gentoo-commits
commit: dd905fe7484f94bf671281f6140210c5c5a7c3dc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 12 01:49:56 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 12 01:49:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd905fe7
dev-lang/nim: Stabilize 1.6.12 amd64, #904194
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lang/nim/nim-1.6.12.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/nim/nim-1.6.12.ebuild b/dev-lang/nim/nim-1.6.12.ebuild
index 675ddf78b6f6..753c07857dab 100644
--- a/dev-lang/nim/nim-1.6.12.ebuild
+++ b/dev-lang/nim/nim-1.6.12.ebuild
@@ -19,7 +19,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
IUSE="doc experimental test-js test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-05-05 12:03 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2023-05-05 12:03 UTC (permalink / raw
To: gentoo-commits
commit: 726d33155afa0f38e2a972f2f89ed2b0323ff09b
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri May 5 10:47:37 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri May 5 12:03:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=726d3315
dev-lang/nim: drop old 1.6.8-r1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 2 -
dev-lang/nim/nim-1.6.8-r1.ebuild | 108 ---------------------------------------
2 files changed, 110 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index d9c126dfd5c7..8efa204f6be8 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,5 +1,3 @@
DIST nim-1.6.10.tar.xz 5216284 BLAKE2B d5b7bdc488086260b84700e3022ff7fc45b98d78574a3d2e288c95968a580fa644e47612dc60d6e63f5e85687f5b59a28128be746abc55bd6d4527344dc3ab14 SHA512 2ba6c4db68030ace2b4dd9b7f85d2b7c882c62e8f7f68bd0b82f548c91c300ab0e03c66f56c678127058f56b75a5550dec48d68eb6d666a179994cd1a6e2cc47
DIST nim-1.6.12.tar.xz 5180496 BLAKE2B d7c04ffdde273336770d9397dd255b7cfc442f6be9592afbfa5ceb1ac7836a8213d5cea673477ab55bd56c004cc477a6023b6a2799715f46689f3e328302e433 SHA512 17c31024ee19dfa36f25bf8a5091992b24a4adb1a817246119a2fc552075999f698a92e66243ddd5ee69d966deead37535c9aac00ebece3854c930f905eeb030
-DIST nim-1.6.8.tar.xz 5219880 BLAKE2B 16eac6f302b4ef1df14deaa0350e0e5553c7613515cc3e79cbe025af70955bef29c8261a1f91ba901023d9c53f9f00d62116301eb5a4ee4bb5314bb1e25a5755 SHA512 dd046dd393136fdcb78f463e267756bdb990b08e80e3a8be7fec1995b47a930447468e12bb9a59db6ec5546117f62ff4ccd032959879ef2d1d06a7bc5c438f83
-DIST nim-patches-1.6.6.tar.gz 1975 BLAKE2B 75490f4c61f4d920aadb2ad5908cb2773e270f80cee95f937ede8125bad5688b71840ed7f48659db892e4017437a0454b38eab18ae8b13c6b48207d0a7714371 SHA512 4d1590e7d05ad64432b943f8da9edb2b05213400181d1e07a0e40f479afbceb1997d0ea0f05a73d550afe60cf4b657f7e34840907ea16c3b9e96824e9f29e0e5
DIST nim-patches-1.6.6_p1.tar.gz 2632 BLAKE2B 64980d9510dc48e3c566473dc618d00cafba04783882d62b12015e8435c9c0515d7726da30f0b74dca6a41aa88a9c9aed2189a65b3325c28839d0051de8a3365 SHA512 7ba251675cd564452669bf5ec3748565db818324f58506f20a5036e4b54df10f4d7c149cece8cb97c853222cfa7d4d8d26856d92aaa25e613e31c6f5c2a8243d
diff --git a/dev-lang/nim/nim-1.6.8-r1.ebuild b/dev-lang/nim/nim-1.6.8-r1.ebuild
deleted file mode 100644
index 4634c652fad3..000000000000
--- a/dev-lang/nim/nim-1.6.8-r1.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
-
-DESCRIPTION="compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="
- https://nim-lang.org/download/${P}.tar.xz
- experimental? (
- https://git.sr.ht/~cyber/${PN}-patches/archive/1.6.6.tar.gz
- -> ${PN}-patches-1.6.6.tar.gz
- )
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="experimental"
-RESTRICT="test" # need to sort out depends and numerous failures
-
-# BDEPEND="sys-process/parallel"
-# BDEPEND="test? ( net-libs/nodejs )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
- "${FILESDIR}"/${PN}-1.6.6-csources-flags.patch
-)
-
-# Borrowed from nim-utils.eclass (guru overlay).
-nim_gen_config() {
- cat > nim.cfg <<- EOF || die "Failed to create Nim config"
- cc:"gcc"
- gcc.exe:"$(tc-getCC)"
- gcc.linkerexe:"$(tc-getCC)"
- gcc.cpp.exe:"$(tc-getCXX)"
- gcc.cpp.linkerexe:"$(tc-getCXX)"
- gcc.options.speed:"${CFLAGS}"
- gcc.options.size:"${CFLAGS}"
- gcc.options.debug:"${CFLAGS}"
- gcc.options.always:"${CPPFLAGS}"
- gcc.options.linker:"${LDFLAGS}"
- gcc.cpp.options.speed:"${CXXFLAGS}"
- gcc.cpp.options.size:"${CXXFLAGS}"
- gcc.cpp.options.debug:"${CXXFLAGS}"
- gcc.cpp.options.always:"${CPPFLAGS}"
- gcc.cpp.options.linker:"${LDFLAGS}"
-
- $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
- -d:"release"
- --parallelBuild:"$(makeopts_jobs)"
- EOF
-}
-
-src_prepare() {
- default
-
- # note: there are consumers in the ::guru overlay
- use experimental && eapply "${WORKDIR}"/${PN}-patches-1.6.6
-}
-
-src_configure() {
- xdg_environment_reset # bug 667182
-
- unset NIMBLE_DIR
- tc-export CC CXX LD
-
- nim_gen_config
-}
-
-src_compile() {
- local -x PATH="${S}/bin:${PATH}"
-
- # Build from C sources
- # Compiling with sys-process/parallel fails for some reason but hopefully
- # we'll be able to enable it later...
- edo bash build.sh # --parallel "$(makeopts_jobs)"
-
- edo ./bin/nim compile koch
- edo ./koch boot -d:nimUseLinenoise --skipParentCfg:off
- edo ./koch tools
-}
-
-src_test() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./koch test
-}
-
-src_install() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./koch install "${ED}"
-
- # "./koch install" installs only "nim" binary
- # but not the rest
- exeinto /usr/bin
- local exe
- for exe in bin/* ; do
- [[ "${exe}" == bin/nim ]] && continue
- doexe "${exe}"
- done
-
- newbashcomp tools/nim.bash-completion nim
- newbashcomp dist/nimble/nimble.bash-completion nimble
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-08-01 18:53 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2023-08-01 18:53 UTC (permalink / raw
To: gentoo-commits
commit: bf0673066621cffc30b8f008a3804cfee25abbcf
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 31 14:08:33 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Aug 1 18:53:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf067306
dev-lang/nim: remove 1.6.14
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/nim-1.6.14.ebuild | 198 -----------------------------------------
1 file changed, 198 deletions(-)
diff --git a/dev-lang/nim/nim-1.6.14.ebuild b/dev-lang/nim/nim-1.6.14.ebuild
deleted file mode 100644
index c6bf55d99f89..000000000000
--- a/dev-lang/nim/nim-1.6.14.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PATCH_PV="1.6.6_p1"
-
-inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
-
-DESCRIPTION="Compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="
- https://nim-lang.org/download/${P}.tar.xz
- experimental? (
- https://git.sr.ht/~cyber/${PN}-patches/archive/${PATCH_PV}.tar.gz
- -> nim-patches-${PATCH_PV}.tar.gz
- )
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc experimental test-js test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? (
- dev-db/sqlite:3
- dev-libs/boehm-gc
- dev-libs/libffi
- dev-libs/libpcre:3
- dev-libs/openssl
- media-libs/libsdl
- media-libs/libsfml
- )
-"
-BDEPEND="
- sys-process/parallel
- test? (
- test-js? (
- net-libs/nodejs
- )
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
- "${FILESDIR}"/${PN}-1.6.6-csources-flags.patch
-)
-
-# Borrowed from nim-utils.eclass (guru overlay).
-nim_gen_config() {
- cat > nim.cfg <<- EOF || die "Failed to create Nim config"
- cc:"gcc"
- gcc.exe:"$(tc-getCC)"
- gcc.linkerexe:"$(tc-getCC)"
- gcc.cpp.exe:"$(tc-getCXX)"
- gcc.cpp.linkerexe:"$(tc-getCXX)"
- gcc.options.speed:"${CFLAGS}"
- gcc.options.size:"${CFLAGS}"
- gcc.options.debug:"${CFLAGS}"
- gcc.options.always:"${CPPFLAGS}"
- gcc.options.linker:"${LDFLAGS}"
- gcc.cpp.options.speed:"${CXXFLAGS}"
- gcc.cpp.options.size:"${CXXFLAGS}"
- gcc.cpp.options.debug:"${CXXFLAGS}"
- gcc.cpp.options.always:"${CPPFLAGS}"
- gcc.cpp.options.linker:"${LDFLAGS}"
-
- $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
- -d:"release"
- --parallelBuild:"$(makeopts_jobs)"
-
- # some tests don't work with processing hints
- --processing:"off"
- EOF
-}
-
-src_prepare() {
- default
-
- # note: there are consumers in the ::guru overlay
- use experimental && eapply "${WORKDIR}"/nim-patches-${PATCH_PV}
-}
-
-src_configure() {
- xdg_environment_reset # bug 667182
-
- unset NIMBLE_DIR
- tc-export CC CXX LD
-
- nim_gen_config
-
- mkdir "${HOME}"/.parallel || die
- touch "${HOME}"/.parallel/will-cite || die "parallel setup failed"
-}
-
-src_compile() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./build.sh --parallel "$(makeopts_jobs)"
-
- ebegin "Waiting for unfinished jobs"
- while [[ ! -f "bin/nim" ]]; do
- sleep 1
- done
- eend 0
-
- edo ./bin/nim compile koch
- edo ./koch boot -d:nimUseLinenoise --skipParentCfg:off
- edo ./koch tools
-
- if use doc; then
- local -a docargs=(
- # set git tag
- --git.commit:v${PV}
- # skip runnableExamples as some of them need net
- --docCmd:skip
- # make logs less verbose
- --hints:off
- --warnings:off
- )
- edo ./koch doc "${docargs[@]}"
- HTML_DOCS=( web/upload/${PV}/. )
- fi
-}
-
-src_test() {
- local -x PATH="${S}/bin:${PATH}"
- local -a nimflags=(
- # Leave only the safe hints enabled.
- --hint:all:off
- --hint:User:on
- --hint:UserRaw:on
- )
- local -a testament_args=(
- --skipFrom:"${FILESDIR}/${PN}-1.6.14-testament-skipfile.txt"
- --nim:"bin/nim"
- --targets:"$(usex test-js 'c js' 'c')"
- )
-
- [[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && \
- testament_args+=( --colors:off )
-
- local -a categories
- readarray -t categories < <(find tests -mindepth 1 -maxdepth 1 -type d -printf "%P\n" | sort)
-
- # AdditionalCategories from "testament/categories.nim".
- categories+=( debugger examples lib )
-
- local tcat checkpoint
- for tcat in "${categories[@]}"; do
- # Use checkpoints for less painful testing.
- checkpoint="${T}/.testament-${tcat}"
- [[ -f "${checkpoint}" ]] && continue
-
- case ${tcat} in
- testdata )
- :
- ;;
- arc | ic | valgrind )
- einfo "Skipped category '${tcat}'"
- ;;
- * )
- einfo "Running tests in category '${tcat}'"
- edo ./bin/testament "${testament_args[@]}" \
- category "${tcat}" "${nimflags[@]}"
- ;;
- esac
-
- touch "${checkpoint}" || die
- done
-}
-
-src_install() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./koch install "${ED}"
- einstalldocs
-
- # "./koch install" installs only "nim" binary but not the rest.
- local exe
- for exe in bin/* ; do
- [[ "${exe}" == bin/nim ]] && continue
- dobin "${exe}"
- done
-
- newbashcomp tools/nim.bash-completion nim
- newbashcomp dist/nimble/nimble.bash-completion nimble
-
- insinto /usr/share/zsh/site-functions
- newins tools/nim.zsh-completion _nim
- newins dist/nimble/nimble.zsh-completion _nimble
-
- # Install the @nim-rebuild set for Portage.
- insinto /usr/share/portage/config/sets
- newins "${FILESDIR}"/nim-sets.conf nim.conf
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-08-01 18:53 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2023-08-01 18:53 UTC (permalink / raw
To: gentoo-commits
commit: 0390031b2adea88a52b0559e177cfc0cee09bb6c
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 1 18:43:15 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Aug 1 18:53:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0390031b
dev-lang/nim: update test strategy - fail at the end
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/nim-1.6.14-r1.ebuild | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/dev-lang/nim/nim-1.6.14-r1.ebuild b/dev-lang/nim/nim-1.6.14-r1.ebuild
index bf22ccb6ecfe..85bb540e41e0 100644
--- a/dev-lang/nim/nim-1.6.14-r1.ebuild
+++ b/dev-lang/nim/nim-1.6.14-r1.ebuild
@@ -152,28 +152,35 @@ src_test() {
# AdditionalCategories from "testament/categories.nim".
categories+=( debugger examples lib )
- local tcat checkpoint
+ local test_return=0
+
+ local tcat
+ local checkpoint
for tcat in "${categories[@]}"; do
# Use checkpoints for less painful testing.
checkpoint="${T}/.testament-${tcat}"
+
[[ -f "${checkpoint}" ]] && continue
case ${tcat} in
testdata )
:
- ;;
+ ;;
arc | ic | valgrind )
einfo "Skipped category '${tcat}'"
;;
* )
einfo "Running tests in category '${tcat}'"
- edo ./bin/testament "${testament_args[@]}" \
- category "${tcat}" "${nimflags[@]}"
+ nonfatal edo ./bin/testament "${testament_args[@]}" \
+ category "${tcat}" "${nimflags[@]}" || test_return=1
;;
esac
touch "${checkpoint}" || die
done
+
+ [[ "${test_return}" -eq 1 ]] &&
+ die "tests failed, please inspect the failed test categories above"
}
src_install() {
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-08-12 7:52 Arthur Zamarin
0 siblings, 0 replies; 88+ messages in thread
From: Arthur Zamarin @ 2023-08-12 7:52 UTC (permalink / raw
To: gentoo-commits
commit: 89235123478ae773a6bbd02ce4c49607c947705e
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 12 07:52:24 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 07:52:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89235123
dev-lang/nim: Stabilize 1.6.14-r1 amd64, #911422
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-lang/nim/nim-1.6.14-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/nim/nim-1.6.14-r1.ebuild b/dev-lang/nim/nim-1.6.14-r1.ebuild
index 85bb540e41e0..58e6390b88ed 100644
--- a/dev-lang/nim/nim-1.6.14-r1.ebuild
+++ b/dev-lang/nim/nim-1.6.14-r1.ebuild
@@ -19,7 +19,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
IUSE="doc experimental test-js test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2023-09-02 13:08 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2023-09-02 13:08 UTC (permalink / raw
To: gentoo-commits
commit: d259e792b632f41951dea75cc5d92bf985a926b3
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 2 12:57:32 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Sep 2 13:07:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d259e792
dev-lang/nim: drop old 1.6.12
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-1.6.12.ebuild | 198 -----------------------------------------
2 files changed, 199 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index b0da17491cca..aa6d9035a713 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,4 +1,3 @@
DIST nim-1.6.10.tar.xz 5216284 BLAKE2B d5b7bdc488086260b84700e3022ff7fc45b98d78574a3d2e288c95968a580fa644e47612dc60d6e63f5e85687f5b59a28128be746abc55bd6d4527344dc3ab14 SHA512 2ba6c4db68030ace2b4dd9b7f85d2b7c882c62e8f7f68bd0b82f548c91c300ab0e03c66f56c678127058f56b75a5550dec48d68eb6d666a179994cd1a6e2cc47
-DIST nim-1.6.12.tar.xz 5180496 BLAKE2B d7c04ffdde273336770d9397dd255b7cfc442f6be9592afbfa5ceb1ac7836a8213d5cea673477ab55bd56c004cc477a6023b6a2799715f46689f3e328302e433 SHA512 17c31024ee19dfa36f25bf8a5091992b24a4adb1a817246119a2fc552075999f698a92e66243ddd5ee69d966deead37535c9aac00ebece3854c930f905eeb030
DIST nim-1.6.14.tar.xz 5266632 BLAKE2B f6eadf44365a099f45d1b734dea494e5d098b0427791c19a5e0b7ee6fa8069fee606005920cbcbfd7c88a36ace870949ff797d1e37fc1f84e14d5dd1aeb4bd1d SHA512 6923ea98627ea48b5c939438618caa8e6860f248086e43bc101b543aa78e7c475bc8e56b8acb90dc4a3771ca0d2e27fbdda6a0b477dbb906acda8a7b39c272d3
DIST nim-patches-1.6.6_p1.tar.gz 2632 BLAKE2B 64980d9510dc48e3c566473dc618d00cafba04783882d62b12015e8435c9c0515d7726da30f0b74dca6a41aa88a9c9aed2189a65b3325c28839d0051de8a3365 SHA512 7ba251675cd564452669bf5ec3748565db818324f58506f20a5036e4b54df10f4d7c149cece8cb97c853222cfa7d4d8d26856d92aaa25e613e31c6f5c2a8243d
diff --git a/dev-lang/nim/nim-1.6.12.ebuild b/dev-lang/nim/nim-1.6.12.ebuild
deleted file mode 100644
index 753c07857dab..000000000000
--- a/dev-lang/nim/nim-1.6.12.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PATCH_PV="1.6.6_p1"
-
-inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
-
-DESCRIPTION="Compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/"
-SRC_URI="
- https://nim-lang.org/download/${P}.tar.xz
- experimental? (
- https://git.sr.ht/~cyber/${PN}-patches/archive/${PATCH_PV}.tar.gz
- -> nim-patches-${PATCH_PV}.tar.gz
- )
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~x86"
-IUSE="doc experimental test-js test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? (
- dev-db/sqlite:3
- dev-libs/boehm-gc
- dev-libs/libffi
- dev-libs/libpcre:3
- dev-libs/openssl
- media-libs/libsdl
- media-libs/libsfml
- )
-"
-BDEPEND="
- sys-process/parallel
- test? (
- test-js? (
- net-libs/nodejs
- )
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.20.0-paths.patch
- "${FILESDIR}"/${PN}-1.6.6-csources-flags.patch
-)
-
-# Borrowed from nim-utils.eclass (guru overlay).
-nim_gen_config() {
- cat > nim.cfg <<- EOF || die "Failed to create Nim config"
- cc:"gcc"
- gcc.exe:"$(tc-getCC)"
- gcc.linkerexe:"$(tc-getCC)"
- gcc.cpp.exe:"$(tc-getCXX)"
- gcc.cpp.linkerexe:"$(tc-getCXX)"
- gcc.options.speed:"${CFLAGS}"
- gcc.options.size:"${CFLAGS}"
- gcc.options.debug:"${CFLAGS}"
- gcc.options.always:"${CPPFLAGS}"
- gcc.options.linker:"${LDFLAGS}"
- gcc.cpp.options.speed:"${CXXFLAGS}"
- gcc.cpp.options.size:"${CXXFLAGS}"
- gcc.cpp.options.debug:"${CXXFLAGS}"
- gcc.cpp.options.always:"${CPPFLAGS}"
- gcc.cpp.options.linker:"${LDFLAGS}"
-
- $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
- -d:"release"
- --parallelBuild:"$(makeopts_jobs)"
-
- # some tests don't work with processing hints
- --processing:"off"
- EOF
-}
-
-src_prepare() {
- default
-
- # note: there are consumers in the ::guru overlay
- use experimental && eapply "${WORKDIR}"/nim-patches-${PATCH_PV}
-}
-
-src_configure() {
- xdg_environment_reset # bug 667182
-
- unset NIMBLE_DIR
- tc-export CC CXX LD
-
- nim_gen_config
-
- mkdir "${HOME}"/.parallel || die
- touch "${HOME}"/.parallel/will-cite || die "parallel setup failed"
-}
-
-src_compile() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./build.sh --parallel "$(makeopts_jobs)"
-
- ebegin "Waiting for unfinished jobs"
- while [[ ! -f "bin/nim" ]]; do
- sleep 1
- done
- eend 0
-
- edo ./bin/nim compile koch
- edo ./koch boot -d:nimUseLinenoise --skipParentCfg:off
- edo ./koch tools
-
- if use doc; then
- local -a docargs=(
- # set git tag
- --git.commit:v${PV}
- # skip runnableExamples as some of them need net
- --docCmd:skip
- # make logs less verbose
- --hints:off
- --warnings:off
- )
- edo ./koch doc "${docargs[@]}"
- HTML_DOCS=( web/upload/${PV}/. )
- fi
-}
-
-src_test() {
- local -x PATH="${S}/bin:${PATH}"
- local -a nimflags=(
- # Leave only the safe hints enabled.
- --hint:all:off
- --hint:User:on
- --hint:UserRaw:on
- )
- local -a testament_args=(
- --skipFrom:"${FILESDIR}/${PN}-1.6.10-testament-skipfile.txt"
- --nim:"bin/nim"
- --targets:"$(usex test-js 'c js' 'c')"
- )
-
- [[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && \
- testament_args+=( --colors:off )
-
- local -a categories
- readarray -t categories < <(find tests -mindepth 1 -maxdepth 1 -type d -printf "%P\n" | sort)
-
- # AdditionalCategories from "testament/categories.nim".
- categories+=( debugger examples lib )
-
- local tcat checkpoint
- for tcat in "${categories[@]}"; do
- # Use checkpoints for less painful testing.
- checkpoint="${T}/.testament-${tcat}"
- [[ -f "${checkpoint}" ]] && continue
-
- case ${tcat} in
- testdata )
- :
- ;;
- arc | ic | valgrind )
- einfo "Skipped category '${tcat}'"
- ;;
- * )
- einfo "Running tests in category '${tcat}'"
- edo ./bin/testament "${testament_args[@]}" \
- category "${tcat}" "${nimflags[@]}"
- ;;
- esac
-
- touch "${checkpoint}" || die
- done
-}
-
-src_install() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./koch install "${ED}"
- einstalldocs
-
- # "./koch install" installs only "nim" binary but not the rest.
- local exe
- for exe in bin/* ; do
- [[ "${exe}" == bin/nim ]] && continue
- dobin "${exe}"
- done
-
- newbashcomp tools/nim.bash-completion nim
- newbashcomp dist/nimble/nimble.bash-completion nimble
-
- insinto /usr/share/zsh/site-functions
- newins tools/nim.zsh-completion _nim
- newins dist/nimble/nimble.zsh-completion _nimble
-
- # Install the @nim-rebuild set for Portage.
- insinto /usr/share/portage/config/sets
- newins "${FILESDIR}"/nim-sets.conf nim.conf
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2024-04-17 22:10 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2024-04-17 22:10 UTC (permalink / raw
To: gentoo-commits
commit: 01699406e0e5d03432da4b914264f1a3c5c95d3f
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 17 21:43:33 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Apr 17 22:10:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01699406
dev-lang/nim: bump to 2.0.4
Closes: https://github.com/gentoo/gentoo/pull/32880
Closes: https://bugs.gentoo.org/913623
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 2 +
dev-lang/nim/nim-2.0.4.ebuild | 183 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 185 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 47c04511aadc..62f7ed856e14 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1,4 @@
DIST nim-1.6.14.tar.xz 5266632 BLAKE2B f6eadf44365a099f45d1b734dea494e5d098b0427791c19a5e0b7ee6fa8069fee606005920cbcbfd7c88a36ace870949ff797d1e37fc1f84e14d5dd1aeb4bd1d SHA512 6923ea98627ea48b5c939438618caa8e6860f248086e43bc101b543aa78e7c475bc8e56b8acb90dc4a3771ca0d2e27fbdda6a0b477dbb906acda8a7b39c272d3
+DIST nim-2.0.4.tar.xz 7620508 BLAKE2B cf7c737d734c5a468ac9229fb021bcd252c5c4f20ab091ec0ce27eb36ba44be8b438536aa39aa8c583483a7ce15dfbb91b1deb1c19794b3d77506d23096a4460 SHA512 1918b3d4a4fc02714677b2ca5051dc69e1d1daead2cf4dcc9b997076540d07d58ee4fe3049de86a37faa3143de1d3b95bedfa31f31d8463987bb267107459793
+DIST nim-atlas-0.8.0.tar.gz 59097 BLAKE2B 231b238ac3b15cc2c2d9ad927f80ae72d8ae4c649277515f32df6cc04275ccd38db5307d627572af547501e6522c06c86dc279dc3e13b5385f14e24032f6fe69 SHA512 747c13e2c5bd45a1dc6c1426f8c7637f638ada9dd4c9aa3edf4ef8367060e73226dc4bcde6380fac25ed47ebf4097fd223c72fadc3cceba8c71dd0f0571e47eb
DIST nim-patches-1.6.6_p1.tar.gz 2632 BLAKE2B 64980d9510dc48e3c566473dc618d00cafba04783882d62b12015e8435c9c0515d7726da30f0b74dca6a41aa88a9c9aed2189a65b3325c28839d0051de8a3365 SHA512 7ba251675cd564452669bf5ec3748565db818324f58506f20a5036e4b54df10f4d7c149cece8cb97c853222cfa7d4d8d26856d92aaa25e613e31c6f5c2a8243d
diff --git a/dev-lang/nim/nim-2.0.4.ebuild b/dev-lang/nim/nim-2.0.4.ebuild
new file mode 100644
index 000000000000..706b0d3df3cf
--- /dev/null
+++ b/dev-lang/nim/nim-2.0.4.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ATLAS_V="0.8.0"
+
+inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
+
+DESCRIPTION="Compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/
+ https://github.com/nim-lang/Nim/"
+SRC_URI="
+ https://nim-lang.org/download/${P}.tar.xz
+ https://github.com/nim-lang/atlas/archive/refs/tags/${ATLAS_V}.tar.gz
+ -> nim-atlas-${ATLAS_V}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test-js test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? (
+ dev-db/sqlite:3
+ dev-libs/boehm-gc
+ dev-libs/libffi
+ dev-libs/libpcre:3
+ dev-libs/openssl
+ media-libs/libsdl
+ media-libs/libsfml
+ )
+"
+BDEPEND="
+ sys-process/parallel
+ test? (
+ test-js? (
+ net-libs/nodejs
+ )
+ )
+"
+
+src_configure() {
+ xdg_environment_reset # bug #667182
+
+ unset NIMBLE_DIR
+ tc-export CC CXX LD
+
+ mkdir "${HOME}/.parallel" || die
+ touch "${HOME}/.parallel/will-cite" || die "parallel setup failed"
+
+ cat > nim.cfg <<- EOF || die "Failed to create Nim config"
+ cc:"gcc"
+ gcc.exe:"$(tc-getCC)"
+ gcc.linkerexe:"$(tc-getCC)"
+ gcc.cpp.exe:"$(tc-getCXX)"
+ gcc.cpp.linkerexe:"$(tc-getCXX)"
+ gcc.options.speed:"${CFLAGS}"
+ gcc.options.size:"${CFLAGS}"
+ gcc.options.debug:"${CFLAGS}"
+ gcc.options.always:"${CPPFLAGS}"
+ gcc.options.linker:"${LDFLAGS}"
+ gcc.cpp.options.speed:"${CXXFLAGS}"
+ gcc.cpp.options.size:"${CXXFLAGS}"
+ gcc.cpp.options.debug:"${CXXFLAGS}"
+ gcc.cpp.options.always:"${CPPFLAGS}"
+ gcc.cpp.options.linker:"${LDFLAGS}"
+
+ $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
+ -d:"release"
+ --parallelBuild:"$(makeopts_jobs)"
+
+ # some tests don't work with processing hints
+ --processing:"off"
+ EOF
+
+ cp -r "${WORKDIR}/atlas-${ATLAS_V}" "${S}/dist/atlas" || die
+}
+
+src_compile() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./build.sh --parallel "$(makeopts_jobs)"
+
+ ebegin "Waiting for unfinished parallel jobs"
+ while [[ ! -f "bin/nim" ]] ; do
+ sleep 1
+ done
+ eend 0
+
+ chmod +x ./bin/nim || die
+
+ edo ./bin/nim compile -d:release koch
+ edo ./koch boot -d:nimUseLinenoise -d:release --skipParentCfg:off
+ edo ./koch tools -d:release
+ edo ./bin/nim compile -d:release ./tools/niminst/niminst.nim
+}
+
+src_test() {
+ local -x PATH="${S}/bin:${PATH}"
+ local -a -r nimflags=(
+ # Leave only the safe hints enabled.
+ --hint:all:off
+ --hint:User:on
+ --hint:UserRaw:on
+ )
+ local -a testament_args=(
+ --skipFrom:"${FILESDIR}/${PN}-1.6.14-testament-skipfile.txt"
+ --nim:"bin/nim"
+ --targets:"$(usex test-js 'c js' 'c')"
+ )
+
+ [[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] \
+ && testament_args+=( --colors:off )
+
+ local -a categories
+ readarray -t categories < <(find tests -mindepth 1 -maxdepth 1 -type d -printf "%P\n" | sort)
+
+ # AdditionalCategories from "testament/categories.nim".
+ categories+=( debugger examples lib )
+
+ local test_return=0
+
+ local tcat
+ local checkpoint
+ for tcat in "${categories[@]}"; do
+ # Use checkpoints for less painful testing.
+ checkpoint="${T}/.testament-${tcat}"
+
+ [[ -f "${checkpoint}" ]] && continue
+
+ case "${tcat}" in
+ testdata )
+ :
+ ;;
+ arc | gc | ic | js | msgs | stylecheck \
+ | testament | untestable | objects | valgrind )
+ einfo "Skipped nim test category: ${tcat}"
+ ;;
+ * )
+ einfo "Running tests in category '${tcat}'"
+ nonfatal edo ./bin/testament "${testament_args[@]}" \
+ category "${tcat}" "${nimflags[@]}" \
+ || test_return=1
+ ;;
+ esac
+
+ touch "${checkpoint}" || die
+ done
+
+ [[ "${test_return}" -eq 1 ]] \
+ && die "tests failed, please inspect the failed test categories above"
+}
+
+src_install() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./koch install "${ED}/usr/lib"
+ dosym -r /usr/lib/nim/bin/nim /usr/bin/nim
+
+ # "./koch install" installs only "nim" binary but not the rest.
+ exeinto /usr/bin
+ local exe
+ while read -r exe ; do
+ einfo "Installing nim support tool: ${exe}"
+ doexe "${exe}"
+ done < <(find ./bin -type f -not -iname nim)
+
+ newbashcomp tools/nim.bash-completion nim
+ newbashcomp dist/nimble/nimble.bash-completion nimble
+
+ insinto /usr/share/zsh/site-functions
+ newins tools/nim.zsh-completion _nim
+ newins dist/nimble/nimble.zsh-completion _nimble
+
+ # Install the @nim-rebuild set for Portage.
+ insinto /usr/share/portage/config/sets
+ newins "${FILESDIR}/nim-sets.conf" nim.conf
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2024-04-19 12:44 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2024-04-19 12:44 UTC (permalink / raw
To: gentoo-commits
commit: 935dee83f1a4e64c0a72cd00d6e1f772c8441fd1
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 19 12:07:48 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Apr 19 12:44:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=935dee83
dev-lang/nim: wait longer for parallel
Closes: https://bugs.gentoo.org/930200
Closes: https://bugs.gentoo.org/889604
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/nim-1.6.14-r1.ebuild | 10 ++++++----
dev-lang/nim/nim-2.0.4.ebuild | 6 +++---
2 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/dev-lang/nim/nim-1.6.14-r1.ebuild b/dev-lang/nim/nim-1.6.14-r1.ebuild
index 58e6390b88ed..07e043cf4ffb 100644
--- a/dev-lang/nim/nim-1.6.14-r1.ebuild
+++ b/dev-lang/nim/nim-1.6.14-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -104,12 +104,14 @@ src_compile() {
edo ./build.sh --parallel "$(makeopts_jobs)"
- ebegin "Waiting for unfinished jobs"
- while [[ ! -f "bin/nim" ]]; do
- sleep 1
+ ebegin "Waiting for unfinished parallel jobs"
+ while [[ ! -f "bin/nim" ]] ; do
+ sleep 3
done
+ sleep 10
eend 0
+ edo chmod +x ./bin/nim
edo ./bin/nim compile koch
edo ./koch boot -d:nimUseLinenoise --skipParentCfg:off
edo ./koch tools
diff --git a/dev-lang/nim/nim-2.0.4.ebuild b/dev-lang/nim/nim-2.0.4.ebuild
index 706b0d3df3cf..192bb90437ae 100644
--- a/dev-lang/nim/nim-2.0.4.ebuild
+++ b/dev-lang/nim/nim-2.0.4.ebuild
@@ -86,12 +86,12 @@ src_compile() {
ebegin "Waiting for unfinished parallel jobs"
while [[ ! -f "bin/nim" ]] ; do
- sleep 1
+ sleep 3
done
+ sleep 10
eend 0
- chmod +x ./bin/nim || die
-
+ edo chmod +x ./bin/nim
edo ./bin/nim compile -d:release koch
edo ./koch boot -d:nimUseLinenoise -d:release --skipParentCfg:off
edo ./koch tools -d:release
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2024-05-24 0:34 Sam James
0 siblings, 0 replies; 88+ messages in thread
From: Sam James @ 2024-05-24 0:34 UTC (permalink / raw
To: gentoo-commits
commit: 4ccba0bed406091e7aad0fa02e1abef0c8eecf96
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 00:34:12 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 24 00:34:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ccba0be
dev-lang/nim: Stabilize 2.0.4 amd64, #932583
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lang/nim/nim-2.0.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/nim/nim-2.0.4.ebuild b/dev-lang/nim/nim-2.0.4.ebuild
index d91d6fed17c5..b1eecd7b7cd4 100644
--- a/dev-lang/nim/nim-2.0.4.ebuild
+++ b/dev-lang/nim/nim-2.0.4.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
IUSE="test-js test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2024-07-21 20:33 Arthur Zamarin
0 siblings, 0 replies; 88+ messages in thread
From: Arthur Zamarin @ 2024-07-21 20:33 UTC (permalink / raw
To: gentoo-commits
commit: 0d86d85ad95f14fc5a49394e9577b71bac8a87db
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 21 20:33:47 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 20:33:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d86d85a
dev-lang/nim: Stabilize 2.0.6 amd64, #936462
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-lang/nim/nim-2.0.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/nim/nim-2.0.6.ebuild b/dev-lang/nim/nim-2.0.6.ebuild
index 524cd020c819..d73e284e011c 100644
--- a/dev-lang/nim/nim-2.0.6.ebuild
+++ b/dev-lang/nim/nim-2.0.6.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
IUSE="test-js test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2024-08-08 11:03 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2024-08-08 11:03 UTC (permalink / raw
To: gentoo-commits
commit: 49ef0a414ec329e4de796d0a9b47159e397d5a27
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 8 07:39:42 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug 8 11:03:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49ef0a41
dev-lang/nim: drop old 2.0.4
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-2.0.4.ebuild | 183 ------------------------------------------
2 files changed, 184 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index daffde1bb3ac..265d4a9b463f 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,3 +1,2 @@
-DIST nim-2.0.4.tar.xz 7620508 BLAKE2B cf7c737d734c5a468ac9229fb021bcd252c5c4f20ab091ec0ce27eb36ba44be8b438536aa39aa8c583483a7ce15dfbb91b1deb1c19794b3d77506d23096a4460 SHA512 1918b3d4a4fc02714677b2ca5051dc69e1d1daead2cf4dcc9b997076540d07d58ee4fe3049de86a37faa3143de1d3b95bedfa31f31d8463987bb267107459793
DIST nim-2.0.6.tar.xz 7668088 BLAKE2B 1cc2b3be355b236b467fa6629747de55b60b6d2f3e9d8bc584fa4f30ba842d68a0db984aff234df1299b0a782af1d464382bb37fa62c0c7a952e667bf0d3c3be SHA512 9668b34decb55fd27f0edb8c6dcdd2d8dbed00f71e8ce5c177422aedbcc359f4b943b29a38875f4715c1903a32b8388e2a4662d5ceb301349b23eb2277dbde1e
DIST nim-atlas-0.8.0.tar.gz 59097 BLAKE2B 231b238ac3b15cc2c2d9ad927f80ae72d8ae4c649277515f32df6cc04275ccd38db5307d627572af547501e6522c06c86dc279dc3e13b5385f14e24032f6fe69 SHA512 747c13e2c5bd45a1dc6c1426f8c7637f638ada9dd4c9aa3edf4ef8367060e73226dc4bcde6380fac25ed47ebf4097fd223c72fadc3cceba8c71dd0f0571e47eb
diff --git a/dev-lang/nim/nim-2.0.4.ebuild b/dev-lang/nim/nim-2.0.4.ebuild
deleted file mode 100644
index b1eecd7b7cd4..000000000000
--- a/dev-lang/nim/nim-2.0.4.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ATLAS_V="0.8.0"
-
-inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
-
-DESCRIPTION="Compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/
- https://github.com/nim-lang/Nim/"
-SRC_URI="
- https://nim-lang.org/download/${P}.tar.xz
- https://github.com/nim-lang/atlas/archive/refs/tags/${ATLAS_V}.tar.gz
- -> nim-atlas-${ATLAS_V}.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~x86"
-IUSE="test-js test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? (
- dev-db/sqlite:3
- dev-libs/boehm-gc
- dev-libs/libffi
- dev-libs/libpcre:3
- dev-libs/openssl
- media-libs/libsdl
- media-libs/libsfml
- )
-"
-BDEPEND="
- sys-process/parallel
- test? (
- test-js? (
- net-libs/nodejs
- )
- )
-"
-
-src_configure() {
- xdg_environment_reset # bug #667182
-
- unset NIMBLE_DIR
- tc-export CC CXX LD
-
- mkdir "${HOME}/.parallel" || die
- touch "${HOME}/.parallel/will-cite" || die "parallel setup failed"
-
- cat > nim.cfg <<- EOF || die "Failed to create Nim config"
- cc:"gcc"
- gcc.exe:"$(tc-getCC)"
- gcc.linkerexe:"$(tc-getCC)"
- gcc.cpp.exe:"$(tc-getCXX)"
- gcc.cpp.linkerexe:"$(tc-getCXX)"
- gcc.options.speed:"${CFLAGS}"
- gcc.options.size:"${CFLAGS}"
- gcc.options.debug:"${CFLAGS}"
- gcc.options.always:"${CPPFLAGS}"
- gcc.options.linker:"${LDFLAGS}"
- gcc.cpp.options.speed:"${CXXFLAGS}"
- gcc.cpp.options.size:"${CXXFLAGS}"
- gcc.cpp.options.debug:"${CXXFLAGS}"
- gcc.cpp.options.always:"${CPPFLAGS}"
- gcc.cpp.options.linker:"${LDFLAGS}"
-
- $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
- -d:"release"
- --parallelBuild:"$(makeopts_jobs)"
-
- # some tests don't work with processing hints
- --processing:"off"
- EOF
-
- cp -r "${WORKDIR}/atlas-${ATLAS_V}" "${S}/dist/atlas" || die
-}
-
-src_compile() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./build.sh --parallel "$(makeopts_jobs)"
-
- ebegin "Waiting for unfinished parallel jobs"
- while [[ ! -f "bin/nim" ]] ; do
- sleep 3
- done
- sleep 10
- eend 0
-
- edo chmod +x ./bin/nim
- edo ./bin/nim compile -d:release koch
- edo ./koch boot -d:nimUseLinenoise -d:release --skipParentCfg:off
- edo ./koch tools -d:release
- edo ./bin/nim compile -d:release ./tools/niminst/niminst.nim
-}
-
-src_test() {
- local -x PATH="${S}/bin:${PATH}"
- local -a -r nimflags=(
- # Leave only the safe hints enabled.
- --hint:all:off
- --hint:User:on
- --hint:UserRaw:on
- )
- local -a testament_args=(
- --skipFrom:"${FILESDIR}/${PN}-2.0.4-testament-skipfile.txt"
- --nim:"bin/nim"
- --targets:"$(usex test-js 'c js' 'c')"
- )
-
- [[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] \
- && testament_args+=( --colors:off )
-
- local -a categories
- readarray -t categories < <(find tests -mindepth 1 -maxdepth 1 -type d -printf "%P\n" | sort)
-
- # AdditionalCategories from "testament/categories.nim".
- categories+=( debugger examples lib )
-
- local test_return=0
-
- local tcat
- local checkpoint
- for tcat in "${categories[@]}"; do
- # Use checkpoints for less painful testing.
- checkpoint="${T}/.testament-${tcat}"
-
- [[ -f "${checkpoint}" ]] && continue
-
- case "${tcat}" in
- testdata )
- :
- ;;
- arc | gc | ic | js | msgs | stylecheck \
- | testament | untestable | objects | valgrind )
- einfo "Skipped nim test category: ${tcat}"
- ;;
- * )
- einfo "Running tests in category '${tcat}'"
- nonfatal edo ./bin/testament "${testament_args[@]}" \
- category "${tcat}" "${nimflags[@]}" \
- || test_return=1
- ;;
- esac
-
- touch "${checkpoint}" || die
- done
-
- [[ "${test_return}" -eq 1 ]] \
- && die "tests failed, please inspect the failed test categories above"
-}
-
-src_install() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./koch install "${ED}/usr/lib"
- dosym -r /usr/lib/nim/bin/nim /usr/bin/nim
-
- # "./koch install" installs only "nim" binary but not the rest.
- exeinto /usr/bin
- local exe
- while read -r exe ; do
- einfo "Installing nim support tool: ${exe}"
- doexe "${exe}"
- done < <(find ./bin -type f -not -iname nim)
-
- newbashcomp tools/nim.bash-completion nim
- newbashcomp dist/nimble/nimble.bash-completion nimble
-
- insinto /usr/share/zsh/site-functions
- newins tools/nim.zsh-completion _nim
- newins dist/nimble/nimble.zsh-completion _nimble
-
- # Install the @nim-rebuild set for Portage.
- insinto /usr/share/portage/config/sets
- newins "${FILESDIR}/nim-sets.conf" nim.conf
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2024-08-08 11:03 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2024-08-08 11:03 UTC (permalink / raw
To: gentoo-commits
commit: 7f7cf9de8d398a3f2f9062d4c9b8d2934c2d2296
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 8 09:24:04 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug 8 11:03:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7cf9de
dev-lang/nim: bump to 2.0.8
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-2.0.8.ebuild | 183 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 184 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 265d4a9b463f..ddc8d24e07ea 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1,3 @@
DIST nim-2.0.6.tar.xz 7668088 BLAKE2B 1cc2b3be355b236b467fa6629747de55b60b6d2f3e9d8bc584fa4f30ba842d68a0db984aff234df1299b0a782af1d464382bb37fa62c0c7a952e667bf0d3c3be SHA512 9668b34decb55fd27f0edb8c6dcdd2d8dbed00f71e8ce5c177422aedbcc359f4b943b29a38875f4715c1903a32b8388e2a4662d5ceb301349b23eb2277dbde1e
+DIST nim-2.0.8.tar.xz 7617556 BLAKE2B 96ab3e92c7c9d3dcb54de6528f2ae788f3ff4a927d693f2ca4917231441d85d12c8bda44c41c8f363979dbd0d8db54098648512caf7780bdc40e393c4f7803ec SHA512 e64abc379c046a9432515d1c8074a7e10ff72a1076663a5b7bdd39ae92852c98ba2cab96aa5e968fc31ca393e778e70b2392d6ab56bca7ac956d0176b4b69a83
DIST nim-atlas-0.8.0.tar.gz 59097 BLAKE2B 231b238ac3b15cc2c2d9ad927f80ae72d8ae4c649277515f32df6cc04275ccd38db5307d627572af547501e6522c06c86dc279dc3e13b5385f14e24032f6fe69 SHA512 747c13e2c5bd45a1dc6c1426f8c7637f638ada9dd4c9aa3edf4ef8367060e73226dc4bcde6380fac25ed47ebf4097fd223c72fadc3cceba8c71dd0f0571e47eb
diff --git a/dev-lang/nim/nim-2.0.8.ebuild b/dev-lang/nim/nim-2.0.8.ebuild
new file mode 100644
index 000000000000..524cd020c819
--- /dev/null
+++ b/dev-lang/nim/nim-2.0.8.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ATLAS_V="0.8.0"
+
+inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
+
+DESCRIPTION="Compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/
+ https://github.com/nim-lang/Nim/"
+SRC_URI="
+ https://nim-lang.org/download/${P}.tar.xz
+ https://github.com/nim-lang/atlas/archive/refs/tags/${ATLAS_V}.tar.gz
+ -> nim-atlas-${ATLAS_V}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test-js test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? (
+ dev-db/sqlite:3
+ dev-libs/boehm-gc
+ dev-libs/libffi
+ dev-libs/libpcre:3
+ dev-libs/openssl
+ media-libs/libsdl
+ media-libs/libsfml
+ )
+"
+BDEPEND="
+ sys-process/parallel
+ test? (
+ test-js? (
+ net-libs/nodejs
+ )
+ )
+"
+
+src_configure() {
+ xdg_environment_reset # bug #667182
+
+ unset NIMBLE_DIR
+ tc-export CC CXX LD
+
+ mkdir "${HOME}/.parallel" || die
+ touch "${HOME}/.parallel/will-cite" || die "parallel setup failed"
+
+ cat > nim.cfg <<- EOF || die "Failed to create Nim config"
+ cc:"gcc"
+ gcc.exe:"$(tc-getCC)"
+ gcc.linkerexe:"$(tc-getCC)"
+ gcc.cpp.exe:"$(tc-getCXX)"
+ gcc.cpp.linkerexe:"$(tc-getCXX)"
+ gcc.options.speed:"${CFLAGS}"
+ gcc.options.size:"${CFLAGS}"
+ gcc.options.debug:"${CFLAGS}"
+ gcc.options.always:"${CPPFLAGS}"
+ gcc.options.linker:"${LDFLAGS}"
+ gcc.cpp.options.speed:"${CXXFLAGS}"
+ gcc.cpp.options.size:"${CXXFLAGS}"
+ gcc.cpp.options.debug:"${CXXFLAGS}"
+ gcc.cpp.options.always:"${CPPFLAGS}"
+ gcc.cpp.options.linker:"${LDFLAGS}"
+
+ $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
+ -d:"release"
+ --parallelBuild:"$(makeopts_jobs)"
+
+ # some tests don't work with processing hints
+ --processing:"off"
+ EOF
+
+ cp -r "${WORKDIR}/atlas-${ATLAS_V}" "${S}/dist/atlas" || die
+}
+
+src_compile() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./build.sh --parallel "$(makeopts_jobs)"
+
+ ebegin "Waiting for unfinished parallel jobs"
+ while [[ ! -f "bin/nim" ]] ; do
+ sleep 3
+ done
+ sleep 10
+ eend 0
+
+ edo chmod +x ./bin/nim
+ edo ./bin/nim compile -d:release koch
+ edo ./koch boot -d:nimUseLinenoise -d:release --skipParentCfg:off
+ edo ./koch tools -d:release
+ edo ./bin/nim compile -d:release ./tools/niminst/niminst.nim
+}
+
+src_test() {
+ local -x PATH="${S}/bin:${PATH}"
+ local -a nimflags=(
+ # Leave only the safe hints enabled.
+ --hint:all:off
+ --hint:User:on
+ --hint:UserRaw:on
+ )
+ local -a testament_args=(
+ --skipFrom:"${FILESDIR}/${PN}-2.0.6-testament-skipfile.txt"
+ --nim:"bin/nim"
+ --targets:"$(usex test-js 'c js' 'c')"
+ )
+
+ [[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] \
+ && testament_args+=( --colors:off )
+
+ local -a categories
+ readarray -t categories < <(find tests -mindepth 1 -maxdepth 1 -type d -printf "%P\n" | sort)
+
+ # AdditionalCategories from "testament/categories.nim".
+ categories+=( debugger examples lib )
+
+ local test_return=0
+
+ local tcat
+ local checkpoint
+ for tcat in "${categories[@]}"; do
+ # Use checkpoints for less painful testing.
+ checkpoint="${T}/.testament-${tcat}"
+
+ [[ -f "${checkpoint}" ]] && continue
+
+ case "${tcat}" in
+ testdata )
+ :
+ ;;
+ arc | gc | ic | js | msgs | stylecheck \
+ | testament | untestable | objects | valgrind )
+ einfo "Skipped nim test category: ${tcat}"
+ ;;
+ * )
+ einfo "Running tests in category '${tcat}'"
+ nonfatal edo ./bin/testament "${testament_args[@]}" \
+ category "${tcat}" "${nimflags[@]}" \
+ || test_return=1
+ ;;
+ esac
+
+ touch "${checkpoint}" || die
+ done
+
+ [[ "${test_return}" -eq 1 ]] \
+ && die "tests failed, please inspect the failed test categories above"
+}
+
+src_install() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./koch install "${ED}/usr/lib"
+ dosym -r /usr/lib/nim/bin/nim /usr/bin/nim
+
+ # "./koch install" installs only "nim" binary but not the rest.
+ exeinto /usr/bin
+ local exe
+ while read -r exe ; do
+ einfo "Installing nim support tool: ${exe}"
+ doexe "${exe}"
+ done < <(find ./bin -type f -not -iname nim)
+
+ newbashcomp tools/nim.bash-completion nim
+ newbashcomp dist/nimble/nimble.bash-completion nimble
+
+ insinto /usr/share/zsh/site-functions
+ newins tools/nim.zsh-completion _nim
+ newins dist/nimble/nimble.zsh-completion _nimble
+
+ # Install the @nim-rebuild set for Portage.
+ insinto /usr/share/portage/config/sets
+ newins "${FILESDIR}/nim-sets.conf" nim.conf
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2024-08-08 12:06 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2024-08-08 12:06 UTC (permalink / raw
To: gentoo-commits
commit: 6c3f7ac76233227cb004bf186be52473e16893d9
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 8 11:25:07 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug 8 12:05:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c3f7ac7
dev-lang/nim: fix compile - copy sat subproject for atlas
Closes: https://bugs.gentoo.org/937568
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/nim-2.0.8.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev-lang/nim/nim-2.0.8.ebuild b/dev-lang/nim/nim-2.0.8.ebuild
index 524cd020c819..6e94be9723b5 100644
--- a/dev-lang/nim/nim-2.0.8.ebuild
+++ b/dev-lang/nim/nim-2.0.8.ebuild
@@ -77,6 +77,9 @@ src_configure() {
EOF
cp -r "${WORKDIR}/atlas-${ATLAS_V}" "${S}/dist/atlas" || die
+
+ mkdir -p "${S}/dist/atlas/dist" || die
+ cp -r "${S}/dist/nimble/dist/sat" "${S}/dist/atlas/dist/sat" || die
}
src_compile() {
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2024-09-11 23:59 Sam James
0 siblings, 0 replies; 88+ messages in thread
From: Sam James @ 2024-09-11 23:59 UTC (permalink / raw
To: gentoo-commits
commit: f1231da944980d6e9cd2e04219b391d80b057f18
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 23:59:30 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 23:59:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1231da9
dev-lang/nim: Stabilize 2.0.8 amd64, #939483
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lang/nim/nim-2.0.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/nim/nim-2.0.8.ebuild b/dev-lang/nim/nim-2.0.8.ebuild
index 6e94be9723b5..02819c44e274 100644
--- a/dev-lang/nim/nim-2.0.8.ebuild
+++ b/dev-lang/nim/nim-2.0.8.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
IUSE="test-js test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2024-10-02 9:49 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2024-10-02 9:49 UTC (permalink / raw
To: gentoo-commits
commit: 5ce2117f19439324b15a5c9ee5c92b93496a2a02
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 2 09:31:59 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Oct 2 09:49:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce2117f
dev-lang/nim: drop old 2.0.6
Closes: https://bugs.gentoo.org/934121
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 -
dev-lang/nim/nim-2.0.6.ebuild | 183 ------------------------------------------
2 files changed, 184 deletions(-)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index ddc8d24e07ea..8c27c6369f9d 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,3 +1,2 @@
-DIST nim-2.0.6.tar.xz 7668088 BLAKE2B 1cc2b3be355b236b467fa6629747de55b60b6d2f3e9d8bc584fa4f30ba842d68a0db984aff234df1299b0a782af1d464382bb37fa62c0c7a952e667bf0d3c3be SHA512 9668b34decb55fd27f0edb8c6dcdd2d8dbed00f71e8ce5c177422aedbcc359f4b943b29a38875f4715c1903a32b8388e2a4662d5ceb301349b23eb2277dbde1e
DIST nim-2.0.8.tar.xz 7617556 BLAKE2B 96ab3e92c7c9d3dcb54de6528f2ae788f3ff4a927d693f2ca4917231441d85d12c8bda44c41c8f363979dbd0d8db54098648512caf7780bdc40e393c4f7803ec SHA512 e64abc379c046a9432515d1c8074a7e10ff72a1076663a5b7bdd39ae92852c98ba2cab96aa5e968fc31ca393e778e70b2392d6ab56bca7ac956d0176b4b69a83
DIST nim-atlas-0.8.0.tar.gz 59097 BLAKE2B 231b238ac3b15cc2c2d9ad927f80ae72d8ae4c649277515f32df6cc04275ccd38db5307d627572af547501e6522c06c86dc279dc3e13b5385f14e24032f6fe69 SHA512 747c13e2c5bd45a1dc6c1426f8c7637f638ada9dd4c9aa3edf4ef8367060e73226dc4bcde6380fac25ed47ebf4097fd223c72fadc3cceba8c71dd0f0571e47eb
diff --git a/dev-lang/nim/nim-2.0.6.ebuild b/dev-lang/nim/nim-2.0.6.ebuild
deleted file mode 100644
index d73e284e011c..000000000000
--- a/dev-lang/nim/nim-2.0.6.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ATLAS_V="0.8.0"
-
-inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
-
-DESCRIPTION="Compiled, garbage-collected systems programming language"
-HOMEPAGE="https://nim-lang.org/
- https://github.com/nim-lang/Nim/"
-SRC_URI="
- https://nim-lang.org/download/${P}.tar.xz
- https://github.com/nim-lang/atlas/archive/refs/tags/${ATLAS_V}.tar.gz
- -> nim-atlas-${ATLAS_V}.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~x86"
-IUSE="test-js test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? (
- dev-db/sqlite:3
- dev-libs/boehm-gc
- dev-libs/libffi
- dev-libs/libpcre:3
- dev-libs/openssl
- media-libs/libsdl
- media-libs/libsfml
- )
-"
-BDEPEND="
- sys-process/parallel
- test? (
- test-js? (
- net-libs/nodejs
- )
- )
-"
-
-src_configure() {
- xdg_environment_reset # bug #667182
-
- unset NIMBLE_DIR
- tc-export CC CXX LD
-
- mkdir "${HOME}/.parallel" || die
- touch "${HOME}/.parallel/will-cite" || die "parallel setup failed"
-
- cat > nim.cfg <<- EOF || die "Failed to create Nim config"
- cc:"gcc"
- gcc.exe:"$(tc-getCC)"
- gcc.linkerexe:"$(tc-getCC)"
- gcc.cpp.exe:"$(tc-getCXX)"
- gcc.cpp.linkerexe:"$(tc-getCXX)"
- gcc.options.speed:"${CFLAGS}"
- gcc.options.size:"${CFLAGS}"
- gcc.options.debug:"${CFLAGS}"
- gcc.options.always:"${CPPFLAGS}"
- gcc.options.linker:"${LDFLAGS}"
- gcc.cpp.options.speed:"${CXXFLAGS}"
- gcc.cpp.options.size:"${CXXFLAGS}"
- gcc.cpp.options.debug:"${CXXFLAGS}"
- gcc.cpp.options.always:"${CPPFLAGS}"
- gcc.cpp.options.linker:"${LDFLAGS}"
-
- $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
- -d:"release"
- --parallelBuild:"$(makeopts_jobs)"
-
- # some tests don't work with processing hints
- --processing:"off"
- EOF
-
- cp -r "${WORKDIR}/atlas-${ATLAS_V}" "${S}/dist/atlas" || die
-}
-
-src_compile() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./build.sh --parallel "$(makeopts_jobs)"
-
- ebegin "Waiting for unfinished parallel jobs"
- while [[ ! -f "bin/nim" ]] ; do
- sleep 3
- done
- sleep 10
- eend 0
-
- edo chmod +x ./bin/nim
- edo ./bin/nim compile -d:release koch
- edo ./koch boot -d:nimUseLinenoise -d:release --skipParentCfg:off
- edo ./koch tools -d:release
- edo ./bin/nim compile -d:release ./tools/niminst/niminst.nim
-}
-
-src_test() {
- local -x PATH="${S}/bin:${PATH}"
- local -a nimflags=(
- # Leave only the safe hints enabled.
- --hint:all:off
- --hint:User:on
- --hint:UserRaw:on
- )
- local -a testament_args=(
- --skipFrom:"${FILESDIR}/${PN}-2.0.6-testament-skipfile.txt"
- --nim:"bin/nim"
- --targets:"$(usex test-js 'c js' 'c')"
- )
-
- [[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] \
- && testament_args+=( --colors:off )
-
- local -a categories
- readarray -t categories < <(find tests -mindepth 1 -maxdepth 1 -type d -printf "%P\n" | sort)
-
- # AdditionalCategories from "testament/categories.nim".
- categories+=( debugger examples lib )
-
- local test_return=0
-
- local tcat
- local checkpoint
- for tcat in "${categories[@]}"; do
- # Use checkpoints for less painful testing.
- checkpoint="${T}/.testament-${tcat}"
-
- [[ -f "${checkpoint}" ]] && continue
-
- case "${tcat}" in
- testdata )
- :
- ;;
- arc | gc | ic | js | msgs | stylecheck \
- | testament | untestable | objects | valgrind )
- einfo "Skipped nim test category: ${tcat}"
- ;;
- * )
- einfo "Running tests in category '${tcat}'"
- nonfatal edo ./bin/testament "${testament_args[@]}" \
- category "${tcat}" "${nimflags[@]}" \
- || test_return=1
- ;;
- esac
-
- touch "${checkpoint}" || die
- done
-
- [[ "${test_return}" -eq 1 ]] \
- && die "tests failed, please inspect the failed test categories above"
-}
-
-src_install() {
- local -x PATH="${S}/bin:${PATH}"
-
- edo ./koch install "${ED}/usr/lib"
- dosym -r /usr/lib/nim/bin/nim /usr/bin/nim
-
- # "./koch install" installs only "nim" binary but not the rest.
- exeinto /usr/bin
- local exe
- while read -r exe ; do
- einfo "Installing nim support tool: ${exe}"
- doexe "${exe}"
- done < <(find ./bin -type f -not -iname nim)
-
- newbashcomp tools/nim.bash-completion nim
- newbashcomp dist/nimble/nimble.bash-completion nimble
-
- insinto /usr/share/zsh/site-functions
- newins tools/nim.zsh-completion _nim
- newins dist/nimble/nimble.zsh-completion _nimble
-
- # Install the @nim-rebuild set for Portage.
- insinto /usr/share/portage/config/sets
- newins "${FILESDIR}/nim-sets.conf" nim.conf
-
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 88+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/
@ 2024-10-05 21:44 Maciej Barć
0 siblings, 0 replies; 88+ messages in thread
From: Maciej Barć @ 2024-10-05 21:44 UTC (permalink / raw
To: gentoo-commits
commit: a2f6faad8a0099b3054b05282aafa5f08835a0c9
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 5 19:59:45 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Oct 5 21:44:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2f6faad
dev-lang/nim: bump to 2.2.0
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/nim/Manifest | 1 +
dev-lang/nim/nim-2.2.0.ebuild | 183 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 184 insertions(+)
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
index 8c27c6369f9d..0b895d6dee3c 100644
--- a/dev-lang/nim/Manifest
+++ b/dev-lang/nim/Manifest
@@ -1,2 +1,3 @@
DIST nim-2.0.8.tar.xz 7617556 BLAKE2B 96ab3e92c7c9d3dcb54de6528f2ae788f3ff4a927d693f2ca4917231441d85d12c8bda44c41c8f363979dbd0d8db54098648512caf7780bdc40e393c4f7803ec SHA512 e64abc379c046a9432515d1c8074a7e10ff72a1076663a5b7bdd39ae92852c98ba2cab96aa5e968fc31ca393e778e70b2392d6ab56bca7ac956d0176b4b69a83
+DIST nim-2.2.0.tar.xz 7896912 BLAKE2B 671b1f5551e093933519797bbfe2875c1726a0cdd1b33288a9ab189fb966fdb21583027345e58ab13d7e7e85479aafc52340e8ddecd062aca4b4b8de6466b88e SHA512 56374815770b1b92bef3521471a3b1a8b810646eb7f978ff329075d64d231a7d1591a928c28407aa507f1b59375d539fc81b678b84f6b8b4a88ed274048ebf21
DIST nim-atlas-0.8.0.tar.gz 59097 BLAKE2B 231b238ac3b15cc2c2d9ad927f80ae72d8ae4c649277515f32df6cc04275ccd38db5307d627572af547501e6522c06c86dc279dc3e13b5385f14e24032f6fe69 SHA512 747c13e2c5bd45a1dc6c1426f8c7637f638ada9dd4c9aa3edf4ef8367060e73226dc4bcde6380fac25ed47ebf4097fd223c72fadc3cceba8c71dd0f0571e47eb
diff --git a/dev-lang/nim/nim-2.2.0.ebuild b/dev-lang/nim/nim-2.2.0.ebuild
new file mode 100644
index 000000000000..e2962efd86a9
--- /dev/null
+++ b/dev-lang/nim/nim-2.2.0.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ATLAS_V="0.8.0"
+
+inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
+
+DESCRIPTION="Compiled, garbage-collected systems programming language"
+HOMEPAGE="https://nim-lang.org/
+ https://github.com/nim-lang/Nim/"
+
+SRC_URI="
+ https://nim-lang.org/download/${P}.tar.xz
+ https://github.com/nim-lang/atlas/archive/refs/tags/${ATLAS_V}.tar.gz
+ -> nim-atlas-${ATLAS_V}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test-js test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ sys-process/parallel
+ test? (
+ dev-db/sqlite:3
+ dev-libs/boehm-gc
+ dev-libs/libffi
+ dev-libs/libpcre:3
+ dev-libs/openssl
+ media-libs/libsdl
+ media-libs/libsfml
+ test-js? (
+ net-libs/nodejs
+ )
+ )
+"
+
+src_configure() {
+ xdg_environment_reset # bug #667182
+
+ unset NIMBLE_DIR
+ tc-export CC CXX LD
+
+ mkdir "${HOME}/.parallel" || die
+ touch "${HOME}/.parallel/will-cite" || die "parallel setup failed"
+
+ cat > nim.cfg <<- EOF || die "Failed to create Nim config"
+ cc:"gcc"
+ gcc.exe:"$(tc-getCC)"
+ gcc.linkerexe:"$(tc-getCC)"
+ gcc.cpp.exe:"$(tc-getCXX)"
+ gcc.cpp.linkerexe:"$(tc-getCXX)"
+ gcc.options.speed:"${CFLAGS}"
+ gcc.options.size:"${CFLAGS}"
+ gcc.options.debug:"${CFLAGS}"
+ gcc.options.always:"${CPPFLAGS}"
+ gcc.options.linker:"${LDFLAGS}"
+ gcc.cpp.options.speed:"${CXXFLAGS}"
+ gcc.cpp.options.size:"${CXXFLAGS}"
+ gcc.cpp.options.debug:"${CXXFLAGS}"
+ gcc.cpp.options.always:"${CPPFLAGS}"
+ gcc.cpp.options.linker:"${LDFLAGS}"
+
+ $([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
+ -d:"release"
+ --parallelBuild:"$(makeopts_jobs)"
+
+ # some tests don't work with processing hints
+ --processing:"off"
+ EOF
+
+ cp -r "${WORKDIR}/atlas-${ATLAS_V}" "${S}/dist/atlas" || die
+
+ mkdir -p "${S}/dist/atlas/dist" || die
+ cp -r "${S}/dist/nimble/dist/sat" "${S}/dist/atlas/dist/sat" || die
+}
+
+src_compile() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./build.sh --parallel "$(makeopts_jobs)"
+
+ ebegin "Waiting for unfinished parallel jobs"
+ while [[ ! -f "bin/nim" ]] ; do
+ sleep 3
+ done
+ sleep 10
+ eend 0
+
+ edo chmod +x ./bin/nim
+ edo ./bin/nim compile -d:release koch
+ edo ./koch boot -d:nimUseLinenoise -d:release --skipParentCfg:off
+ edo ./koch tools -d:release
+ edo ./bin/nim compile -d:release ./tools/niminst/niminst.nim
+}
+
+src_test() {
+ local -x PATH="${S}/bin:${PATH}"
+ local -a nimflags=(
+ # Leave only the safe hints enabled.
+ --hint:all:off
+ --hint:User:on
+ --hint:UserRaw:on
+ )
+ local -a testament_args=(
+ --skipFrom:"${FILESDIR}/${PN}-2.0.6-testament-skipfile.txt"
+ --nim:"bin/nim"
+ --targets:"$(usex test-js 'c js' 'c')"
+ )
+
+ [[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] \
+ && testament_args+=( --colors:off )
+
+ local -a categories
+ readarray -t categories < <(find tests -mindepth 1 -maxdepth 1 -type d -printf "%P\n" | sort)
+
+ # AdditionalCategories from "testament/categories.nim".
+ categories+=( debugger examples lib )
+
+ local test_return=0
+
+ local tcat
+ local checkpoint
+ for tcat in "${categories[@]}"; do
+ # Use checkpoints for less painful testing.
+ checkpoint="${T}/.testament-${tcat}"
+
+ [[ -f "${checkpoint}" ]] && continue
+
+ case "${tcat}" in
+ testdata )
+ :
+ ;;
+ arc | gc | ic | js | msgs | stylecheck \
+ | testament | untestable | objects | valgrind )
+ einfo "Skipped nim test category: ${tcat}"
+ ;;
+ * )
+ einfo "Running tests in category '${tcat}'"
+ nonfatal edo ./bin/testament "${testament_args[@]}" \
+ category "${tcat}" "${nimflags[@]}" \
+ || test_return=1
+ ;;
+ esac
+
+ touch "${checkpoint}" || die
+ done
+
+ [[ "${test_return}" -eq 1 ]] \
+ && die "tests failed, please inspect the failed test categories above"
+}
+
+src_install() {
+ local -x PATH="${S}/bin:${PATH}"
+
+ edo ./koch install "${ED}/usr/lib"
+ dosym -r /usr/lib/nim/bin/nim /usr/bin/nim
+
+ # "./koch install" installs only "nim" binary but not the rest.
+ exeinto /usr/bin
+ local exe
+ while read -r exe ; do
+ einfo "Installing nim support tool: ${exe}"
+ doexe "${exe}"
+ done < <(find ./bin -type f -not -iname nim)
+
+ newbashcomp tools/nim.bash-completion nim
+ newbashcomp dist/nimble/nimble.bash-completion nimble
+
+ insinto /usr/share/zsh/site-functions
+ newins tools/nim.zsh-completion _nim
+ newins dist/nimble/nimble.zsh-completion _nimble
+
+ # Install the @nim-rebuild set for Portage.
+ insinto /usr/share/portage/config/sets
+ newins "${FILESDIR}/nim-sets.conf" nim.conf
+
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 88+ messages in thread
end of thread, other threads:[~2024-10-05 21:44 UTC | newest]
Thread overview: 88+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-24 12:37 [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/ Sergei Trofimovich
-- strict thread matches above, loose matches on Subject: below --
2024-10-05 21:44 Maciej Barć
2024-10-02 9:49 Maciej Barć
2024-09-11 23:59 Sam James
2024-08-08 12:06 Maciej Barć
2024-08-08 11:03 Maciej Barć
2024-08-08 11:03 Maciej Barć
2024-07-21 20:33 Arthur Zamarin
2024-05-24 0:34 Sam James
2024-04-19 12:44 Maciej Barć
2024-04-17 22:10 Maciej Barć
2023-09-02 13:08 Maciej Barć
2023-08-12 7:52 Arthur Zamarin
2023-08-01 18:53 Maciej Barć
2023-08-01 18:53 Maciej Barć
2023-05-05 12:03 Maciej Barć
2023-04-12 1:50 Sam James
2023-03-11 8:02 Maciej Barć
2023-03-11 8:02 Maciej Barć
2023-02-28 18:03 Maciej Barć
2023-02-26 18:27 Arthur Zamarin
2023-01-03 20:30 Maciej Barć
2023-01-03 20:30 Maciej Barć
2022-11-24 4:13 Maciej Barć
2022-09-29 0:22 Maciej Barć
2022-09-29 0:22 Maciej Barć
2022-07-13 21:19 Maciej Barć
2022-07-13 21:19 Maciej Barć
2022-07-13 21:19 Maciej Barć
2022-07-13 21:19 Maciej Barć
2022-05-06 20:19 Maciej Barć
2022-03-10 23:12 Sam James
2022-02-16 11:33 Maciej Barć
2021-12-25 20:31 Maciej Barć
2021-12-25 20:28 Maciej Barć
2021-12-25 20:03 Maciej Barć
2021-12-25 20:03 Maciej Barć
2021-07-02 7:17 Sergei Trofimovich
2021-06-05 10:50 Sergei Trofimovich
2021-05-25 22:47 Sergei Trofimovich
2021-04-16 19:18 Sergei Trofimovich
2021-02-26 10:25 Sergei Trofimovich
2021-02-24 8:16 Sergei Trofimovich
2020-12-12 21:30 Sergei Trofimovich
2020-12-04 20:58 Sergei Trofimovich
2020-12-04 15:27 Sergei Trofimovich
2020-12-04 0:35 Sergei Trofimovich
2020-10-18 12:31 Sergei Trofimovich
2020-10-16 21:12 Sergei Trofimovich
2020-08-01 15:35 Sergei Trofimovich
2020-07-31 22:53 Sergei Trofimovich
2020-06-28 22:43 Sergei Trofimovich
2020-06-27 18:49 Sergei Trofimovich
2020-06-20 19:49 Sergei Trofimovich
2020-06-17 21:47 Sergei Trofimovich
2020-05-24 22:10 Sergei Trofimovich
2020-05-02 17:51 Sergei Trofimovich
2020-04-04 20:18 Sergei Trofimovich
2020-02-26 17:39 Sergei Trofimovich
2020-02-12 22:32 Sergei Trofimovich
2020-01-29 0:12 Sergei Trofimovich
2019-11-27 23:56 Sergei Trofimovich
2019-11-09 15:59 Sergei Trofimovich
2019-11-09 15:49 Sergei Trofimovich
2019-09-23 22:51 Sergei Trofimovich
2019-07-17 21:14 Sergei Trofimovich
2019-05-14 7:31 Sergei Trofimovich
2019-05-14 7:31 Sergei Trofimovich
2019-02-02 18:08 Sergei Trofimovich
2019-01-01 21:14 Sergei Trofimovich
2019-01-01 21:14 Sergei Trofimovich
2018-09-28 21:32 Sergei Trofimovich
2018-03-11 14:39 Sergei Trofimovich
2018-03-04 17:06 Sergei Trofimovich
2018-03-04 10:12 Sergei Trofimovich
2018-03-02 20:52 Sergei Trofimovich
2017-10-10 9:51 Sergei Trofimovich
2017-10-09 19:21 Sergei Trofimovich
2017-09-09 9:43 Sergei Trofimovich
2017-07-04 21:56 Sergei Trofimovich
2017-05-18 20:23 Sergei Trofimovich
2017-01-22 11:40 Sergei Trofimovich
2017-01-11 6:09 Sergei Trofimovich
2016-10-24 21:33 Sergei Trofimovich
2016-10-24 21:13 Sergei Trofimovich
2016-10-01 9:25 Sergei Trofimovich
2016-07-28 20:42 Sergei Trofimovich
2016-07-28 20:40 Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox