1 |
commit: 4dc5bb79a05393e83663db4d8c436cfb67c4c9f7 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 30 21:15:27 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 30 21:17:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc5bb79 |
7 |
|
8 |
dev-scheme/scm: drop old revision 3 of version 5.5.6 |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
dev-scheme/scm/scm-5.5.6-r3.ebuild | 167 ------------------------------------- |
13 |
dev-scheme/scm/scm-5.5.6-r4.ebuild | 2 +- |
14 |
2 files changed, 1 insertion(+), 168 deletions(-) |
15 |
|
16 |
diff --git a/dev-scheme/scm/scm-5.5.6-r3.ebuild b/dev-scheme/scm/scm-5.5.6-r3.ebuild |
17 |
deleted file mode 100644 |
18 |
index 7f9e5ca83411..000000000000 |
19 |
--- a/dev-scheme/scm/scm-5.5.6-r3.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,167 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit versionator flag-o-matic |
28 |
- |
29 |
-#version magic thanks to masterdriverz and UberLord using bash array instead of tr |
30 |
-trarr="0abcdefghi" |
31 |
-MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)" |
32 |
- |
33 |
-MY_P=${PN}-${MY_PV} |
34 |
-S=${WORKDIR}/${PN} |
35 |
-DESCRIPTION="SCM is a Scheme implementation from the author of slib" |
36 |
-SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip" |
37 |
-HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM" |
38 |
- |
39 |
-SLOT="0" |
40 |
-LICENSE="LGPL-3" |
41 |
-KEYWORDS="amd64 x86 ~amd64-linux" |
42 |
-IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact ioext libscm macro ncurses posix readline regex sockets unix" |
43 |
- |
44 |
-#unzip for unpacking |
45 |
-DEPEND="app-arch/unzip |
46 |
- >=dev-scheme/slib-3.1.5 |
47 |
- dev-util/cproto |
48 |
- ncurses? ( sys-libs/ncurses:0= ) |
49 |
- readline? ( sys-libs/libtermcap-compat )" |
50 |
-RDEPEND="${DEPEND}" |
51 |
- |
52 |
-PATCHES=( "${FILESDIR}/${P}-multiplefixes.patch" ) |
53 |
- |
54 |
-src_compile() { |
55 |
- # SLIB is required to build SCM. |
56 |
- local slibpath="${EPREFIX}/usr/share/slib/" |
57 |
- if [ -n "$SCHEME_LIBRARY_PATH" ]; then |
58 |
- einfo "using SLIB $SCHEME_LIBRARY_PATH" |
59 |
- elif [ -d ${slibpath} ]; then |
60 |
- export SCHEME_LIBRARY_PATH=${slibpath} |
61 |
- fi |
62 |
- |
63 |
- einfo "Making scmlit" |
64 |
- emake -j1 scmlit clean |
65 |
- |
66 |
- einfo "Building scm" |
67 |
- local features="" |
68 |
- use arrays && features+="arrays" |
69 |
- use bignums && features+=" bignums" |
70 |
- use cautious && features+=" cautious" |
71 |
- use engineering-notation && features+=" engineering-notation" |
72 |
- use inexact && features+=" inexact" |
73 |
- use macro && features+=" macro" |
74 |
- |
75 |
- ( use readline || |
76 |
- use ncurses || |
77 |
- use regex || |
78 |
- use posix || |
79 |
- use ioext || |
80 |
- use gsubr || |
81 |
- use sockets || |
82 |
- use unix || |
83 |
- use dynamic-linking ) && features+=" dynamic-linking" |
84 |
- |
85 |
- ./build \ |
86 |
- --compiler-options="${CFLAGS}" \ |
87 |
- --linker-options="${LDFLAGS} -L${EPREFIX}/$(get_libdir)" \ |
88 |
- -s "${EPREFIX}"/usr/$(get_libdir)/scm \ |
89 |
- -F ${features:="none"} \ |
90 |
- -h system \ |
91 |
- -o scm || die |
92 |
- |
93 |
- einfo "Building DLLs" |
94 |
- if use readline; then |
95 |
- ./build \ |
96 |
- --compiler-options="${CFLAGS}" \ |
97 |
- --linker-options="${LDFLAGS}" \ |
98 |
- -h system \ |
99 |
- -F edit-line \ |
100 |
- -t dll || die |
101 |
- fi |
102 |
- if use ncurses ; then |
103 |
- ./build \ |
104 |
- --compiler-options="${CFLAGS}" \ |
105 |
- --linker-options="${LDFLAGS}" \ |
106 |
- -F curses \ |
107 |
- -h system \ |
108 |
- -t dll || die |
109 |
- fi |
110 |
- if use regex ; then |
111 |
- ./build \ |
112 |
- --compiler-options="${CFLAGS}" \ |
113 |
- --linker-options="${LDFLAGS}" \ |
114 |
- -c rgx.c \ |
115 |
- -h system \ |
116 |
- -t dll || die |
117 |
- fi |
118 |
- if use gsubr ; then |
119 |
- ./build \ |
120 |
- --compiler-options="${CFLAGS}" \ |
121 |
- --linker-options="${LDFLAGS}" \ |
122 |
- -c gsubr.c \ |
123 |
- -h system \ |
124 |
- -t dll || die |
125 |
- fi |
126 |
- if use ioext ; then |
127 |
- ./build \ |
128 |
- --compiler-options="${CFLAGS}" \ |
129 |
- --linker-options="${LDFLAGS}" \ |
130 |
- -c ioext.c \ |
131 |
- -h system \ |
132 |
- -t dll || die |
133 |
- fi |
134 |
- if use posix; then |
135 |
- ./build \ |
136 |
- --compiler-options="${CFLAGS}" \ |
137 |
- --linker-options="${LDFLAGS}" \ |
138 |
- -c posix.c \ |
139 |
- -h system \ |
140 |
- -t dll || die |
141 |
- fi |
142 |
- if use sockets ; then |
143 |
- ./build \ |
144 |
- --compiler-options="${CFLAGS}" \ |
145 |
- --linker-options="${LDFLAGS}" \ |
146 |
- -c socket.c \ |
147 |
- -h system \ |
148 |
- -t dll || die |
149 |
- fi |
150 |
- if use unix ; then |
151 |
- ./build \ |
152 |
- --compiler-options="${CFLAGS}" \ |
153 |
- --linker-options="${LDFLAGS}" \ |
154 |
- -c unix.c \ |
155 |
- -h system \ |
156 |
- -t dll || die |
157 |
- fi |
158 |
- |
159 |
- if use libscm ; then |
160 |
- emake libscm.a |
161 |
- fi |
162 |
-} |
163 |
- |
164 |
-src_test() { |
165 |
- emake check |
166 |
-} |
167 |
- |
168 |
-src_install() { |
169 |
- emake DESTDIR="${D}" man1dir="${EPREFIX}"/usr/share/man/man1/ \ |
170 |
- install |
171 |
- |
172 |
- if use libscm; then |
173 |
- emake DESTDIR="${D}" libdir="${EPREFIX}"/usr/$(get_libdir)/ \ |
174 |
- installlib |
175 |
- fi |
176 |
- |
177 |
- doinfo scm.info |
178 |
- doinfo hobbit.info |
179 |
-} |
180 |
- |
181 |
-pkg_postinst() { |
182 |
- [ "${ROOT}" == "/" ] && pkg_config |
183 |
-} |
184 |
- |
185 |
-pkg_config() { |
186 |
- einfo "Regenerating catalog..." |
187 |
- scm -e "(require 'new-catalog)" |
188 |
-} |
189 |
|
190 |
diff --git a/dev-scheme/scm/scm-5.5.6-r4.ebuild b/dev-scheme/scm/scm-5.5.6-r4.ebuild |
191 |
index 9885280d9d32..0a286fe7cd04 100644 |
192 |
--- a/dev-scheme/scm/scm-5.5.6-r4.ebuild |
193 |
+++ b/dev-scheme/scm/scm-5.5.6-r4.ebuild |
194 |
@@ -17,7 +17,7 @@ S=${WORKDIR}/${PN} |
195 |
|
196 |
SLOT="0" |
197 |
LICENSE="LGPL-3" |
198 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux" |
199 |
+KEYWORDS="amd64 x86 ~amd64-linux" |
200 |
IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact ioext libscm macro ncurses posix readline regex sockets unix" |
201 |
|
202 |
BDEPEND="app-arch/unzip" |