1 |
commit: 053d3b9d14b36c63cf4c097ff6ac2c755e5dc30f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 28 08:29:13 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 28 08:35:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=053d3b9d |
7 |
|
8 |
sys-block/parted: Bump to 3.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-block/parted/Manifest | 2 ++ |
13 |
sys-block/parted/parted-3.4.ebuild | 66 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 68 insertions(+) |
15 |
|
16 |
diff --git a/sys-block/parted/Manifest b/sys-block/parted/Manifest |
17 |
index 50657888893..1cef4cfba32 100644 |
18 |
--- a/sys-block/parted/Manifest |
19 |
+++ b/sys-block/parted/Manifest |
20 |
@@ -1 +1,3 @@ |
21 |
DIST parted-3.3.tar.xz 1757432 BLAKE2B d1e248cd8fdce22d4957055d65f9f93333505229f92174f343897422a31a43f3d35ea06f8f1bdafd254e4629c5890ec38d6b75d3b499c39a9ada4a8d5f9d9d8f SHA512 d1384694a491aa53bab6206fdeccd1d192de2ed379fe25aa865dd6aa06ed945a728e85b2ccc2fb23f5aa9dfee4a8bd8f0f2be1dd386cb8e8861b73382c6a07e4 |
22 |
+DIST parted-3.4.tar.xz 1860300 BLAKE2B c724d3d1490c62d440b9e5dc359fef7ff623bc77ae5f867d8905245cb279ec391fa07a1a774488ad3bf7a2c477007264d7bab2635a544be8f94dc706a654a711 SHA512 e69bd1b610778e980d4595d04892f2ea1faf4ae9bfc98cd62abfc70066423f08ddaa396f9461c7beb1330d023232274606b6b26091a0458aeedd0f3f57536690 |
23 |
+DIST parted-3.4.tar.xz.sig 508 BLAKE2B 112ad0158b1100bd9150a7c87e8f93e67d42870b82a17d4d0aa8bb5e46306f837f3f99feabaf301f8cd640c299174e5f5acf152dd1f20ea2b7ace73d57d31f14 SHA512 6b11812267e66470ba2908ee1cc78b232b0bc2519787f5a17b92cd5f8ba904b1a836833f19c5244b23d4c7810437eeb26fbbd68fac819391b342709682345472 |
24 |
|
25 |
diff --git a/sys-block/parted/parted-3.4.ebuild b/sys-block/parted/parted-3.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..24144f506ea |
28 |
--- /dev/null |
29 |
+++ b/sys-block/parted/parted-3.4.ebuild |
30 |
@@ -0,0 +1,66 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit flag-o-matic verify-sig |
37 |
+ |
38 |
+DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems" |
39 |
+HOMEPAGE="https://www.gnu.org/software/parted/" |
40 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz |
41 |
+ verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )" |
42 |
+ |
43 |
+LICENSE="GPL-3" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
46 |
+IUSE="+debug device-mapper nls readline" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=sys-fs/e2fsprogs-1.27 |
50 |
+ device-mapper? ( >=sys-fs/lvm2-2.02.45 ) |
51 |
+ readline? ( |
52 |
+ >=sys-libs/ncurses-5.7-r7:0= |
53 |
+ >=sys-libs/readline-5.2:0= |
54 |
+ ) |
55 |
+ elibc_uclibc? ( dev-libs/libiconv ) |
56 |
+" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+BDEPEND=" |
59 |
+ nls? ( >=sys-devel/gettext-0.12.1-r2 ) |
60 |
+ verify-sig? ( app-crypt/openpgp-keys-bcl ) |
61 |
+ virtual/pkgconfig |
62 |
+" |
63 |
+ |
64 |
+VERIFY_SIG_OPENPGP_KEY_PATH=${EPREFIX}/usr/share/openpgp-keys/bcl.asc |
65 |
+ |
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}"/${PN}-3.2-po4a-mandir.patch |
68 |
+ "${FILESDIR}"/${PN}-3.3-atari.patch |
69 |
+) |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ default |
73 |
+ touch doc/pt_BR/Makefile.in || die |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ use elibc_uclibc && append-libs -liconv |
78 |
+ local myconf=( |
79 |
+ $(use_enable debug) |
80 |
+ $(use_enable device-mapper) |
81 |
+ $(use_enable nls) |
82 |
+ $(use_with readline) |
83 |
+ --disable-rpath |
84 |
+ --disable-static |
85 |
+ ) |
86 |
+ econf "${myconf[@]}" |
87 |
+} |
88 |
+ |
89 |
+DOCS=( |
90 |
+ AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} |
91 |
+) |
92 |
+ |
93 |
+src_install() { |
94 |
+ default |
95 |
+ find "${ED}" -type f -name '*.la' -delete || die |
96 |
+} |