public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Amy Liffey" <amynka@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
Date: Mon,  6 Aug 2018 15:59:46 +0000 (UTC)	[thread overview]
Message-ID: <1533571002.99e1827939edb12f8396a4547deb4fc225a4599e.amynka@gentoo> (raw)

commit:     99e1827939edb12f8396a4547deb4fc225a4599e
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  6 15:55:12 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Aug  6 15:56:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e18279

dev-scheme/racket: version bump 7.0

Closes: https://bugs.gentoo.org/662952
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-scheme/racket/Manifest          |  2 +
 dev-scheme/racket/racket-7.0.ebuild | 93 +++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 4d60880650a..ac9dc2976a5 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,4 +1,6 @@
 DIST racket-6.12-src-builtpkgs.tgz 119736428 BLAKE2B ca462e69c29c33e56e8e92dfc88e18c0643e045a52d50b288139b2d439dac9e10c3a5d0226236a2e2103b9d0c74871b97c3edfb242b49822d92893acc9ea42d7 SHA512 31f3f9b3f69a80601569cfdeee1610a49a2931c2c11a9daf9ff14eb8828dc48cb0befd05fc1b0cc53cc1477a04841e850f2dc89614dff58dc8e9e5da7b717716
 DIST racket-6.7-src-builtpkgs.tgz 116773863 BLAKE2B 786552b296449cd105450450f7232ba5468aba0ed6d96aa6db058cc3eb655808f031259ee69d1ab8abb9a751151e28e923d4388860ed37d74a1f6a637f740f0f SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127
+DIST racket-7.0-src-builtpkgs.tgz 122544008 BLAKE2B fa6eddab17fbdec1db1dac2debb2da72fbab064f10fe0f49eda5b0ccfc635b2f86cef2eb103675988d281459f4fdb19841e27f154b803b38631ee21a2312799f SHA512 e872bb935146027bdc78dd7d22ea07cbbf78a23c761d584770d9ded3ece71b74954a317b799de16b0ba762219a46f0e66f41ceeb4d6741d0b1998bc6abf6b20a
 DIST racket-minimal-6.12-src-builtpkgs.tgz 11251582 BLAKE2B c8ed5c562241f37297e0e88d1c8d60ceaf35c2a7010ca68cccca8b8ee007819822149cbda4f3b5c0ec93093901593b2722a22b9f8e46a083b207022877ce45f5 SHA512 6eb23ec16c710c661171f545b8dc5a53666e8a16d1db7edf1a0713693c99b79a779c4d7c6765dc3107f699c31e29238ddbb3e08b1eb62832292af0d4a1b5f465
 DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 BLAKE2B 1661fe1818d0b2c0d2c058aead61e25c5df01201d3ccdb31fccca14e9c1f2f822c18bfad6be3c1b7446d692c252129b63340b37e0311848269a914197416eee9 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285
+DIST racket-minimal-7.0-src-builtpkgs.tgz 12215529 BLAKE2B 4e9d2b137edf6b188c71dd32771753a16589ab49884aba1641fac5a5f82b9016843fec3257de7d59a9b00971a7dd455e99897782794800e14a656bcb22a17080 SHA512 976fd0ab96f4bf99eb7c63f7f213af91f91de4dd2498c4f8f1440743f7571194090abf0c4037e436970235f737d0add116f5689bf495688b3667a91ef95e8270

diff --git a/dev-scheme/racket/racket-7.0.ebuild b/dev-scheme/racket/racket-7.0.ebuild
new file mode 100644
index 00000000000..206f8c7836f
--- /dev/null
+++ b/dev-scheme/racket/racket-7.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit pax-utils
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="http://racket-lang.org/"
+SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+LICENSE="GPL-3+ LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="doc +futures +jit minimal +places +readline +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+RDEPEND="dev-db/sqlite:3
+	media-libs/libpng:0
+	x11-libs/cairo[X?]
+	x11-libs/pango[X?]
+	virtual/libffi
+	virtual/jpeg:0
+	readline? ( dev-libs/libedit )
+	X? ( x11-libs/gtk+[X?] )"
+RDEPEND="${RDEPEND} !dev-tex/slatex"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	default
+	rm -r foreign/libffi || die 'failed to remove bundled libffi'
+}
+
+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
+	econf \
+		--enable-shared \
+		--enable-float \
+		--enable-libffi \
+		--enable-foreign \
+		--disable-libs \
+		--disable-strip \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		$(use_enable jit) \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		# When the JIT is enabled, a few binaries need to be pax-marked
+		# on hardened systems (bug 613634). The trick is to pax-mark
+		# them before they're used later in the build system. The
+		# following order for racketcgc and racket3m was determined by
+		# digging through the Makefile in src/racket to find out which
+		# targets would build those binaries but not use them.
+		pushd racket
+		emake cgc-core
+		pax-mark m .libs/racketcgc
+		pushd gc2
+		emake all
+		popd
+		pax-mark m .libs/racket3m
+		popd
+	fi
+
+	default
+}
+
+src_install() {
+	default
+
+	if use jit; then
+		# The final binaries need to be pax-marked, too, if you want to
+		# actually use them. The src_compile marking get lost somewhere
+		# in the install process.
+		for f in mred mzscheme racket; do
+			pax-mark m "${D}/usr/bin/${f}"
+		done
+
+		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
+	fi
+	# raco needs decompressed files for packages doc installation bug 662424
+	if use doc; then
+		docompress -x /usr/share/doc/${PF}
+	fi
+}


             reply	other threads:[~2018-08-06 15:59 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-06 15:59 Amy Liffey [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08 19:34 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/ Maciej Barć
2024-10-23 22:15 Maciej Barć
2024-10-16 14:23 Maciej Barć
2024-10-15 14:30 Maciej Barć
2024-10-11 23:00 Maciej Barć
2024-10-01  1:11 Sam James
2024-10-01  1:11 Sam James
2024-10-01  1:11 Sam James
2024-08-17 13:27 Maciej Barć
2024-08-17 13:27 Maciej Barć
2024-08-09 20:26 Jakov Smolić
2024-08-01 16:47 Arthur Zamarin
2024-08-01 16:47 Arthur Zamarin
2024-05-19 23:14 Maciej Barć
2024-04-09  9:30 Maciej Barć
2024-03-14 21:44 Sam James
2024-03-13 21:42 Sam James
2024-03-13 16:40 Maciej Barć
2024-03-13 12:05 Arthur Zamarin
2024-03-01  7:28 Viorel Munteanu
2024-02-15 13:56 Sam James
2024-02-15 13:56 Sam James
2024-02-10 16:24 Maciej Barć
2024-01-12 23:22 Maciej Barć
2024-01-12 23:22 Maciej Barć
2023-12-22  5:14 Ionen Wolkens
2023-12-22  5:14 Ionen Wolkens
2023-12-13 17:17 Maciej Barć
2023-10-01 18:23 Arthur Zamarin
2023-10-01 18:07 Arthur Zamarin
2023-10-01 15:37 Maciej Barć
2023-08-17 13:22 Maciej Barć
2023-08-17 13:22 Maciej Barć
2023-08-17 13:22 Maciej Barć
2023-07-18 16:32 Sam James
2023-07-07 22:54 Sam James
2023-05-12 11:36 Maciej Barć
2023-05-12 11:36 Maciej Barć
2023-02-08 15:01 Maciej Barć
2023-01-13 13:01 Arthur Zamarin
2022-12-22 10:15 Arthur Zamarin
2022-12-22 10:14 Arthur Zamarin
2022-12-02 17:22 Arthur Zamarin
2022-11-17 15:14 Sam James
2022-11-13 14:08 Maciej Barć
2022-11-13 14:08 Maciej Barć
2022-08-07 16:24 Maciej Barć
2022-08-07 16:24 Maciej Barć
2022-07-26 18:41 Sam James
2022-07-26 18:41 Sam James
2022-05-25  6:39 Ulrich Müller
2022-05-01 23:46 Maciej Barć
2022-04-02  8:03 Agostino Sarubbo
2022-04-02  7:59 Agostino Sarubbo
2022-02-15  7:12 Agostino Sarubbo
2022-02-15  7:09 Agostino Sarubbo
2022-02-14 14:38 Maciej Barć
2022-02-09 23:20 Maciej Barć
2022-01-05  0:56 Maciej Barć
2022-01-05  0:54 Maciej Barć
2022-01-05  0:54 Maciej Barć
2021-12-14  8:53 Maciej Barć
2021-12-09 22:07 Maciej Barć
2021-12-03 18:27 Maciej Barć
2021-12-03 16:05 Maciej Barć
2021-12-03  0:12 Sam James
2021-12-03  0:12 Sam James
2021-12-03  0:12 Sam James
2021-11-12  4:38 Sam James
2021-11-08  6:22 Sam James
2021-11-06  8:33 Agostino Sarubbo
2021-11-04 10:38 Ulrich Müller
2021-11-04 10:38 Ulrich Müller
2021-08-13  6:08 Ulrich Müller
2021-07-10 18:54 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2020-11-16 22:53 Sergei Trofimovich
2019-05-18 16:17 Amy Liffey
2019-04-28 18:24 Amy Liffey
2019-04-04 21:16 Aaron Bauman
2018-11-05 21:13 Amy Liffey
2018-11-05 18:51 Mikle Kolyada
2018-10-28 21:29 Thomas Deutschmann
2018-10-27 10:39 Amy Liffey
2018-08-05 11:10 Amy Liffey
2018-08-05 11:10 Amy Liffey
2018-06-18 21:53 Amy Liffey
2018-03-06 15:22 Amy Liffey
2018-03-06 11:44 Mikle Kolyada
2018-02-11  9:24 Amy Liffey
2018-02-05 10:43 Amy Liffey
2018-02-03 20:27 Amy Liffey
2017-05-11 12:56 Michael Orlitzky
2017-02-12 16:18 Amy Liffey
2017-02-12 14:48 Agostino Sarubbo
2016-10-29 22:16 Amy Winston
2016-10-29 22:08 Amy Winston
2016-06-03 19:38 Amy Winston
2016-03-22 14:32 Agostino Sarubbo
2016-03-21  8:43 Amy Winston
2016-03-21  8:43 Amy Winston
2016-03-21  8:43 Amy Winston
2015-10-04 16:29 Sergei Trofimovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1533571002.99e1827939edb12f8396a4547deb4fc225a4599e.amynka@gentoo \
    --to=amynka@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox