Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
Date: Mon, 05 Feb 2018 10:43:29
Message-Id: 1517827237.e6df1ecb826c9181a50c7065ce169c1656c9c579.amynka@gentoo
1 commit: e6df1ecb826c9181a50c7065ce169c1656c9c579
2 Author: Amy Liffey <amynka <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 5 10:40:37 2018 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 5 10:40:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6df1ecb
7
8 dev-scheme/racket: remove old
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.3
11
12 dev-scheme/racket/Manifest | 2 -
13 dev-scheme/racket/racket-6.9.ebuild | 132 ------------------------------------
14 2 files changed, 134 deletions(-)
15
16 diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
17 index e2fc2ae105d..d5e4900f839 100644
18 --- a/dev-scheme/racket/Manifest
19 +++ b/dev-scheme/racket/Manifest
20 @@ -1,7 +1,5 @@
21 DIST racket-5.3.6-src-unix.tgz 19278914 BLAKE2B 4809523b58b0c7ec60d80a912c560550602c9016802d8bf5bf42aa64d54c9dd5165357cc5cdaf98d2c3cf6fe9f26054434da10c3f2804bbf4f51526d6fa69592 SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f
22 DIST racket-6.11-src-builtpkgs.tgz 122307703 BLAKE2B 395b14c15b73dfda7b6e863a83530b5266ec2f132b3b8ee23ee60bea0083b42e1dd67c60cbdfca2cac93c343e3a4edf132677c707aed62d85c43ae27edb2de74 SHA512 2b9f6b478880a9ec176018f34a3015f5e84ceb11e61519d9ab9f7df8d4b8dc664fa9103ca787664ffcd86909410fbf6812838a59d899f3487dea278e39eb597b
23 DIST racket-6.7-src-builtpkgs.tgz 116773863 BLAKE2B 786552b296449cd105450450f7232ba5468aba0ed6d96aa6db058cc3eb655808f031259ee69d1ab8abb9a751151e28e923d4388860ed37d74a1f6a637f740f0f SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127
24 -DIST racket-6.9-src-builtpkgs.tgz 118620147 BLAKE2B 839eac29098a1255ce63886aadbd120fba75865c713b272ccbc2b7a7be361cb12ebcd4eabc94a243c5abab57d4b759c9ce2f613f2d02ef11e33b5931d00420ab SHA512 14144c408521034b9c57925cd01ca25488cdcbcd3f8b943074f8ea434b84bdd76a73095ef920051a925929e3fcb4707bfd6b1585a7debaf23069f1a0db06298b
25 DIST racket-minimal-6.11-src-builtpkgs.tgz 11208413 BLAKE2B 17e979ab6e4c99f781994d48ca90e206618835e2ecfa875d0966efe2909a440c509fe9706cccb7f377675a0bb4d76971ed4dd73de2c088ae40660df50b6cf7cc SHA512 f197a645e7da04c120f1cb61d98a1cd47824576467a2fa12753576b72f258d1229cc99243f91ed87cf37be63062c26844b44469987d7ac4bfeee853aa7cb6e66
26 DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 BLAKE2B 1661fe1818d0b2c0d2c058aead61e25c5df01201d3ccdb31fccca14e9c1f2f822c18bfad6be3c1b7446d692c252129b63340b37e0311848269a914197416eee9 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285
27 -DIST racket-minimal-6.9-src-builtpkgs.tgz 11065867 BLAKE2B 3752ffb92a4ae290339599bb6ae83dd0db952eebdeb01c0d4bc9992cd903abf9970cab9e571c06a81644dc90479e3ce72b068e6c2f959d66abb90ced0d6cdfd7 SHA512 4d619e2b2efc852b24f925b51fe452316693ce850f71298fcb2a0009fe5770c15fbe88830f8a214cbfd4e0be57e6bd47ca963c0bd919bd5fc1f986f96d7a12f5
28
29 diff --git a/dev-scheme/racket/racket-6.9.ebuild b/dev-scheme/racket/racket-6.9.ebuild
30 deleted file mode 100644
31 index 069d5423011..00000000000
32 --- a/dev-scheme/racket/racket-6.9.ebuild
33 +++ /dev/null
34 @@ -1,132 +0,0 @@
35 -# Copyright 1999-2017 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -
40 -inherit pax-utils
41 -
42 -DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
43 -HOMEPAGE="http://racket-lang.org/"
44 -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 )"
45 -
46 -# The main license is LGPL-3, as described here:
47 -#
48 -# https://download.racket-lang.org/license.html
49 -#
50 -# However, there are traces of plain-GPL code, such as the routines in
51 -# collects/file/gzip.rkt that were based on GPLed C code, or the Cygwin
52 -# code in src/racket/dynsrc/init.cc. To err on the side of correctness,
53 -# we list GPL-3+, too.
54 -#
55 -LICENSE="GPL-3+ LGPL-3"
56 -SLOT="0"
57 -KEYWORDS="~amd64 ~arm ~x86"
58 -IUSE="doc +futures +jit minimal +places +threads +X"
59 -REQUIRED_USE="futures? ( jit )"
60 -
61 -# According to the Racket README, the dependencies of racket/draw should
62 -# only be needed at runtime, unless you're building the documentation:
63 -#
64 -# http://docs.racket-lang.org/draw/libs.html
65 -#
66 -# However, we have one report where the build system tried to use Pango,
67 -# even with USE="-doc". To be safe, we require the racket/draw
68 -# dependencies unconditionally at both build- and run-time.
69 -#
70 -# References:
71 -#
72 -# * bug 426316
73 -# * bug 486016
74 -#
75 -# The Racket GUI has some additional dependencies,
76 -#
77 -# http://docs.racket-lang.org/gui/libs.html
78 -#
79 -# that may truly be runtime-only.
80 -#
81 -RDEPEND="dev-db/sqlite:3
82 - media-libs/libpng:0
83 - x11-libs/cairo[X?]
84 - x11-libs/pango[X?]
85 - virtual/libffi
86 - virtual/jpeg:0
87 - X? ( x11-libs/gtk+[X?] )"
88 -
89 -# The blocker on dev-tex/slatex is because they both ship a "slatex"
90 -# executable. The slatex that comes with racket is apparently a copy of
91 -# dev-tex/slatex that has been modified to support only mzscheme. It's
92 -# not clear if dev-tex/slatex can be used as a replacement for the
93 -# racket version, but the racket version almost certainly cannot replace
94 -# dev-tex/slatex.
95 -#
96 -# If dev-tex/slatex will work for racket, then maybe we could just pull
97 -# it in as a dependency and remove /usr/bin/slatex in the src_install
98 -# for racket. Otherwise, we may have to rename racket's version to
99 -# somethine like slatex-racket, assuming that doesn't break
100 -# anything. This is all bug 547398.
101 -#
102 -RDEPEND="${RDEPEND} !dev-tex/slatex"
103 -
104 -DEPEND="${RDEPEND}"
105 -
106 -S="${WORKDIR}/${P}/src"
107 -
108 -src_prepare() {
109 - default
110 - rm -r foreign/libffi || die 'failed to remove bundled libffi'
111 -}
112 -
113 -src_configure() {
114 - # According to vapier, we should use the bundled libtool
115 - # such that we don't preclude cross-compile. Thus don't use
116 - # --enable-lt=/usr/bin/libtool
117 - econf \
118 - --enable-shared \
119 - --enable-float \
120 - --enable-libffi \
121 - --enable-foreign \
122 - --disable-libs \
123 - --disable-strip \
124 - $(use_enable X gracket) \
125 - $(use_enable doc docs) \
126 - $(use_enable jit) \
127 - $(use_enable places) \
128 - $(use_enable futures) \
129 - $(use_enable threads pthread)
130 -}
131 -
132 -src_compile() {
133 - if use jit; then
134 - # When the JIT is enabled, a few binaries need to be pax-marked
135 - # on hardened systems (bug 613634). The trick is to pax-mark
136 - # them before they're used later in the build system. The
137 - # following order for racketcgc and racket3m was determined by
138 - # digging through the Makefile in src/racket to find out which
139 - # targets would build those binaries but not use them.
140 - pushd racket
141 - emake cgc-core
142 - pax-mark m .libs/racketcgc
143 - pushd gc2
144 - emake all
145 - popd
146 - pax-mark m .libs/racket3m
147 - popd
148 - fi
149 -
150 - default
151 -}
152 -
153 -src_install() {
154 - default
155 -
156 - if use jit; then
157 - # The final binaries need to be pax-marked, too, if you want to
158 - # actually use them. The src_compile marking get lost somewhere
159 - # in the install process.
160 - for f in mred mzscheme racket; do
161 - pax-mark m "${D}/usr/bin/${f}"
162 - done
163 -
164 - use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
165 - fi
166 -}