1 |
commit: daff5816d12a0ac3158d81686abf0998bad1bcdb |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 24 10:02:14 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 24 10:02:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daff5816 |
7 |
|
8 |
net-irc/irssi: finally remove Perl unconditional build dependency. |
9 |
|
10 |
GENTOO_DEPEND_ON_PERL="no" is now set just before the inherit phase to |
11 |
allow irssi to be built without linking to Perl unconditionally. |
12 |
|
13 |
Also swapped the eutils eclass inherit in favour of ltprune. |
14 |
|
15 |
Courtesy of Brian Evans <grknight <AT> gentoo.org>. |
16 |
|
17 |
Closes: https://bugs.gentoo.org/664386 |
18 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
19 |
|
20 |
.../{irssi-9999.ebuild => irssi-1.0.7-r1.ebuild} | 39 +++++++++------------- |
21 |
.../{irssi-9999.ebuild => irssi-1.1.1-r1.ebuild} | 39 +++++++++------------- |
22 |
net-irc/irssi/irssi-9999.ebuild | 4 ++- |
23 |
3 files changed, 35 insertions(+), 47 deletions(-) |
24 |
|
25 |
diff --git a/net-irc/irssi/irssi-9999.ebuild b/net-irc/irssi/irssi-1.0.7-r1.ebuild |
26 |
similarity index 57% |
27 |
copy from net-irc/irssi/irssi-9999.ebuild |
28 |
copy to net-irc/irssi/irssi-1.0.7-r1.ebuild |
29 |
index 7c30d8608ca..5dfd52eed6e 100644 |
30 |
--- a/net-irc/irssi/irssi-9999.ebuild |
31 |
+++ b/net-irc/irssi/irssi-1.0.7-r1.ebuild |
32 |
@@ -1,20 +1,26 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
# Distributed under the terms of the GNU General Public License v2 |
36 |
|
37 |
-EAPI="6" |
38 |
+EAPI=6 |
39 |
|
40 |
-inherit autotools perl-module git-r3 |
41 |
+GENTOO_DEPEND_ON_PERL="no" |
42 |
|
43 |
-EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" |
44 |
+inherit ltprune perl-module |
45 |
+ |
46 |
+# Keep for _rc compability |
47 |
+MY_P="${P/_/-}" |
48 |
|
49 |
DESCRIPTION="A modular textUI IRC client with IPv6 support" |
50 |
HOMEPAGE="https://irssi.org/" |
51 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz" |
52 |
+ |
53 |
LICENSE="GPL-2" |
54 |
SLOT="0" |
55 |
-KEYWORDS="" |
56 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
57 |
IUSE="+perl selinux socks5 +proxy libressl" |
58 |
|
59 |
-CDEPEND="sys-libs/ncurses:0= |
60 |
+CDEPEND=" |
61 |
+ sys-libs/ncurses:0= |
62 |
>=dev-libs/glib-2.6.0 |
63 |
!libressl? ( dev-libs/openssl:= ) |
64 |
libressl? ( dev-libs/libressl:= ) |
65 |
@@ -23,25 +29,16 @@ CDEPEND="sys-libs/ncurses:0= |
66 |
|
67 |
DEPEND=" |
68 |
${CDEPEND} |
69 |
- virtual/pkgconfig |
70 |
- dev-lang/perl |
71 |
- || ( |
72 |
- www-client/lynx |
73 |
- www-client/elinks |
74 |
- )" |
75 |
+ virtual/pkgconfig" |
76 |
|
77 |
RDEPEND=" |
78 |
${CDEPEND} |
79 |
selinux? ( sec-policy/selinux-irc ) |
80 |
perl? ( !net-im/silc-client )" |
81 |
|
82 |
-src_prepare() { |
83 |
- sed -i -e /^autoreconf/d autogen.sh || die |
84 |
- NOCONFIGURE=1 ./autogen.sh || die |
85 |
+RESTRICT="test" |
86 |
|
87 |
- eapply_user |
88 |
- eautoreconf |
89 |
-} |
90 |
+S="${WORKDIR}/${MY_P}" |
91 |
|
92 |
src_configure() { |
93 |
econf \ |
94 |
@@ -53,11 +50,7 @@ src_configure() { |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
- emake DESTDIR="${D}" install |
99 |
- |
100 |
+ default |
101 |
use perl && perl_delete_localpod |
102 |
- |
103 |
prune_libtool_files --modules |
104 |
- |
105 |
- dodoc AUTHORS ChangeLog README.md TODO NEWS |
106 |
} |
107 |
|
108 |
diff --git a/net-irc/irssi/irssi-9999.ebuild b/net-irc/irssi/irssi-1.1.1-r1.ebuild |
109 |
similarity index 57% |
110 |
copy from net-irc/irssi/irssi-9999.ebuild |
111 |
copy to net-irc/irssi/irssi-1.1.1-r1.ebuild |
112 |
index 7c30d8608ca..5dfd52eed6e 100644 |
113 |
--- a/net-irc/irssi/irssi-9999.ebuild |
114 |
+++ b/net-irc/irssi/irssi-1.1.1-r1.ebuild |
115 |
@@ -1,20 +1,26 @@ |
116 |
-# Copyright 1999-2017 Gentoo Foundation |
117 |
+# Copyright 1999-2018 Gentoo Foundation |
118 |
# Distributed under the terms of the GNU General Public License v2 |
119 |
|
120 |
-EAPI="6" |
121 |
+EAPI=6 |
122 |
|
123 |
-inherit autotools perl-module git-r3 |
124 |
+GENTOO_DEPEND_ON_PERL="no" |
125 |
|
126 |
-EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" |
127 |
+inherit ltprune perl-module |
128 |
+ |
129 |
+# Keep for _rc compability |
130 |
+MY_P="${P/_/-}" |
131 |
|
132 |
DESCRIPTION="A modular textUI IRC client with IPv6 support" |
133 |
HOMEPAGE="https://irssi.org/" |
134 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz" |
135 |
+ |
136 |
LICENSE="GPL-2" |
137 |
SLOT="0" |
138 |
-KEYWORDS="" |
139 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
140 |
IUSE="+perl selinux socks5 +proxy libressl" |
141 |
|
142 |
-CDEPEND="sys-libs/ncurses:0= |
143 |
+CDEPEND=" |
144 |
+ sys-libs/ncurses:0= |
145 |
>=dev-libs/glib-2.6.0 |
146 |
!libressl? ( dev-libs/openssl:= ) |
147 |
libressl? ( dev-libs/libressl:= ) |
148 |
@@ -23,25 +29,16 @@ CDEPEND="sys-libs/ncurses:0= |
149 |
|
150 |
DEPEND=" |
151 |
${CDEPEND} |
152 |
- virtual/pkgconfig |
153 |
- dev-lang/perl |
154 |
- || ( |
155 |
- www-client/lynx |
156 |
- www-client/elinks |
157 |
- )" |
158 |
+ virtual/pkgconfig" |
159 |
|
160 |
RDEPEND=" |
161 |
${CDEPEND} |
162 |
selinux? ( sec-policy/selinux-irc ) |
163 |
perl? ( !net-im/silc-client )" |
164 |
|
165 |
-src_prepare() { |
166 |
- sed -i -e /^autoreconf/d autogen.sh || die |
167 |
- NOCONFIGURE=1 ./autogen.sh || die |
168 |
+RESTRICT="test" |
169 |
|
170 |
- eapply_user |
171 |
- eautoreconf |
172 |
-} |
173 |
+S="${WORKDIR}/${MY_P}" |
174 |
|
175 |
src_configure() { |
176 |
econf \ |
177 |
@@ -53,11 +50,7 @@ src_configure() { |
178 |
} |
179 |
|
180 |
src_install() { |
181 |
- emake DESTDIR="${D}" install |
182 |
- |
183 |
+ default |
184 |
use perl && perl_delete_localpod |
185 |
- |
186 |
prune_libtool_files --modules |
187 |
- |
188 |
- dodoc AUTHORS ChangeLog README.md TODO NEWS |
189 |
} |
190 |
|
191 |
diff --git a/net-irc/irssi/irssi-9999.ebuild b/net-irc/irssi/irssi-9999.ebuild |
192 |
index 7c30d8608ca..127644c7dd8 100644 |
193 |
--- a/net-irc/irssi/irssi-9999.ebuild |
194 |
+++ b/net-irc/irssi/irssi-9999.ebuild |
195 |
@@ -1,8 +1,10 @@ |
196 |
-# Copyright 1999-2017 Gentoo Foundation |
197 |
+# Copyright 1999-2018 Gentoo Foundation |
198 |
# Distributed under the terms of the GNU General Public License v2 |
199 |
|
200 |
EAPI="6" |
201 |
|
202 |
+GENTOO_DEPEND_ON_PERL="no" |
203 |
+ |
204 |
inherit autotools perl-module git-r3 |
205 |
|
206 |
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" |