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: Wed, 02 Dec 2015 07:02:40
Message-Id: 1449040187.a5a8c87fcbe7f0a48ac4f029e987ce44b31467f0.blueness@gentoo
1 commit: a5a8c87fcbe7f0a48ac4f029e987ce44b31467f0
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 2 07:09:19 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 2 07:09:47 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a8c87f
7
8 dev-util/plan9port: remove older unstable version.
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-util/plan9port/Manifest | 2 -
13 dev-util/plan9port/plan9port-20130320.ebuild | 75 --------------------------
14 dev-util/plan9port/plan9port-20140304.ebuild | 81 ----------------------------
15 dev-util/plan9port/plan9port-20140306.ebuild | 4 +-
16 4 files changed, 2 insertions(+), 160 deletions(-)
17
18 diff --git a/dev-util/plan9port/Manifest b/dev-util/plan9port/Manifest
19 index 94a1c25..0b191f5 100644
20 --- a/dev-util/plan9port/Manifest
21 +++ b/dev-util/plan9port/Manifest
22 @@ -1,3 +1 @@
23 -DIST plan9port-20130320.tgz 54184719 SHA256 d08fd032edc9c27bc549ee9076963812f210476d0d1f21f5300e9d867699ff55 SHA512 fae40eae76a0f3121f47a3895809f2433beed91fc9e879c8cde25e493ec91dfdfc89fe59e3fe3a8aab7c33a2537a02b30857edb3af7f202df4a98e02cee8ecb7 WHIRLPOOL 5b707c8d18c8f1fa8e3d36e8f14a20213cad9ab3344f088f18942034dce3356ba88675c5817a7d50b66275d71d95e6d5fd3fdefbd18bcca9089790e258dbb60f
24 -DIST plan9port-20140304.tgz 54512040 SHA256 926f6531603ce5112108cdeec1fa808103c92045ba374b986672f28a40004817 SHA512 3727cb8d135005b0b4af1621c14a341904fdcaacd45df4e8c60c2998d372f57a7444ab296d35bc60dbc49b47e5f075e2c5d6a96f513395225eb996833ee87c83 WHIRLPOOL d2b76ea9be4e365a63bab2b24bfc3d5a6fdc402f44529ca8774c6f7c346de94b635c235d38707fee4c2fa7c6f522ad971036836f8bdb71890e61a4988cf2073f
25 DIST plan9port-20140306.tgz 54512505 SHA256 cbb826cde693abdaa2051c49e7ebf75119bf2a4791fe3b3229f1ac36a408eaeb SHA512 a0671163940186fd3d8cf37f06824f0d5a4b9734c1e70eb3174cd7f6b9a1ae769cf78e067dcf4e963192a26a2420b4bb1ce79ed788314ed1783c3bd793fe2aef WHIRLPOOL c19977ef310ac34efcb294e9f7f73f6095e9db0ab52ef359956a05e5a5252a0f9d03f88dd29d21d01bfc82d2e0bdd8ac77bc6a8bb80ef81ce3c773b2dfee0677
26
27 diff --git a/dev-util/plan9port/plan9port-20130320.ebuild b/dev-util/plan9port/plan9port-20130320.ebuild
28 deleted file mode 100644
29 index 5a5f146..0000000
30 --- a/dev-util/plan9port/plan9port-20130320.ebuild
31 +++ /dev/null
32 @@ -1,75 +0,0 @@
33 -# Copyright 1999-2014 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI="4"
38 -
39 -inherit eutils multiprocessing
40 -
41 -DESCRIPTION="Port of many Plan 9 programs and libraries"
42 -HOMEPAGE="http://swtch.com/plan9port/"
43 -SRC_URI="https://${PN}.googlecode.com/files/${P}.tgz"
44 -
45 -LICENSE="9base BSD-4 MIT LGPL-2.1 BigelowHolmes"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE=""
49 -
50 -DEPEND="x11-apps/xauth"
51 -RDEPEND="${DEPEND}"
52 -
53 -S="${WORKDIR}/${PN}"
54 -
55 -PLAN9=/usr/lib/plan9
56 -QA_MULTILIB_PATHS="${PLAN9}/.*/.*"
57 -
58 -src_prepare() {
59 - epatch "${FILESDIR}/${PN}-"{9660srv-errno,noexecstack,cflags}".patch"
60 -
61 - # Fix paths, done in place of ./INSTALL -c
62 - einfo "Fixing hard-coded /usr/local/plan9 paths"
63 - grep --null -l -r '/usr/local/plan9' |
64 - xargs --null sed -i "s!/usr/local/plan9!${PLAN9}!g"
65 -}
66 -
67 -src_compile() {
68 - export NPROC=$(makeopts_jobs)
69 -
70 - # The INSTALL script builds mk then [re]builds everything using that
71 - einfo "Compiling Plan 9 from User Space can take a very long time"
72 - einfo "depending on the speed of your computer. Please be patient!"
73 - ./INSTALL -b
74 -}
75 -
76 -src_install() {
77 - dodir "${PLAN9}"
78 -
79 - # P9P's man does not handle compression
80 - docompress -x $PLAN9/man
81 -
82 - # do* plays with the executable bit, and we should not modify them
83 - cp -a * "${D}/${PLAN9}"
84 -
85 - # build the environment variables and install them in env.d
86 - cat > "${T}/30plan9" <<-EOF
87 - PLAN9="${PLAN9}"
88 - PATH="${PLAN9}/bin"
89 - ROOTPATH="${PLAN9}/bin"
90 - MANPATH="${PLAN9}/man"
91 - EOF
92 - doenvd "${T}/30plan9"
93 -}
94 -
95 -pkg_postinst() {
96 - elog "Plan 9 from User Space has been successfully installed into"
97 - elog "${PLAN9}. Your PLAN9 and PATH environment variables have"
98 - elog "also been appropriately set, please use env-update and"
99 - elog "source /etc/profile to bring that into immediate effect."
100 - elog
101 - elog "Please note that ${PLAN9}/bin has been appended to the"
102 - elog "*end* or your PATH to prevent conflicts. To use the Plan9"
103 - elog "versions of common UNIX tools, use the absolute path:"
104 - elog "${PLAN9}/bin or the 9 command (eg: 9 troff)"
105 - elog
106 - elog "Please report any bugs to bugs.gentoo.org, NOT Plan9Port."
107 -}
108
109 diff --git a/dev-util/plan9port/plan9port-20140304.ebuild b/dev-util/plan9port/plan9port-20140304.ebuild
110 deleted file mode 100644
111 index 5b3ebeb..0000000
112 --- a/dev-util/plan9port/plan9port-20140304.ebuild
113 +++ /dev/null
114 @@ -1,81 +0,0 @@
115 -# Copyright 1999-2014 Gentoo Foundation
116 -# Distributed under the terms of the GNU General Public License v2
117 -# $Id$
118 -
119 -EAPI="4"
120 -
121 -inherit eutils multiprocessing
122 -
123 -DESCRIPTION="Port of many Plan 9 programs and libraries"
124 -HOMEPAGE="http://swtch.com/plan9port/"
125 -SRC_URI="https://${PN}.googlecode.com/files/${P}.tgz"
126 -
127 -LICENSE="9base BSD-4 MIT LGPL-2.1 BigelowHolmes"
128 -SLOT="0"
129 -KEYWORDS="~amd64 ~x86"
130 -IUSE="X"
131 -
132 -DEPEND="X? ( x11-apps/xauth )"
133 -RDEPEND="${DEPEND}"
134 -
135 -S="${WORKDIR}/${PN}"
136 -
137 -PLAN9=/usr/lib/plan9
138 -QA_MULTILIB_PATHS="${PLAN9}/.*/.*"
139 -
140 -src_prepare() {
141 - epatch "${FILESDIR}/${PN}-"{noexecstack,cflags,builderr}".patch"
142 -
143 - # Fix paths, done in place of ./INSTALL -c
144 - einfo "Fixing hard-coded /usr/local/plan9 paths"
145 - grep --null -l -r '/usr/local/plan9' |
146 - xargs --null sed -i "s!/usr/local/plan9!${PLAN9}!g"
147 -}
148 -
149 -src_configure() {
150 - if ! use X; then
151 - echo "WSYSTYPE=nowsys" >> LOCAL.config
152 - fi
153 -}
154 -
155 -src_compile() {
156 - export NPROC=$(makeopts_jobs)
157 -
158 - # The INSTALL script builds mk then [re]builds everything using that
159 - einfo "Compiling Plan 9 from User Space can take a very long time"
160 - einfo "depending on the speed of your computer. Please be patient!"
161 - ./INSTALL -b || die "Please report bugs to bugs.gentoo.org, NOT Plan9Port."
162 -}
163 -
164 -src_install() {
165 - dodir "${PLAN9}"
166 -
167 - # P9P's man does not handle compression
168 - docompress -x $PLAN9/man
169 -
170 - # do* plays with the executable bit, and we should not modify them
171 - cp -a * "${D}/${PLAN9}"
172 -
173 - # build the environment variables and install them in env.d
174 - cat > "${T}/30plan9" <<-EOF
175 - PLAN9="${PLAN9}"
176 - PATH="${PLAN9}/bin"
177 - ROOTPATH="${PLAN9}/bin"
178 - MANPATH="${PLAN9}/man"
179 - EOF
180 - doenvd "${T}/30plan9"
181 -}
182 -
183 -pkg_postinst() {
184 - elog "Plan 9 from User Space has been successfully installed into"
185 - elog "${PLAN9}. Your PLAN9 and PATH environment variables have"
186 - elog "also been appropriately set, please use env-update and"
187 - elog "source /etc/profile to bring that into immediate effect."
188 - elog
189 - elog "Please note that ${PLAN9}/bin has been appended to the"
190 - elog "*end* or your PATH to prevent conflicts. To use the Plan9"
191 - elog "versions of common UNIX tools, use the absolute path:"
192 - elog "${PLAN9}/bin or the 9 command (eg: 9 troff)"
193 - elog
194 - elog "Please report any bugs to bugs.gentoo.org, NOT Plan9Port."
195 -}
196
197 diff --git a/dev-util/plan9port/plan9port-20140306.ebuild b/dev-util/plan9port/plan9port-20140306.ebuild
198 index 5b3ebeb..225c9b6 100644
199 --- a/dev-util/plan9port/plan9port-20140306.ebuild
200 +++ b/dev-util/plan9port/plan9port-20140306.ebuild
201 @@ -1,8 +1,8 @@
202 -# Copyright 1999-2014 Gentoo Foundation
203 +# Copyright 1999-2015 Gentoo Foundation
204 # Distributed under the terms of the GNU General Public License v2
205 # $Id$
206
207 -EAPI="4"
208 +EAPI="5"
209
210 inherit eutils multiprocessing