diff options
Diffstat (limited to 'dev-lang/nim')
-rw-r--r-- | dev-lang/nim/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/nim/nim-1.4.2.ebuild (renamed from dev-lang/nim/nim-1.4.0.ebuild) | 13 |
2 files changed, 6 insertions, 11 deletions
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest index 2543737eb878..0290f01ab40f 100644 --- a/dev-lang/nim/Manifest +++ b/dev-lang/nim/Manifest @@ -1,4 +1,4 @@ AUX nim-0.20.0-paths.patch 934 BLAKE2B 6a4e44c5656cde6d5127bf6a6b8db92cdf8aada0892c27d536d0c1030ed7da8dc97138a8941030101918021f2a301fa683169c8a656fefc6fb7d0fcdb24029d4 SHA512 bf8dbc3e3861ec3ea2718092b981e495194ead5b547e69d01d5d842d128dc4b96b0ba3e95c78afd8fd822d594199315a01de370851ed8f594c091231b9a10ee9 -DIST nim-1.4.0.tar.xz 4626604 BLAKE2B 09417508b840d4cb522006f0dddd8799cb235db5f4e2f18fdf970ffa4d845998e498c005843cc994e15f8bea992b5341c8bce667208c68bf81ce3f5e650627bc SHA512 aa0cd5aef16ad5e793dc2c021404c1f0b89b35829f155ada4c0795d980de722493fb4e3da45373e6f2597b5af71140f5ecdfd5b06aa26e9afd2eb5d3f2cab8df -EBUILD nim-1.4.0.ebuild 2051 BLAKE2B 01ee582270224a4e85a4aa59c3a79e46dabb7368c4799d7f30238d39e04748d00e0dbb6caaae21df6a211596255ce0435656c1daa4c29cf12a66af78face2171 SHA512 c25b103507232c08e575f317379c23cfa68370dd008d87c3c2890497cafd0413e32a1f9734defaebae6d1a2541c03a0263a51056932a28a11a651b9fe8ed7fd9 +DIST nim-1.4.2.tar.xz 4770616 BLAKE2B 95561a22fedaa1eb42f099589b7b13e6833d1804d1d9bf8c4ec6514a4db89622d7f678b19ce9bed1c3ac5dffa3956b73e6b12fa6335f8e39a8b0dee90ae50457 SHA512 a357eaa5ef6c71b296fe6c53ed25be8b864a2895871a4ef6f23f2d31ce1c17d6dfb12eaf2bb8e71d122b7cf46746873109f424388ac2b6e84826699c1c5493fe +EBUILD nim-1.4.2.ebuild 1908 BLAKE2B ec603e5a6a5a5f7d9e4ae9ea515433f9a9f797429a77fb7d36931b47c02aafac13def0fc3f449b6d55eb8b39e1a20deff824ed676002384d34c326c800ade5c7 SHA512 40d49629410af196234b94334cffde8e4ca54ddc6dc385c844d56630bbb215f504b3dff8f395d329aca124e7861d206f0d51e81924a336d47e5c86e64db15bfa MISC metadata.xml 328 BLAKE2B 9205920d8c9b12118456bd186f2e882b3e6f75b7cc3f766def1e79e2e4f7ac695370409ff1555e379516606568f181f4ba3625322f70e41bfffd21d319b0035f SHA512 bf02bc0a8c25d6e157b7ab1ef87c2eac3241d42bc4cf0632a159dcb5d429051018848be81d0cbce228124660ced8694f5de48d64fe10bc7ff5b536b7e7579e49 diff --git a/dev-lang/nim/nim-1.4.0.ebuild b/dev-lang/nim/nim-1.4.2.ebuild index 61c6fc1c860f..9a273afb6271 100644 --- a/dev-lang/nim/nim-1.4.0.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 @@ -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() { @@ -53,13 +55,7 @@ src_compile() { _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 + PATH="./bin:$PATH" _run ./koch tools --parallelBuild:$(makeopts_jobs) } src_test() { @@ -80,6 +76,5 @@ src_install() { doexe "${bin_exe}" done - use doc && dodoc doc/html/*.html newbashcomp tools/nim.bash-completion ${PN} } |