1 |
commit: 35b9c841d0b198b9017f3e2f5df45bf206dac251 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 20 07:06:34 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 20 07:06:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35b9c841 |
7 |
|
8 |
sys-block/parted: EAPI bump (bug #625694 by Norman Shulman). |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
sys-block/parted/parted-2.4-r1.ebuild | 55 +++++++++++++++++++++++ |
13 |
sys-block/parted/parted-3.1-r2.ebuild | 85 +++++++++++++++++++++++++++++++++++ |
14 |
sys-block/parted/parted-3.2-r2.ebuild | 63 ++++++++++++++++++++++++++ |
15 |
3 files changed, 203 insertions(+) |
16 |
|
17 |
diff --git a/sys-block/parted/parted-2.4-r1.ebuild b/sys-block/parted/parted-2.4-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..813fbc7f96a |
20 |
--- /dev/null |
21 |
+++ b/sys-block/parted/parted-2.4-r1.ebuild |
22 |
@@ -0,0 +1,55 @@ |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+inherit eutils |
28 |
+ |
29 |
+DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems" |
30 |
+HOMEPAGE="https://www.gnu.org/software/parted" |
31 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" |
32 |
+ |
33 |
+LICENSE="GPL-3" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
36 |
+IUSE="+debug device-mapper nls readline selinux static-libs" |
37 |
+RESTRICT="test" |
38 |
+ |
39 |
+# specific version for gettext needed |
40 |
+# to fix bug 85999 |
41 |
+RDEPEND=" |
42 |
+ >=sys-fs/e2fsprogs-1.27 |
43 |
+ >=sys-libs/ncurses-5.2:0= |
44 |
+ device-mapper? ( >=sys-fs/lvm2-2.02.45 ) |
45 |
+ readline? ( >=sys-libs/readline-5.2:0= ) |
46 |
+ selinux? ( sys-libs/libselinux ) |
47 |
+" |
48 |
+DEPEND=" |
49 |
+ ${RDEPEND} |
50 |
+ nls? ( >=sys-devel/gettext-0.12.1-r2 ) |
51 |
+ virtual/pkgconfig |
52 |
+" |
53 |
+PATCHES=( |
54 |
+ "${FILESDIR}"/${P}-no-gets.patch |
55 |
+ "${FILESDIR}"/${P}-readline.patch |
56 |
+) |
57 |
+DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} ) |
58 |
+ |
59 |
+ |
60 |
+src_configure() { |
61 |
+ econf \ |
62 |
+ $(use_enable debug) \ |
63 |
+ $(use_enable device-mapper) \ |
64 |
+ $(use_enable nls) \ |
65 |
+ $(use_enable selinux) \ |
66 |
+ $(use_enable static-libs static) \ |
67 |
+ $(use_with readline) \ |
68 |
+ --disable-Werror \ |
69 |
+ --disable-rpath \ |
70 |
+ --disable-silent-rules |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+ |
76 |
+ prune_libtool_files |
77 |
+} |
78 |
|
79 |
diff --git a/sys-block/parted/parted-3.1-r2.ebuild b/sys-block/parted/parted-3.1-r2.ebuild |
80 |
new file mode 100644 |
81 |
index 00000000000..92ce2da8bcb |
82 |
--- /dev/null |
83 |
+++ b/sys-block/parted/parted-3.1-r2.ebuild |
84 |
@@ -0,0 +1,85 @@ |
85 |
+# Copyright 1999-2017 Gentoo Foundation |
86 |
+# Distributed under the terms of the GNU General Public License v2 |
87 |
+ |
88 |
+EAPI=6 |
89 |
+inherit autotools eutils |
90 |
+ |
91 |
+DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems" |
92 |
+HOMEPAGE="https://www.gnu.org/software/parted" |
93 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" |
94 |
+ |
95 |
+LICENSE="GPL-3" |
96 |
+SLOT="0" |
97 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
98 |
+IUSE="+debug device-mapper nls readline selinux static-libs test" |
99 |
+ |
100 |
+# specific version for gettext needed |
101 |
+# to fix bug 85999 |
102 |
+RDEPEND=" |
103 |
+ >=sys-fs/e2fsprogs-1.27 |
104 |
+ >=sys-libs/ncurses-5.7-r7 |
105 |
+ device-mapper? ( >=sys-fs/lvm2-2.02.45 ) |
106 |
+ readline? ( >=sys-libs/readline-5.2 ) |
107 |
+ selinux? ( sys-libs/libselinux ) |
108 |
+" |
109 |
+DEPEND=" |
110 |
+ ${RDEPEND} |
111 |
+ nls? ( >=sys-devel/gettext-0.12.1-r2 ) |
112 |
+ virtual/pkgconfig |
113 |
+ test? ( |
114 |
+ >=dev-libs/check-0.9.3 |
115 |
+ dev-perl/Digest-CRC |
116 |
+ ) |
117 |
+" |
118 |
+PATCHES=( |
119 |
+ "${FILESDIR}"/${PN}-3.1-zfs.patch |
120 |
+ "${FILESDIR}"/${PN}-3.1-readline.patch |
121 |
+) |
122 |
+DOCS=( |
123 |
+ AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} |
124 |
+) |
125 |
+ |
126 |
+src_prepare() { |
127 |
+ default |
128 |
+ |
129 |
+ # Remove tests known to FAIL instead of SKIP without OS/userland support |
130 |
+ sed -i libparted/tests/Makefile.am \ |
131 |
+ -e 's|t3000-symlink.sh||g' || die "sed failed" |
132 |
+ sed -i tests/Makefile.am \ |
133 |
+ -e '/t4100-msdos-partition-limits.sh/d' \ |
134 |
+ -e '/t4100-dvh-partition-limits.sh/d' \ |
135 |
+ -e '/t6000-dm.sh/d' || die "sed failed" |
136 |
+ # there is no configure flag for controlling the dev-libs/check test |
137 |
+ sed -i configure.ac \ |
138 |
+ -e "s:have_check=[a-z]*:have_check=$(usex test):g" || die |
139 |
+ |
140 |
+ eautoreconf |
141 |
+} |
142 |
+ |
143 |
+src_configure() { |
144 |
+ econf \ |
145 |
+ $(use_enable debug) \ |
146 |
+ $(use_enable device-mapper) \ |
147 |
+ $(use_enable nls) \ |
148 |
+ $(use_enable selinux) \ |
149 |
+ $(use_enable static-libs static) \ |
150 |
+ $(use_with readline) \ |
151 |
+ --disable-rpath \ |
152 |
+ --disable-silent-rules |
153 |
+} |
154 |
+ |
155 |
+src_test() { |
156 |
+ if use debug; then |
157 |
+ # Do not die when tests fail - some requirements are not |
158 |
+ # properly checked and should not lead to the ebuild failing. |
159 |
+ emake check |
160 |
+ else |
161 |
+ ewarn "Skipping tests because USE=-debug is set." |
162 |
+ fi |
163 |
+} |
164 |
+ |
165 |
+src_install() { |
166 |
+ default |
167 |
+ |
168 |
+ prune_libtool_files |
169 |
+} |
170 |
|
171 |
diff --git a/sys-block/parted/parted-3.2-r2.ebuild b/sys-block/parted/parted-3.2-r2.ebuild |
172 |
new file mode 100644 |
173 |
index 00000000000..b4561cfee28 |
174 |
--- /dev/null |
175 |
+++ b/sys-block/parted/parted-3.2-r2.ebuild |
176 |
@@ -0,0 +1,63 @@ |
177 |
+# Copyright 1999-2017 Gentoo Foundation |
178 |
+# Distributed under the terms of the GNU General Public License v2 |
179 |
+ |
180 |
+EAPI=6 |
181 |
+inherit autotools eutils flag-o-matic |
182 |
+ |
183 |
+DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems" |
184 |
+HOMEPAGE="https://www.gnu.org/software/parted" |
185 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" |
186 |
+ |
187 |
+LICENSE="GPL-3" |
188 |
+SLOT="0" |
189 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
190 |
+IUSE="+debug device-mapper nls readline selinux static-libs" |
191 |
+RESTRICT="test" |
192 |
+ |
193 |
+# specific version for gettext needed |
194 |
+# to fix bug 85999 |
195 |
+RDEPEND=" |
196 |
+ >=sys-fs/e2fsprogs-1.27 |
197 |
+ device-mapper? ( >=sys-fs/lvm2-2.02.45 ) |
198 |
+ readline? ( >=sys-libs/readline-5.2:0= >=sys-libs/ncurses-5.7-r7:0= ) |
199 |
+ selinux? ( sys-libs/libselinux ) |
200 |
+ elibc_uclibc? ( dev-libs/libiconv ) |
201 |
+" |
202 |
+DEPEND=" |
203 |
+ ${RDEPEND} |
204 |
+ nls? ( >=sys-devel/gettext-0.12.1-r2 ) |
205 |
+ virtual/pkgconfig |
206 |
+" |
207 |
+PATCHES=( |
208 |
+ "${FILESDIR}"/${PN}-3.2-devmapper.patch |
209 |
+ "${FILESDIR}"/${PN}-3.2-po4a-mandir.patch |
210 |
+ "${FILESDIR}"/${PN}-3.2-fix-resizing-FAT16.patch |
211 |
+ "${FILESDIR}"/${PN}-3.2-sysmacros.patch |
212 |
+) |
213 |
+ |
214 |
+src_prepare() { |
215 |
+ default |
216 |
+ |
217 |
+ eautoreconf |
218 |
+} |
219 |
+ |
220 |
+src_configure() { |
221 |
+ use elibc_uclibc && append-libs -liconv |
222 |
+ econf \ |
223 |
+ $(use_enable debug) \ |
224 |
+ $(use_enable device-mapper) \ |
225 |
+ $(use_enable nls) \ |
226 |
+ $(use_enable selinux) \ |
227 |
+ $(use_enable static-libs static) \ |
228 |
+ $(use_with readline) \ |
229 |
+ --disable-rpath \ |
230 |
+ --disable-silent-rules |
231 |
+} |
232 |
+ |
233 |
+DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} ) |
234 |
+ |
235 |
+src_install() { |
236 |
+ default |
237 |
+ |
238 |
+ prune_libtool_files |
239 |
+} |