Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/plan9port/
Date: Mon, 28 Nov 2016 01:51:44
Message-Id: 1480297865.8756b0d7c8538738162f345d4968f03930422085.blueness@gentoo
1 commit: 8756b0d7c8538738162f345d4968f03930422085
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 28 01:50:47 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 28 01:51:05 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8756b0d7
7
8 dev-util/plan9port: remove older versions
9
10 Package-Manager: portage-2.3.0
11
12 dev-util/plan9port/Manifest | 1 -
13 dev-util/plan9port/plan9port-20140306-r1.ebuild | 95 -------------------
14 dev-util/plan9port/plan9port-20140306-r2.ebuild | 118 ------------------------
15 dev-util/plan9port/plan9port-20140306.ebuild | 81 ----------------
16 4 files changed, 295 deletions(-)
17
18 diff --git a/dev-util/plan9port/Manifest b/dev-util/plan9port/Manifest
19 index 95648e5..79ae603 100644
20 --- a/dev-util/plan9port/Manifest
21 +++ b/dev-util/plan9port/Manifest
22 @@ -1,2 +1 @@
23 -DIST plan9port-20140306.tgz 54512505 SHA256 cbb826cde693abdaa2051c49e7ebf75119bf2a4791fe3b3229f1ac36a408eaeb SHA512 a0671163940186fd3d8cf37f06824f0d5a4b9734c1e70eb3174cd7f6b9a1ae769cf78e067dcf4e963192a26a2420b4bb1ce79ed788314ed1783c3bd793fe2aef WHIRLPOOL c19977ef310ac34efcb294e9f7f73f6095e9db0ab52ef359956a05e5a5252a0f9d03f88dd29d21d01bfc82d2e0bdd8ac77bc6a8bb80ef81ce3c773b2dfee0677
24 DIST plan9port-e78ed7a67bbaa37dc57dfb37219f505c48755e14.tar.gz 23442851 SHA256 29628d315c3f26f73157076717684f8ee642083f2213e78c739c79fdf703e458 SHA512 3cb126eb0f8c58c76c4da5aaca6b3956b9cc30b1955c1b9db4727a01a46cae696f01b538a47f6f009e955f6ed8f308b60b6519d4184e10b255636ea32a1e9099 WHIRLPOOL 3ac4474ae9df9fcc032e24ef065a1a9ccd20f3a8fa416ee9d0ec51faad9c883581500c5827ec2a3b2c56bd1779e5a59fc07a84dcd78ce8acbf5f48450635106c
25
26 diff --git a/dev-util/plan9port/plan9port-20140306-r1.ebuild b/dev-util/plan9port/plan9port-20140306-r1.ebuild
27 deleted file mode 100644
28 index d53a617..00000000
29 --- a/dev-util/plan9port/plan9port-20140306-r1.ebuild
30 +++ /dev/null
31 @@ -1,95 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI="5"
37 -
38 -inherit eutils multiprocessing
39 -
40 -DESCRIPTION="Port of many Plan 9 programs and libraries"
41 -HOMEPAGE="http://swtch.com/plan9port/"
42 -SRC_URI="https://${PN}.googlecode.com/files/${P}.tgz"
43 -
44 -LICENSE="9base BSD-4 MIT LGPL-2.1 BigelowHolmes"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="X"
48 -
49 -DEPEND="X? ( x11-apps/xauth )"
50 -RDEPEND="${DEPEND}"
51 -
52 -S="${WORKDIR}/${PN}"
53 -
54 -PLAN9=/usr/lib/plan9
55 -EPLAN9="${EPREFIX}"${PLAN9}
56 -QA_MULTILIB_PATHS="${PLAN9}/.*/.*"
57 -
58 -src_prepare() {
59 - epatch "${FILESDIR}/${PN}-"{noexecstack,cflags,builderr}".patch"
60 -
61 - # don't hardcode /bin and /usr/bin in PATH
62 - sed -i '/PATH/s,/bin:/usr/bin:,,' INSTALL || die "sed on INSTALL failed"
63 -
64 - # don't hardcode /usr/{,local/}include and prefix /usr/include/*
65 - for f in src/cmd/fontsrv/freetyperules.sh INSTALL \
66 - $(find -name makefile); do
67 - sed -r -i -e 's,-I/usr(|/local)/include ,,g' \
68 - -e "s,-I/usr(|/local)/include,-I${EPREFIX}/usr\1/include,g" ${f} \
69 - || die "sed on ${f} failed"
70 - done
71 -
72 - # Fix paths, done in place of ./INSTALL -c
73 - einfo "Fixing hard-coded /usr/local/plan9 paths"
74 - grep --null -l -r '/usr/local/plan9' |
75 - xargs --null sed -i "s,/usr/local/plan9,${EPLAN9},g"
76 -}
77 -
78 -src_configure() {
79 - if use X; then
80 - echo "X11=${EPREFIX}/usr" >> LOCAL.config
81 - else
82 - echo "WSYSTYPE=nowsys" >> LOCAL.config
83 - fi
84 -}
85 -
86 -src_compile() {
87 - export NPROC=$(makeopts_jobs)
88 -
89 - # The INSTALL script builds mk then [re]builds everything using that
90 - einfo "Compiling Plan 9 from User Space can take a very long time"
91 - einfo "depending on the speed of your computer. Please be patient!"
92 - ./INSTALL -b || die "Please report bugs to bugs.gentoo.org, NOT Plan9Port."
93 -}
94 -
95 -src_install() {
96 - dodir "${PLAN9}"
97 -
98 - # P9P's man does not handle compression
99 - docompress -x $PLAN9/man
100 -
101 - # do* plays with the executable bit, and we should not modify them
102 - cp -a * "${ED}/${PLAN9}"
103 -
104 - # build the environment variables and install them in env.d
105 - cat > "${T}/30plan9" <<-EOF
106 - PLAN9="${EPLAN9}"
107 - PATH="${EPLAN9}/bin"
108 - ROOTPATH="${EPLAN9}/bin"
109 - MANPATH="${EPLAN9}/man"
110 - EOF
111 - doenvd "${T}/30plan9"
112 -}
113 -
114 -pkg_postinst() {
115 - elog "Plan 9 from User Space has been successfully installed into"
116 - elog "${PLAN9}. Your PLAN9 and PATH environment variables have"
117 - elog "also been appropriately set, please use env-update and"
118 - elog "source /etc/profile to bring that into immediate effect."
119 - elog
120 - elog "Please note that ${PLAN9}/bin has been appended to the"
121 - elog "*end* or your PATH to prevent conflicts. To use the Plan9"
122 - elog "versions of common UNIX tools, use the absolute path:"
123 - elog "${PLAN9}/bin or the 9 command (eg: 9 troff)"
124 - elog
125 - elog "Please report any bugs to bugs.gentoo.org, NOT Plan9Port."
126 -}
127
128 diff --git a/dev-util/plan9port/plan9port-20140306-r2.ebuild b/dev-util/plan9port/plan9port-20140306-r2.ebuild
129 deleted file mode 100644
130 index 05fdf5f..00000000
131 --- a/dev-util/plan9port/plan9port-20140306-r2.ebuild
132 +++ /dev/null
133 @@ -1,118 +0,0 @@
134 -# Copyright 1999-2015 Gentoo Foundation
135 -# Distributed under the terms of the GNU General Public License v2
136 -# $Id$
137 -
138 -EAPI="5"
139 -
140 -inherit eutils multiprocessing toolchain-funcs
141 -
142 -DESCRIPTION="Port of many Plan 9 programs and libraries"
143 -HOMEPAGE="http://swtch.com/plan9port/"
144 -SRC_URI="https://${PN}.googlecode.com/files/${P}.tgz"
145 -
146 -LICENSE="9base BSD-4 MIT LGPL-2.1 BigelowHolmes"
147 -SLOT="0"
148 -KEYWORDS="~amd64 ~x86"
149 -IUSE="X aqua truetype"
150 -REQUIRED_USE="?? ( X aqua )"
151 -
152 -DEPEND="X? ( x11-apps/xauth )
153 - truetype? ( media-libs/freetype
154 - media-libs/fontconfig )"
155 -RDEPEND="${DEPEND}"
156 -
157 -S="${WORKDIR}/${PN}"
158 -
159 -PLAN9=/usr/lib/plan9
160 -EPLAN9="${EPREFIX}"${PLAN9}
161 -QA_MULTILIB_PATHS="${PLAN9}/.*/.*"
162 -
163 -src_prepare() {
164 - epatch "${FILESDIR}/${PN}-"{noexecstack,cflags,builderr}".patch"
165 - case ${CHOST} in
166 - *freebsd10.*) # patch 9l to use -pthread also on FreeBSD-10
167 - epatch "${FILESDIR}/${PN}-freebsd-10.patch" ;;
168 - *apple*)
169 - sed -i 's/--noexecstack/-noexecstack/' src/mkhdr ||
170 - die "Failed to sed AFLAGS" ;;
171 - esac
172 -
173 - # don't hardcode /bin and /usr/bin in PATH
174 - sed -i '/PATH/s,/bin:/usr/bin:,,' INSTALL || die "sed on INSTALL failed"
175 -
176 - # don't hardcode /usr/{,local/}include and prefix /usr/include/*
177 - for f in src/cmd/fontsrv/freetyperules.sh INSTALL \
178 - $(find -name makefile); do
179 - sed -r -i -e 's,-I/usr(|/local)/include ,,g' \
180 - -e "s,-I/usr(|/local)/include,-I${EPREFIX}/usr\1/include,g" ${f} \
181 - || die "sed on ${f} failed"
182 - done
183 -
184 - # Fix paths, done in place of ./INSTALL -c
185 - einfo "Fixing hard-coded /usr/local/plan9 paths"
186 - grep --null -l -r '/usr/local/plan9' |
187 - xargs --null sed -i "s,/usr/local/plan9,${EPLAN9},g"
188 -}
189 -
190 -src_configure() {
191 - local myconf=()
192 - if use X; then
193 - myconf+=("X11=${EPREFIX}/usr" WSYSTYPE=x11)
194 - elif use aqua; then
195 - local wsystype=$(echo ${MACOSX_DEPLOYMENT_TARGET} |
196 - awk '{if ($1 > 10.5) print "osx-cocoa"; else print "osx"}')
197 - myconf+=("WSYSTYPE=${wsystype}")
198 - else
199 - myconf+=(WSYSTYPE=nowsys)
200 - fi
201 -
202 - if use truetype; then
203 - myconf+=(FONTSRV=fontsrv)
204 - else
205 - myconf+=(FONTSRV=)
206 - fi
207 - printf '%s\n' "${myconf[@]}" >> LOCAL.config
208 -}
209 -
210 -src_compile() {
211 - export NPROC=$(makeopts_jobs)
212 - export CC9=$(tc-getCC)
213 -
214 - # The INSTALL script builds mk then [re]builds everything using that
215 - einfo "Compiling Plan 9 from User Space can take a very long time"
216 - einfo "depending on the speed of your computer. Please be patient!"
217 - ./INSTALL -b || die "Please report bugs to bugs.gentoo.org, NOT Plan9Port."
218 -}
219 -
220 -src_install() {
221 - dodir "${PLAN9}"
222 -
223 - # P9P's man does not handle compression
224 - docompress -x $PLAN9/man
225 -
226 - # do* plays with the executable bit, and we should not modify them
227 - cp -a * "${ED}/${PLAN9}"
228 -
229 - # build the environment variables and install them in env.d
230 - cat > "${T}/30plan9" <<-EOF
231 - PLAN9="${EPLAN9}"
232 - PATH="${EPLAN9}/bin"
233 - ROOTPATH="${EPLAN9}/bin"
234 - MANPATH="${EPLAN9}/man"
235 - EOF
236 - doenvd "${T}/30plan9"
237 -}
238 -
239 -pkg_postinst() {
240 - elog "Plan 9 from User Space has been successfully installed into"
241 - elog "${PLAN9}. Your PLAN9 and PATH environment variables have"
242 - elog "also been appropriately set, please use env-update and"
243 - elog "source /etc/profile to bring that into immediate effect."
244 - elog
245 - elog "Please note that ${PLAN9}/bin has been appended to the"
246 - elog "*end* or your PATH to prevent conflicts. To use the Plan9"
247 - elog "versions of common UNIX tools, use the absolute path:"
248 - elog "${PLAN9}/bin or the 9 command (eg: 9 troff)"
249 - elog
250 - elog "Please report any bugs to bugs.gentoo.org, NOT Plan9Port."
251 -}
252
253 diff --git a/dev-util/plan9port/plan9port-20140306.ebuild b/dev-util/plan9port/plan9port-20140306.ebuild
254 deleted file mode 100644
255 index 225c9b6..00000000
256 --- a/dev-util/plan9port/plan9port-20140306.ebuild
257 +++ /dev/null
258 @@ -1,81 +0,0 @@
259 -# Copyright 1999-2015 Gentoo Foundation
260 -# Distributed under the terms of the GNU General Public License v2
261 -# $Id$
262 -
263 -EAPI="5"
264 -
265 -inherit eutils multiprocessing
266 -
267 -DESCRIPTION="Port of many Plan 9 programs and libraries"
268 -HOMEPAGE="http://swtch.com/plan9port/"
269 -SRC_URI="https://${PN}.googlecode.com/files/${P}.tgz"
270 -
271 -LICENSE="9base BSD-4 MIT LGPL-2.1 BigelowHolmes"
272 -SLOT="0"
273 -KEYWORDS="~amd64 ~x86"
274 -IUSE="X"
275 -
276 -DEPEND="X? ( x11-apps/xauth )"
277 -RDEPEND="${DEPEND}"
278 -
279 -S="${WORKDIR}/${PN}"
280 -
281 -PLAN9=/usr/lib/plan9
282 -QA_MULTILIB_PATHS="${PLAN9}/.*/.*"
283 -
284 -src_prepare() {
285 - epatch "${FILESDIR}/${PN}-"{noexecstack,cflags,builderr}".patch"
286 -
287 - # Fix paths, done in place of ./INSTALL -c
288 - einfo "Fixing hard-coded /usr/local/plan9 paths"
289 - grep --null -l -r '/usr/local/plan9' |
290 - xargs --null sed -i "s!/usr/local/plan9!${PLAN9}!g"
291 -}
292 -
293 -src_configure() {
294 - if ! use X; then
295 - echo "WSYSTYPE=nowsys" >> LOCAL.config
296 - fi
297 -}
298 -
299 -src_compile() {
300 - export NPROC=$(makeopts_jobs)
301 -
302 - # The INSTALL script builds mk then [re]builds everything using that
303 - einfo "Compiling Plan 9 from User Space can take a very long time"
304 - einfo "depending on the speed of your computer. Please be patient!"
305 - ./INSTALL -b || die "Please report bugs to bugs.gentoo.org, NOT Plan9Port."
306 -}
307 -
308 -src_install() {
309 - dodir "${PLAN9}"
310 -
311 - # P9P's man does not handle compression
312 - docompress -x $PLAN9/man
313 -
314 - # do* plays with the executable bit, and we should not modify them
315 - cp -a * "${D}/${PLAN9}"
316 -
317 - # build the environment variables and install them in env.d
318 - cat > "${T}/30plan9" <<-EOF
319 - PLAN9="${PLAN9}"
320 - PATH="${PLAN9}/bin"
321 - ROOTPATH="${PLAN9}/bin"
322 - MANPATH="${PLAN9}/man"
323 - EOF
324 - doenvd "${T}/30plan9"
325 -}
326 -
327 -pkg_postinst() {
328 - elog "Plan 9 from User Space has been successfully installed into"
329 - elog "${PLAN9}. Your PLAN9 and PATH environment variables have"
330 - elog "also been appropriately set, please use env-update and"
331 - elog "source /etc/profile to bring that into immediate effect."
332 - elog
333 - elog "Please note that ${PLAN9}/bin has been appended to the"
334 - elog "*end* or your PATH to prevent conflicts. To use the Plan9"
335 - elog "versions of common UNIX tools, use the absolute path:"
336 - elog "${PLAN9}/bin or the 9 command (eg: 9 troff)"
337 - elog
338 - elog "Please report any bugs to bugs.gentoo.org, NOT Plan9Port."
339 -}