Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lisp/sbcl/
Date: Wed, 02 Feb 2022 13:01:16
Message-Id: 1643806844.c5b521eed79a8b75640b9371a17579f0c6d15392.grozin@gentoo
1 commit: c5b521eed79a8b75640b9371a17579f0c6d15392
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 2 13:00:44 2022 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 2 13:00:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5b521ee
7
8 dev-lisp/sbcl: remove 2.1.11
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
12
13 dev-lisp/sbcl/Manifest | 2 -
14 dev-lisp/sbcl/sbcl-2.1.11.ebuild | 240 ---------------------------------------
15 2 files changed, 242 deletions(-)
16
17 diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest
18 index c2aa9a80ae6f..c056c85aeae0 100644
19 --- a/dev-lisp/sbcl/Manifest
20 +++ b/dev-lisp/sbcl/Manifest
21 @@ -17,8 +17,6 @@ DIST sbcl-1.4.3-x86-linux-binary.tar.bz2 10227185 BLAKE2B 6d77c4f4177cbdb72fb9ba
22 DIST sbcl-1.4.8-x86-64-linux-binary.tar.bz2 10353701 BLAKE2B 5b56f46fbdb87f015ed1fe103b6caaf43d2d424b45e2574e306b3d3cbc3c7bdfa48847a2e6d7d819e6bf4b59fa02ea01f9ce6b023802ae6f91fc7f56e5a260de SHA512 f3cb3c30dec1b7e6ac0c1b67de26192723871f8a8d543a41d7c4d04b0813fd7da1043433237b648a2c23f73169fe38f2ec3a3c2bd412eb4c9d36ed929c40f27d
23 DIST sbcl-1.4.9-source.tar.bz2 6051607 BLAKE2B 8abcaf73233ea1a23d47987b16554636dcf94acfbc7ab731f0730fdb4a8176593fb3ab52d9b25b3dd56753cd984f7e0eddb1585a142eb7ad1aa5e3e03d7b0ca9 SHA512 e0248f460f9737d47653dd520732062d2637813b550df356ecc90aa6d21fbdd74f03182d1e890c09c1da742f7d57b4fbd04a4e6dc36999aca51bb6c2952ac236
24 DIST sbcl-1.5.8-ppc64le-linux-binary.tar.bz2 10025597 BLAKE2B aac079e3585ebe9d5b610cf096e958edfd4410361b0d96b2fa88a285cbdce4133d89e1ddf0cf6729d43d6c3057365d07a3d73362f906fd8798b76c993210a8e5 SHA512 443ab604caa768c756f3322d7c599142a50227914bcd6be12434432daf1e3d5af0740d1ebdb166b856cc77ddf02451e29fcef9e29099f7bc4fb49ad61db17674
25 -DIST sbcl-2.1.11-source.tar.bz2 6687529 BLAKE2B 06deb2cc4f55aeb9ddfdf267d541ffbd15d8a5ed068b21d5786888bab973485c9c23250e4bb3980b46e3ba7580c402ff0364447d8104689757deb29cbd81e7c4 SHA512 c1a1c377a45d3968907b14a64a9b8b70fb33e8e7e7ff90820f2da75d4f16e1d4f804818b9d21bf0c438120293dcfe2d2b023e9b0d2e4a5b5842944d9c2c45d74
26 -DIST sbcl-2.1.11-x86-64-linux-binary.tar.bz2 10159401 BLAKE2B e40631dd49dea23759c6f8330944c354ca025c11765ee18f64a92faaa64aea05504ba4ff431651ea8403a7c8ac6705364bde826736ec5e1d378f197b3c233867 SHA512 ac3c5cbd8df596c838d61833e431427c80875b2f5379a855d4426cebf5d90fc5210d74b28db9c3fdbef4d315eeaba75fc18fd9f2f129a1e72d90fa1055421d6b
27 DIST sbcl-2.2.0-source.tar.bz2 6697729 BLAKE2B de89a3725ab68e7c189b225ee43bda3f53ca457c7c63a12c593e6f44559833cb1c95bda4e66181429a32cff614177a5650f94b45add5a5013c7a80b43608c04d SHA512 0afd424e6b8dbc574e928fbfb1ce264211b94e5bdef35b131a9f672b5051819d6978ea5338863e1321305dc562d8d81ae33c1e1fffdbaf6a60a3fbef0926e99f
28 DIST sbcl-2.2.0-x86-64-linux-binary.tar.bz2 10178679 BLAKE2B 7a38af9f548807852fc602bb2cb4be3d50ab9fef875919f5c38df6fa9a43e80323cd005064c2e373cbb72d8e7e01a1ee4e0732c3ca9b8ee558e6c2f965d4631f SHA512 a148cf90b2b31ecd49a767468355eca166f428d491588ce5bd577da6efa32e0531b92fba1bfbf034b058a9af8baa45842e41ec24411bd3d5766b9cf20206453b
29 DIST sbcl-2.2.1-source.tar.bz2 6701705 BLAKE2B 65cd2675866daac78f654ae85754c40aa866c550b3866fa05166d6fa0ef9edf221c10ee4e7ea62bd6774fc00140f08b95f69b2ce30ff6080303850f40a7cbf1f SHA512 4139aaf4023469c500ee729b72670a8e661ef9763fd6f3f7bd143dcc6ab31f3cc0c8d9d1211a9db7d6c673bf71f386fd5b4713a9a3344d100f91168c40d97af9
30
31 diff --git a/dev-lisp/sbcl/sbcl-2.1.11.ebuild b/dev-lisp/sbcl/sbcl-2.1.11.ebuild
32 deleted file mode 100644
33 index a7da3fbabdee..000000000000
34 --- a/dev-lisp/sbcl/sbcl-2.1.11.ebuild
35 +++ /dev/null
36 @@ -1,240 +0,0 @@
37 -# Copyright 1999-2022 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=8
41 -
42 -inherit multilib flag-o-matic pax-utils toolchain-funcs
43 -
44 -#same order as http://www.sbcl.org/platform-table.html
45 -BV_X86=1.4.3
46 -BV_AMD64=2.1.11
47 -BV_PPC=1.2.7
48 -BV_PPC64LE=1.5.8
49 -BV_SPARC=1.0.28
50 -BV_ALPHA=1.0.28
51 -BV_ARM=1.4.11
52 -BV_ARM64=1.4.2
53 -BV_X64_MACOS=1.2.11
54 -BV_PPC_MACOS=1.0.47
55 -BV_X86_SOLARIS=1.2.7
56 -BV_X64_SOLARIS=1.2.7
57 -BV_SPARC_SOLARIS=1.0.23
58 -
59 -DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
60 -HOMEPAGE="http://sbcl.sourceforge.net/"
61 -SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
62 - x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
63 - amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
64 - ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
65 - ppc64? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC64LE}-ppc64le-linux-binary.tar.bz2 )
66 - sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
67 - alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
68 - arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
69 - arm64? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM64}-arm64-linux-binary.tar.bz2 )
70 - x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 )
71 - ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )
72 - x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 )
73 - x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 )
74 - sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )"
75 -
76 -LICENSE="MIT"
77 -SLOT="0/${PV}"
78 -KEYWORDS="-* ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
79 -IUSE="debug doc source +threads +unicode zlib"
80 -
81 -CDEPEND=">=dev-lisp/asdf-3.3:="
82 -BDEPEND="${CDEPEND}
83 - doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )"
84 -RDEPEND="${CDEPEND}
85 - !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )"
86 -
87 -# Disable warnings about executable stacks, as this won't be fixed soon by upstream
88 -QA_EXECSTACK="usr/bin/sbcl"
89 -
90 -CONFIG="${S}/customize-target-features.lisp"
91 -ENVD="${T}/50sbcl"
92 -
93 -# Prevent ASDF from using the system libraries
94 -CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
95 -ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
96 -
97 -usep() {
98 - use ${1} && echo "true" || echo "false"
99 -}
100 -
101 -sbcl_feature() {
102 - echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
103 -}
104 -
105 -sbcl_apply_features() {
106 - sed 's/^X//' > "${CONFIG}" <<-'EOF'
107 - (lambda (list)
108 - X (flet ((enable (x) (pushnew x list))
109 - X (disable (x) (setf list (remove x list))))
110 - EOF
111 - if use x86 || use amd64; then
112 - sbcl_feature "$(usep threads)" ":sb-thread"
113 - fi
114 - sbcl_feature "true" ":sb-ldb"
115 - sbcl_feature "false" ":sb-test"
116 - sbcl_feature "$(usep unicode)" ":sb-unicode"
117 - sbcl_feature "$(usep zlib)" ":sb-core-compression"
118 - sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
119 - sed 's/^X//' >> "${CONFIG}" <<-'EOF'
120 - X )
121 - X list)
122 - EOF
123 - cat "${CONFIG}"
124 -}
125 -
126 -src_unpack() {
127 - unpack ${A}
128 - mv sbcl-*-* sbcl-binary || die
129 - cd "${S}"
130 -}
131 -
132 -src_prepare() {
133 - # bug #468482
134 - eapply "${FILESDIR}"/concurrency-test-2.0.1.patch
135 - # bugs #486552, #527666, #517004
136 - eapply "${FILESDIR}"/bsd-sockets-test-2.0.5.patch
137 - # bugs #560276, #561018
138 - eapply "${FILESDIR}"/sb-posix-test-1.2.15.patch
139 - # bug #767742
140 - eapply "${FILESDIR}"/etags-2.1.0.patch
141 -
142 - eapply "${FILESDIR}"/verbose-build-2.0.3.patch
143 -
144 - eapply_user
145 -
146 - # Make sure the *FLAGS variables are sane.
147 - # sbcl needs symbols in resulting binaries, so building with the -s linker flag will fail.
148 - strip-unsupported-flags
149 - filter-flags -fomit-frame-pointer -Wl,-s
150 - filter-ldflags -s
151 -
152 - # original bugs #526194, #620532
153 - # this broke no-pie default builds, c.f. bug #632670
154 - # Pass CFLAGS down by appending our value, to let users override
155 - # the default values.
156 - # Keep passing LDFLAGS down via the LINKFLAGS variable.
157 - sed -e "s@\(CFLAGS += -g .*\)\$@\1 ${CFLAGS}@" \
158 - -e "s@LINKFLAGS += -g\$@LINKFLAGS += ${LDFLAGS}@" \
159 - -i src/runtime/GNUmakefile || die
160 -
161 - sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \
162 - -i make-config.sh || die
163 -
164 - # Use installed ASDF version
165 - cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
166 - # Avoid installation of ASDF info page. See bug #605752
167 - sed '/INFOFILES/s/asdf.info//' -i doc/manual/Makefile || die
168 -
169 - use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
170 -
171 - # Some shells(such as dash) don't have "time" as builtin
172 - # and we don't want to DEPEND on sys-process/time
173 - sed "s,^time ,," -i make.sh || die
174 - sed "s,/lib,/$(get_libdir),g" -i install.sh || die
175 - # #define SBCL_HOME ...
176 - sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
177 - # change location of /etc/sbclrc ...
178 - sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die
179 -
180 - find . -type f -name .cvsignore -delete
181 -}
182 -
183 -src_configure() {
184 - # customizing SBCL version as per
185 - # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
186 - echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
187 -
188 - # applying customizations
189 - sbcl_apply_features
190 -}
191 -
192 -src_compile() {
193 - local bindir="${WORKDIR}"/sbcl-binary
194 -
195 - # clear the environment to get rid of non-ASCII strings, see bug #174702
196 - # set HOME for paludis
197 - env - HOME="${T}" PATH="${PATH}" \
198 - CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
199 - CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
200 - GNUMAKE=make ./make.sh \
201 - "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
202 - || die "make failed"
203 -
204 - # need to set HOME because libpango(used by graphviz) complains about it
205 - if use doc; then
206 - env - HOME="${T}" PATH="${PATH}" \
207 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
208 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
209 - make -C doc/manual info html || die "Cannot build manual"
210 - env - HOME="${T}" PATH="${PATH}" \
211 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
212 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
213 - make -C doc/internals info html || die "Cannot build internal docs"
214 - fi
215 -}
216 -
217 -src_test() {
218 - ewarn "Unfortunately, it is known that some tests fail eg."
219 - ewarn "run-program.impure.lisp. This is an issue of the upstream's"
220 - ewarn "development and not of Gentoo's side. Please, before filing"
221 - ewarn "any bug(s) search for older submissions. Thank you."
222 - time ( cd tests && sh run-tests.sh )
223 -}
224 -
225 -src_install() {
226 - # install system-wide initfile
227 - dodir /etc/
228 - sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF
229 - ;;; The following is required if you want source location functions to
230 - ;;; work in SLIME, for example.
231 - X
232 - (setf (logical-pathname-translations "SYS")
233 - X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*")
234 - X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*")))
235 - X
236 - ;;; Setup ASDF2
237 - (load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp")
238 - EOF
239 -
240 - # Install documentation
241 - unset SBCL_HOME
242 - INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \
243 - sh install.sh || die "install.sh failed"
244 -
245 - # bug #517008
246 - pax-mark -mr "${D}"/usr/bin/sbcl
247 -
248 - # rm empty directories lest paludis complain about this
249 - find "${ED}" -empty -type d -exec rmdir -v {} +
250 -
251 - if use doc; then
252 - dodoc -r doc/internals/sbcl-internals
253 -
254 - doinfo doc/manual/*.info*
255 - doinfo doc/internals/sbcl-internals.info
256 -
257 - docinto internals-notes
258 - dodoc doc/internals-notes/*
259 - else
260 - rm -Rv "${ED}/usr/share/doc/${PF}" || die
261 - fi
262 -
263 - # install the SBCL source
264 - if use source; then
265 - ./clean.sh
266 - cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die
267 - for d in contrib/*/; do
268 - cp -av "$d" "${ED}/usr/$(get_libdir)/sbcl/" || die
269 - done
270 - fi
271 -
272 - # necessary for running newly-saved images
273 - echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}"
274 - echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
275 - doenvd "${ENVD}"
276 -}