Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/
Date: Thu, 27 Sep 2018 08:41:23
Message-Id: 1538037417.a5a7a8d7ad7d67509fda6621bce6f4bc84f69822.polynomial-c@gentoo
1 commit: a5a7a8d7ad7d67509fda6621bce6f4bc84f69822
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 27 08:36:57 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 27 08:36:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a7a8d7
7
8 sys-libs/libblockdev: Bump to version 2.20
9
10 Package-Manager: Portage-2.3.50, Repoman-2.3.11
11
12 sys-libs/libblockdev/Manifest | 1 +
13 sys-libs/libblockdev/libblockdev-2.20.ebuild | 95 ++++++++++++++++++++++++++++
14 2 files changed, 96 insertions(+)
15
16 diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
17 index 8bbaeeee605..ae0704dab1e 100644
18 --- a/sys-libs/libblockdev/Manifest
19 +++ b/sys-libs/libblockdev/Manifest
20 @@ -1,3 +1,4 @@
21 DIST libblockdev-2.14-1.tar.gz 274241 BLAKE2B 64c4c2a298ed95ed24a79716ccef5930f4276faaca02acf883c386b85a662d3fa1dc6f30e00d99bd835832e3c65acb89b445eff6fb35f9090dc949efde737d1a SHA512 fb80e840ed2f247912da93a6cc0cb1846be73dcc16b917f5231f5d7a87eaa7b43d07d5b2110038dd783fefa7ef7df0893785a60079ed02567f1e08bfcbd82343
22 DIST libblockdev-2.18-1.tar.gz 310870 BLAKE2B afeb904938c9700917e3bf55665bfa5612677b963e4273378046edae15f94b90f2e85c31f12b196317fe26c4befe9ae514822d987fdc8003bc1b0cc49cd61dac SHA512 c7837b0abb7747baf8dc2a21a0a75bc5fb80693a1685ddb310bf7d606d44ea65fa4c934cff6c09c5069806dea3ee056eb53c64122ec43b5c0485cdf92fda58d5
23 DIST libblockdev-2.19-1.tar.gz 334391 BLAKE2B 1db31a5051822d4e6f4cc024f6eeee0c936430527614fc41b80ef36f08a2d77f24bd7a66b81d094c8f468d31561dd802754e9079565b3e177296f558a8b18fcb SHA512 945671600036c8d923a2af9a2044535c78d6e887c3a02b0f7ce782cf9deff7f962b7a96fd092cd408aa48717665afa1db7b8d3f7b33e572fd2beb13df98f5c7d
24 +DIST libblockdev-2.20-1.tar.gz 338039 BLAKE2B 77923e52b10e7853ae9433bf811d3a08f1c18da81d4f148b220d7e4101535f245612f0c82c96c6c3bc3e4c0631ada153c59c4587a86efdc5669a0b9f69e764be SHA512 4cb6b18d5de63461f35e0b6f6896599aa41da2c995839c2e88661dacdf07522842b612820fb1d83edbde72092cc62295d5411e8607f52c611db7f02aa16c9ab3
25
26 diff --git a/sys-libs/libblockdev/libblockdev-2.20.ebuild b/sys-libs/libblockdev/libblockdev-2.20.ebuild
27 new file mode 100644
28 index 00000000000..d1eb0822af1
29 --- /dev/null
30 +++ b/sys-libs/libblockdev/libblockdev-2.20.ebuild
31 @@ -0,0 +1,95 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
38 +inherit autotools python-single-r1
39 +
40 +MY_PV="${PV}-1"
41 +MY_P="${PN}-${MY_PV}"
42 +
43 +DESCRIPTION="A library for manipulating block devices"
44 +HOMEPAGE="https://github.com/storaged-project/libblockdev"
45 +SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
46 +LICENSE="LGPL-2+"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
49 +IUSE="bcache +cryptsetup dmraid doc escrow lvm kbd test vdo"
50 +
51 +RDEPEND="
52 + >=dev-libs/glib-2.42.2
53 + dev-libs/libbytesize
54 + >=sys-apps/kmod-19
55 + >=sys-apps/util-linux-2.27
56 + >=sys-block/parted-3.1
57 + cryptsetup? (
58 + escrow? (
59 + >=dev-libs/nss-3.18.0
60 + dev-libs/volume_key
61 + )
62 + >=sys-fs/cryptsetup-1.6.7:=
63 + )
64 + dmraid? (
65 + sys-fs/dmraid
66 + sys-fs/lvm2
67 + )
68 + lvm? (
69 + sys-fs/lvm2
70 + virtual/udev
71 + )
72 + vdo? ( dev-libs/libyaml )
73 + ${PYTHON_DEPS}
74 +"
75 +
76 +DEPEND="
77 + ${RDEPEND}
78 + >=dev-libs/gobject-introspection-1.3.0
79 + doc? ( dev-util/gtk-doc )
80 +"
81 +
82 +REQUIRED_USE="${PYTHON_REQUIRED_USE}
83 + escrow? ( cryptsetup )"
84 +
85 +S="${WORKDIR}/${MY_P}"
86 +
87 +pkg_setup() {
88 + python-single-r1_pkg_setup
89 +}
90 +
91 +src_prepare() {
92 + default
93 + eautoreconf
94 +}
95 +
96 +src_configure() {
97 + local myeconfargs=(
98 + --with-btrfs
99 + --with-fs
100 + --with-part
101 + --without-mpath
102 + --without-nvdimm
103 + $(use_enable test tests)
104 + $(use_with bcache)
105 + $(use_with cryptsetup crypto)
106 + $(use_with dmraid)
107 + $(use_with doc gtk-doc)
108 + $(use_with escrow)
109 + $(use_with lvm lvm)
110 + $(use_with lvm lvm-dbus)
111 + $(use_with kbd)
112 + $(use_with vdo)
113 + )
114 + if python_is_python3 ; then
115 + myeconfargs+=(
116 + --without-python2
117 + --with-python3
118 + )
119 + else
120 + myeconfargs+=(
121 + --with-python2
122 + --without-python3
123 + )
124 + fi
125 + econf "${myeconfargs[@]}"
126 +}