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 F31271581D3 for ; Thu, 30 May 2024 17:28:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43B5FE2A98; Thu, 30 May 2024 17:28:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D8E2E2A98 for ; Thu, 30 May 2024 17:28:45 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 750F0343085 for ; Thu, 30 May 2024 17:28:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C94551BFF for ; Thu, 30 May 2024 17:28:41 +0000 (UTC) From: "Horodniceanu Andrei" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horodniceanu Andrei" Message-ID: <1717087852.bd7877994e9bad50415a6b7551d946adfd4e86ca.a.horodniceanu@gentoo> Subject: [gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/ X-VCS-Repository: repo/user/dlang X-VCS-Files: dev-lang/ldc2/ldc2-1.36.0-r1.ebuild X-VCS-Directories: dev-lang/ldc2/ X-VCS-Committer: a.horodniceanu X-VCS-Committer-Name: Horodniceanu Andrei X-VCS-Revision: bd7877994e9bad50415a6b7551d946adfd4e86ca X-VCS-Branch: master Date: Thu, 30 May 2024 17:28:41 +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: d08cfea4-eed3-4bf2-9c83-46cabe53a146 X-Archives-Hash: 87f4e530456c1dc78f39e3d5b5a82d5b commit: bd7877994e9bad50415a6b7551d946adfd4e86ca Author: Andrei Horodniceanu proton me> AuthorDate: Thu May 30 16:50:52 2024 +0000 Commit: Horodniceanu Andrei proton me> CommitDate: Thu May 30 16:50:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=bd787799 dev-lang/ldc2: drop 1.36.0-r1 Signed-off-by: Andrei Horodniceanu proton.me> dev-lang/ldc2/ldc2-1.36.0-r1.ebuild | 89 ------------------------------------- 1 file changed, 89 deletions(-) diff --git a/dev-lang/ldc2/ldc2-1.36.0-r1.ebuild b/dev-lang/ldc2/ldc2-1.36.0-r1.ebuild deleted file mode 100644 index bc995b9..0000000 --- a/dev-lang/ldc2/ldc2-1.36.0-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic multilib-build cmake llvm - -MY_PV="${PV//_/-}" -MY_P="ldc-${MY_PV}-src" -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -DESCRIPTION="LLVM D Compiler" -HOMEPAGE="https://github.com/ldc-developers/ldc" -KEYWORDS="~amd64 ~arm64 ~x86" -LICENSE="BSD" -SLOT="$(ver_cut 1-2)/$(ver_cut 3)" - -IUSE="static-libs" - -# Upstream supports LLVM 11.0 through 17.0. -DEPEND=" - || ( - sys-devel/llvm:17 - sys-devel/llvm:16 - sys-devel/llvm:15 - ) - =app-eselect/eselect-dlang-20140709" -RDEPEND=" - ${DEPEND} - ${IDEPEND}" - -LLVM_MAX_SLOT=17 -PATCHES="${FILESDIR}/ldc2-1.15.0-link-defaultlib-shared.patch" - -# For now, we support amd64 multilib. Anyone is free to add more support here. -MULTILIB_COMPAT=( abi_x86_{32,64} ) - -# Upstream supports "2.079-" -DLANG_VERSION_RANGE="2.100-2.106" -DLANG_PACKAGE_TYPE="single" - -inherit dlang - -src_prepare() { - cmake_src_prepare -} - -d_src_configure() { - # Make sure libphobos2 is installed into ldc2's directory. - export LIBDIR_${ABI}="${LIBDIR_HOST}" - # We disable assertions so we have to apply the same workaround as for - # sys-devel/llvm: add -DNDEBUG to CPPFLAGS. - local CPPFLAGS="${CPPFLAGS} -DNDEBUG" - # https://bugs.gentoo.org/show_bug.cgi?id=922590 - append-flags -fno-strict-aliasing - local mycmakeargs=( - -DD_VERSION=2 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2) - -DD_COMPILER="${DMD} $(dlang_dmdw_dcflags)" - -DLDC_WITH_LLD=OFF - -DCOMPILE_D_MODULES_SEPARATELY=ON - -DLDC_ENABLE_ASSERTIONS=OFF - ) - use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON ) - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON ) - cmake_src_configure -} - -d_src_compile() -{ - cmake_src_compile -} - -d_src_install() { - cmake_src_install - - rm -rf "${ED}"/usr/share/bash-completion -} - -pkg_postinst() { - # Update active ldc2 - "${ROOT}"/usr/bin/eselect dlang update ldc2 -} - -pkg_postrm() { - "${ROOT}"/usr/bin/eselect dlang update ldc2 -}