Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/parted/
Date: Tue, 30 Jan 2018 08:30:38
Message-Id: 1517301010.a076284b6b2233cd01b804a66dbe8bba6a2cdd1a.jer@gentoo
1 commit: a076284b6b2233cd01b804a66dbe8bba6a2cdd1a
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 30 08:29:43 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 30 08:30:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a076284b
7
8 sys-block/parted: Version 3.2_p20.
9
10 Package-Manager: Portage-2.3.20, Repoman-2.3.6
11
12 sys-block/parted/Manifest | 1 +
13 sys-block/parted/parted-3.2_p20.ebuild | 69 ++++++++++++++++++++++++++++++++++
14 2 files changed, 70 insertions(+)
15
16 diff --git a/sys-block/parted/Manifest b/sys-block/parted/Manifest
17 index 47cb7217ab0..9e17484a69a 100644
18 --- a/sys-block/parted/Manifest
19 +++ b/sys-block/parted/Manifest
20 @@ -2,3 +2,4 @@ DIST parted-2.4.tar.xz 1516412 BLAKE2B fdc489ba9e0636b6f3e67d3863acf88ab3143e60a
21 DIST parted-3.1.tar.xz 1524344 BLAKE2B 51f6cb84fb0a08dc5c9f634e265e4ac7778cde9f5400771af897a8661bf6dcdcfac2b2dec817c7d0f61d3fd5f8408c065754ea756ed59491dff75595d4306a2d SHA512 f29a67a16cf79f08abbfc5eeb6ad0480d834aa50e715378626dc89e3b12ce71f19202e9f38429e5521ebe877c4e74ff1e08f0b0ecbdbe79ba1c51fdcbef6e852
22 DIST parted-3.2.tar.xz 1655244 BLAKE2B 56608590b26a9b5266dacf3698d990b730bdb35d9374d1da57103fbef3ef5037e40dd2fe0f523ca8e0e75401a3b25cf543e5ca5c94cf410bbaa62ea15d6f0ba3 SHA512 4e37dbdd6f5032c9ebfec43704f6882379597d038167b9c4d04053efa083c68a705196713864451fa9e11d32777e16c68982877945c5efd9ea5f8252cb20e1c4
23 DIST parted_3.2-19.debian.tar.xz 87288 BLAKE2B f0cef2978ead9edca3e952849deb36526eea0a050d45ab480b2aa62d02ba0a1750c28e93c28a714df6629f02ccf5a1e4fbb33a6e42b82bf6685c05aeaad1756c SHA512 de3e55545d7d94668eb608c8c31440f550baaf7b664836d199f73f7a8c75bba4ff59b4c06a23459c7d522250d7c03d29fa7f727f7d1a2b1e5a0366e83a2d871a
24 +DIST parted_3.2-20.debian.tar.xz 87496 BLAKE2B 4409826b35b42093f16f80b1ab2f41b4caf2264c9dcfe9572fa1ddf5f51eeffa2208fc187bd7a98290ee2df92604928eae84fd2fdee78d688ec19e81f8b9efac SHA512 83f14befdd7d048976572b3e2eebfaa42649458cbcfd659db704737dce991980ddb2bc65013c5b31b04a17fc17fb756da0dda76edbcba93708afca34c56e0d22
25
26 diff --git a/sys-block/parted/parted-3.2_p20.ebuild b/sys-block/parted/parted-3.2_p20.ebuild
27 new file mode 100644
28 index 00000000000..8e46676f03f
29 --- /dev/null
30 +++ b/sys-block/parted/parted-3.2_p20.ebuild
31 @@ -0,0 +1,69 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit autotools eutils flag-o-matic
37 +
38 +DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems"
39 +HOMEPAGE="https://www.gnu.org/software/parted"
40 +SRC_URI="
41 + mirror://gnu/${PN}/${P/_p*/}.tar.xz
42 + mirror://debian/pool/main/p/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
43 +"
44 +
45 +LICENSE="GPL-3"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
48 +IUSE="+debug device-mapper nls readline selinux static-libs"
49 +RESTRICT="test"
50 +
51 +# specific version for gettext needed
52 +# to fix bug 85999
53 +RDEPEND="
54 + >=sys-fs/e2fsprogs-1.27
55 + device-mapper? ( >=sys-fs/lvm2-2.02.45 )
56 + readline? ( >=sys-libs/readline-5.2:0= >=sys-libs/ncurses-5.7-r7:0= )
57 + selinux? ( sys-libs/libselinux )
58 + elibc_uclibc? ( dev-libs/libiconv )
59 +"
60 +DEPEND="
61 + ${RDEPEND}
62 + nls? ( >=sys-devel/gettext-0.12.1-r2 )
63 + virtual/pkgconfig
64 +"
65 +PATCHES=(
66 + "${FILESDIR}"/${PN}-3.2-devmapper.patch
67 + "${FILESDIR}"/${PN}-3.2-po4a-mandir.patch
68 + "${FILESDIR}"/${PN}-3.2-sysmacros.patch
69 +)
70 +S=${WORKDIR}/${P/_p*/}
71 +
72 +src_prepare() {
73 + default
74 + for patch in $(< "${WORKDIR}"/debian/patches/series); do
75 + eapply "${WORKDIR}/debian/patches/$patch"
76 + done
77 +
78 + eautoreconf
79 +}
80 +
81 +src_configure() {
82 + use elibc_uclibc && append-libs -liconv
83 + econf \
84 + $(use_enable debug) \
85 + $(use_enable device-mapper) \
86 + $(use_enable nls) \
87 + $(use_enable selinux) \
88 + $(use_enable static-libs static) \
89 + $(use_with readline) \
90 + --disable-rpath \
91 + --disable-silent-rules
92 +}
93 +
94 +DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} )
95 +
96 +src_install() {
97 + default
98 +
99 + prune_libtool_files
100 +}