From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 57D77158094 for ; Wed, 13 Jul 2022 21:19:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB8DAE0EBB; Wed, 13 Jul 2022 21:19:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE214E0EBB for ; Wed, 13 Jul 2022 21:19:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49C633410B5 for ; Wed, 13 Jul 2022 21:19:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 84FA6535 for ; Wed, 13 Jul 2022 21:19:34 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1657744974.86ce9513cf4130fdb52163297619f4bf7006ea7b.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/nim/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/nim/nim-1.6.6.ebuild X-VCS-Directories: dev-lang/nim/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 86ce9513cf4130fdb52163297619f4bf7006ea7b X-VCS-Branch: master Date: Wed, 13 Jul 2022 21:19:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4c051d77-6996-45d0-8d8b-048d239d436d X-Archives-Hash: 7860c2467ac7477c038fb3a3d3682bdd commit: 86ce9513cf4130fdb52163297619f4bf7006ea7b Author: Maciej Barć gentoo org> AuthorDate: Wed Jul 13 20:42:54 2022 +0000 Commit: Maciej Barć gentoo 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ć 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 "${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 -}