Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : nim | name : nim | ||||
| version : 0.17.0 | version : 0.17.2 | ||||
| release : 10 | release : 11 | ||||
| source : | source : | ||||
| - https://nim-lang.org/download/nim-0.17.0.tar.xz : 36e18dd9384f6c67e6d0199b871b43e774a0af30532698184d6f5a9cc9ac7a9b | - https://nim-lang.org/download/nim-0.17.2.tar.xz : aaff1b5023fc4a5708f1d7d9fd8e2a29f1a7f58bf496532ff1e9d7e7c7ec82bd | ||||
| license : MIT | license : MIT | ||||
| component : programming | component : programming | ||||
| summary : Nim programming language | summary : Nim programming language | ||||
| description: | | description: | | ||||
| Nim is a statically typed, imperative programming language. | Nim is a statically typed, imperative programming language. | ||||
| setup : | | setup : | | ||||
| %patch < $pkgfiles/0001-Change-to-correct-dirs.patch | %patch < $pkgfiles/0001-Change-to-correct-dirs.patch | ||||
| # fix some tests | |||||
| %patch -p1 < $pkgfiles/0003-fix-tasyncsend4757-test.patch | |||||
| %patch -p1 < $pkgfiles/0005-fix-tnewasyncudp-endianness.patch | |||||
| %patch -p1 < $pkgfiles/0007-fix-floats-in-tests.patch | |||||
| builddeps : | |||||
| - nodejs-devel # check | |||||
| rundeps : | |||||
| - glibc-devel | |||||
| - linux-headers | |||||
| build : | | build : | | ||||
| ./build.sh | ./build.sh | ||||
| bin/nim c koch | bin/nim c koch | ||||
| ./koch nimble | ./koch nimble | ||||
| ./koch tools | |||||
| install : | | install : | | ||||
| ./install.sh %installroot% | ./install.sh %installroot% | ||||
| install -Dm00755 bin/nimble $installdir/usr/bin/nimble | |||||
| install -Dm00755 bin/* $installdir/usr/bin | |||||
| install -Dm00644 tools/nim.bash-completion $installdir/usr/share/bash-completion/completions/nim | |||||
| install -Dm00644 dist/nimble/nimble.bash-completion $installdir/usr/share/bash-completion/completions/nimble | |||||
| mv $installdir%libdir%/nim/compiler.nimble $installdir%libdir%/nim/compiler/ | mv $installdir%libdir%/nim/compiler.nimble $installdir%libdir%/nim/compiler/ | ||||
| check : | | |||||
| # don't test everything because it's too long | |||||
| for cat in lib async float io bind rodfiles js debugger global threads | |||||
| do | |||||
| ./koch tests --pedantic category $cat -d:nimCoroutines || (echo "$cat test category failed" && exit 1) | |||||
| done | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.