Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/lisp:master commit in: dev-scheme/chibi-scheme/
Date: Wed, 29 Nov 2017 19:43:40
Message-Id: 1511984411.ebf8f809c4cac4918d4b52a56aed8091b902226e.nimiux@gentoo
1 commit: ebf8f809c4cac4918d4b52a56aed8091b902226e
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 29 19:40:11 2017 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 29 19:40:11 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=ebf8f809
7
8 dev-lisp/chibi-scheme: Drops package
9
10 Closes: https://bugs.gentoo.org/630194
11
12 dev-scheme/chibi-scheme/chibi-scheme-0.6.1.ebuild | 64 ---------------------
13 dev-scheme/chibi-scheme/chibi-scheme-0.7.ebuild | 68 -----------------------
14 2 files changed, 132 deletions(-)
15
16 diff --git a/dev-scheme/chibi-scheme/chibi-scheme-0.6.1.ebuild b/dev-scheme/chibi-scheme/chibi-scheme-0.6.1.ebuild
17 deleted file mode 100644
18 index 66eb03dd..00000000
19 --- a/dev-scheme/chibi-scheme/chibi-scheme-0.6.1.ebuild
20 +++ /dev/null
21 @@ -1,64 +0,0 @@
22 -# Copyright 1999-2014 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Header: $
25 -
26 -EAPI=5
27 -
28 -DESCRIPTION="A very tiny Scheme implementation with decent speed and native hygienic macros."
29 -SRC_URI="http://synthcode.com/scheme/${P}.tgz"
30 -HOMEPAGE="http://synthcode.com/scheme/"
31 -
32 -LICENSE="BSD"
33 -SLOT="0"
34 -KEYWORDS="~amd64 ~x86"
35 -IUSE="boehm-gc"
36 -
37 -DEPEND="boehm-gc? ( dev-libs/boehm-gc )"
38 -RDEPEND="${DEPEND}"
39 -
40 -export EXTRA_EMAKE+="PREFIX=/usr $(use boehm-gc && echo SEXP_USE_BOEHM=1)"
41 -
42 -src_prepare() {
43 - # Upstream uses a D variable in its Makefile which conflicts with
44 - # the variable predifined by ebuild D="${PORTAGE_BUILDDIR}/image"
45 - sed 's,\([^[:alpha:]]\)D\([^[:alpha:]]\),\1chibiD\2,' -i Makefile \
46 - || die "sed Makefile failed"
47 -
48 - # Upstream calls ldconfig in the install target, which goes outside
49 - # of the ebuild Sandbox. We'll call ldconfig ourselves after merging
50 - # the package.
51 - sed '/ldconfig/d' -i Makefile \
52 - || die "sed Makefile failed"
53 -
54 - # Incorporate local system's LDFLAGS into the chibi-scheme executable
55 - sed 's/$(CC) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< -L. -lchibi-scheme/& $(LDFLAGS)/' -i Makefile \
56 - || die "sed Makefile failed"
57 -
58 - # Incorporate local system's LDFLAGS into the chibi-scheme executable
59 - sed 's/$(CC) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< -L. -lchibi-scheme/& $(LDFLAGS)/' -i Makefile \
60 - || die "sed Makefile failed"
61 -
62 - # Set SONAME in libchibi-scheme.so
63 - sed '/^libchibi-scheme/{ n; s/$(CC) $(CLIBFLAGS) -o $@ $^ $(XLDFLAGS)/& -Wl,-soname,libchibi-scheme.so/}' -i Makefile \
64 - || die "sed Makefile failed"
65 -
66 - # Incorporate local system's LDFLAGS into Chibi's compiled modules
67 - sed 's/$(CC) $(CLIBFLAGS) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< -L. $(XLIBS) -lchibi-scheme/& $(LDFLAGS)/' -i Makefile.libs \
68 - || die "sed Makefile.libs failed"
69 -
70 -}
71 -
72 -# When the number of jobs > 1, the Makefile lets things get ahead of themselves
73 -# and sometimes later targets will fail because libchibi-scheme.so doesn't yet
74 -# exist.
75 -src_compile() {
76 - emake -j1
77 -}
78 -
79 -src_test() {
80 - LD_LIBRARY_PATH="${S}" emake test
81 -}
82 -
83 -src_install() {
84 - emake DESTDIR="${D}" ${EXTRA_EMAKE} install
85 -}
86
87 diff --git a/dev-scheme/chibi-scheme/chibi-scheme-0.7.ebuild b/dev-scheme/chibi-scheme/chibi-scheme-0.7.ebuild
88 deleted file mode 100644
89 index fac42909..00000000
90 --- a/dev-scheme/chibi-scheme/chibi-scheme-0.7.ebuild
91 +++ /dev/null
92 @@ -1,68 +0,0 @@
93 -# Copyright 1999-2014 Gentoo Foundation
94 -# Distributed under the terms of the GNU General Public License v2
95 -# $Header: $
96 -
97 -EAPI=5
98 -
99 -DESCRIPTION="A very tiny Scheme implementation with decent speed and native hygienic macros."
100 -SRC_URI="http://abrek.synthcode.com/${P}.tgz"
101 -HOMEPAGE="http://synthcode.com/scheme/"
102 -
103 -LICENSE="BSD"
104 -SLOT="0"
105 -KEYWORDS="~amd64 ~x86"
106 -IUSE="boehm-gc"
107 -
108 -DEPEND="boehm-gc? ( dev-libs/boehm-gc )"
109 -RDEPEND="${DEPEND}"
110 -
111 -export EXTRA_EMAKE+="PREFIX=/usr $(use boehm-gc && echo SEXP_USE_BOEHM=1)"
112 -
113 -src_prepare() {
114 - # Upstream uses a D variable in its Makefile which conflicts with
115 - # the variable predifined by ebuild D="${PORTAGE_BUILDDIR}/image"
116 - sed 's,\([^[:alpha:]]\)D\([^[:alpha:]]\),\1chibiD\2,' -i Makefile \
117 - || die "sed Makefile failed"
118 -
119 - # Upstream calls ldconfig in the install target, which goes outside
120 - # of the ebuild Sandbox. We'll call ldconfig ourselves after merging
121 - # the package.
122 - sed '/ldconfig/d' -i Makefile \
123 - || die "sed Makefile failed"
124 -
125 - # Incorporate local system's LDFLAGS into the chibi-scheme executable
126 - sed 's/$(CC) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< -L. -lchibi-scheme/& $(LDFLAGS)/' -i Makefile \
127 - || die "sed Makefile failed"
128 -
129 - # Incorporate local system's LDFLAGS into the chibi-scheme executable
130 - sed 's/$(CC) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< -L. -lchibi-scheme/& $(LDFLAGS)/' -i Makefile \
131 - || die "sed Makefile failed"
132 -
133 - # Set SONAME in libchibi-scheme.so
134 - sed '/^libchibi-scheme/{ n; s/$(CC) $(CLIBFLAGS) -o $@ $^ $(XLDFLAGS)/& -Wl,-soname,libchibi-scheme.so/}' -i Makefile \
135 - || die "sed Makefile failed"
136 -
137 - # Incorporate local system's LDFLAGS into Chibi's compiled modules
138 - sed 's/$(CC) $(CLIBFLAGS) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< -L. $(XLIBS) -lchibi-scheme/& $(LDFLAGS)/' -i Makefile.libs \
139 - || die "sed Makefile.libs failed"
140 -
141 - # Force soname symlinks to be relative to installation directory
142 - sed 's/$(LN) -s -f /$(LN) -s -f -r /' -i Makefile \
143 - || die "sed Makefile failed"
144 -
145 -}
146 -
147 -# When the number of jobs > 1, the Makefile lets things get ahead of themselves
148 -# and sometimes later targets will fail because libchibi-scheme.so doesn't yet
149 -# exist.
150 -src_compile() {
151 - emake -j1
152 -}
153 -
154 -src_test() {
155 - LD_LIBRARY_PATH="${S}" emake test
156 -}
157 -
158 -src_install() {
159 - emake DESTDIR="${D}" ${EXTRA_EMAKE} install
160 -}