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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 203851382C5 for ; Sat, 20 Mar 2021 11:55:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 164D0E0878; Sat, 20 Mar 2021 11:55:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F097CE0878 for ; Sat, 20 Mar 2021 11:55:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66AD2335D02 for ; Sat, 20 Mar 2021 11:55:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4D615C5 for ; Sat, 20 Mar 2021 11:55:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1616241315.de473b3a0c0537d0dd00b24c79aa9a08828ed8d9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-scheme/racket/racket-8.0.ebuild X-VCS-Directories: dev-scheme/racket/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: de473b3a0c0537d0dd00b24c79aa9a08828ed8d9 X-VCS-Branch: master Date: Sat, 20 Mar 2021 11:55:25 +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: e57da480-b67c-4fa2-95df-8fc7ae688326 X-Archives-Hash: 8c8a107c06660cb8b6affadd45cbba6d commit: de473b3a0c0537d0dd00b24c79aa9a08828ed8d9 Author: Sam James gentoo org> AuthorDate: Sat Mar 20 11:46:59 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Mar 20 11:55:15 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de473b3a dev-scheme/racket: minor cosmetic changes in 8.0 Signed-off-by: Sam James gentoo.org> dev-scheme/racket/racket-8.0.ebuild | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/dev-scheme/racket/racket-8.0.ebuild b/dev-scheme/racket/racket-8.0.ebuild index 1a38a64418d..1057ecbc202 100644 --- a/dev-scheme/racket/racket-8.0.ebuild +++ b/dev-scheme/racket/racket-8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,27 +7,30 @@ inherit pax-utils DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language" HOMEPAGE="https://racket-lang.org/" -SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )" +SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )" +SRC_URI+=" !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )" +S="${WORKDIR}/${P}/src" + LICENSE="GPL-3+ LGPL-3" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" IUSE="doc +futures +jit minimal +places +readline +threads +X +chez" + REQUIRED_USE="futures? ( jit )" -RDEPEND="dev-db/sqlite:3 +RDEPEND=" + dev-db/sqlite:3 media-libs/libpng:0 x11-libs/cairo[X?] x11-libs/pango[X?] dev-libs/libffi virtual/jpeg:0 readline? ( dev-libs/libedit ) - X? ( x11-libs/gtk+[X?] )" -RDEPEND="${RDEPEND} !dev-tex/slatex" - + X? ( x11-libs/gtk+[X?] ) + !dev-tex/slatex +" DEPEND="${RDEPEND}" -S="${WORKDIR}/${P}/src" - src_prepare() { default rm -r bc/foreign/libffi || die 'failed to remove bundled libffi' @@ -37,15 +40,16 @@ src_configure() { # According to vapier, we should use the bundled libtool # such that we don't preclude cross-compile. Thus don't use # --enable-lt=/usr/bin/libtool + # docdir doesn't get passed automatically econf \ --enable-shared \ --enable-float \ --enable-libffi \ --enable-foreign \ + --docdir="/usr/share/doc/${PF}" \ $(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly") \ --disable-libs \ --disable-strip \ - --docdir="/usr/share/doc/${PF}" \ $(use_enable X gracket) \ $(use_enable doc docs) \ $(use_enable jit) \ @@ -63,14 +67,16 @@ src_compile() { # digging through the Makefile in src/racket to find out which # targets would build those binaries but not use them. if ! use chez; then - pushd bc + pushd bc || die emake cgc-core pax-mark m .libs/racketcgc - pushd gc2 + + pushd gc2 || die emake all - popd + popd || die + pax-mark m .libs/racket3m - popd + popd || die fi fi @@ -89,12 +95,14 @@ src_install() { done use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket" - + pax-mark m "${D}/usr/$(get_libdir)/racket/starter" fi + # raco needs decompressed files for packages doc installation bug 662424 if use doc; then docompress -x /usr/share/doc/${PF} fi + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die }