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: Fri, 22 Jun 2018 11:23:24
Message-Id: 1529666483.5dd830257122d13f76d3a9a7f6c410a4f14cda79.polynomial-c@gentoo
1 commit: 5dd830257122d13f76d3a9a7f6c410a4f14cda79
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 22 11:21:23 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 22 11:21:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dd83025
7
8 sys-libs/libblockdev: Bump to version 2.18
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 sys-libs/libblockdev/Manifest | 1 +
13 sys-libs/libblockdev/libblockdev-2.18.ebuild | 85 ++++++++++++++++++++++++++++
14 2 files changed, 86 insertions(+)
15
16 diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
17 index 0cec0a74f46..37e47ca667b 100644
18 --- a/sys-libs/libblockdev/Manifest
19 +++ b/sys-libs/libblockdev/Manifest
20 @@ -2,3 +2,4 @@ DIST libblockdev-2.14-1.tar.gz 274241 BLAKE2B 64c4c2a298ed95ed24a79716ccef5930f4
21 DIST libblockdev-2.15-1.tar.gz 279744 BLAKE2B caabeffdc2ee27bec63f0e799c632eab4e02867b866a83b03613e84567dbb0a5a6d8a59b4a34b9130b55a546bfa4a76b439bf901247da2d4d87b88b66c386ed6 SHA512 a58ee6ca75c0ee8706796afb6bf26334cc1716bb3ba9230f35c485643faf4921e70ff3a86ebb2be41b2d0177e68fdc0f8011e198e46d66aca9e9712a228c4ea3
22 DIST libblockdev-2.16-1.tar.gz 282247 BLAKE2B 0645ffe9f0cadc6e412de813b32f4e37ead67039a69f7e8938b41f5ea10983a18d31e29653eab50dc41889952b00658b91853908dff3e62b50c1e85a267b4a63 SHA512 d48d4b0e3174ad7b93558534d7f0285b398e47e2c9dce3cc60cbe0a32a78fef32601cca2508f30a882609ceb3cc59efe2761720af191e6394ca1b8c51878b535
23 DIST libblockdev-2.17-1.tar.gz 300882 BLAKE2B a7300ecf59a3ea37c2bb3245dcb4c0434ed8292e8fca87634224557112183de5fab2e66428d9b769537eebde341a3858182f9e9b9cefa68654c1d580fe4b63b2 SHA512 e882642e124100abf578699272bf1f0a2618b5eeed3ded4582f8535173238f145f3d4a2ea7dbe4b3b464d646f6e98ef0a891e7dfa7dde7e8c3322c883f7264e6
24 +DIST libblockdev-2.18-1.tar.gz 310870 BLAKE2B afeb904938c9700917e3bf55665bfa5612677b963e4273378046edae15f94b90f2e85c31f12b196317fe26c4befe9ae514822d987fdc8003bc1b0cc49cd61dac SHA512 c7837b0abb7747baf8dc2a21a0a75bc5fb80693a1685ddb310bf7d606d44ea65fa4c934cff6c09c5069806dea3ee056eb53c64122ec43b5c0485cdf92fda58d5
25
26 diff --git a/sys-libs/libblockdev/libblockdev-2.18.ebuild b/sys-libs/libblockdev/libblockdev-2.18.ebuild
27 new file mode 100644
28 index 00000000000..1797d61bb6c
29 --- /dev/null
30 +++ b/sys-libs/libblockdev/libblockdev-2.18.ebuild
31 @@ -0,0 +1,85 @@
32 +# Copyright 1999-2018 Gentoo Foundation
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}} )
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/rhinstaller/libblockdev"
45 +SRC_URI="https://github.com/rhinstaller/${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"
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 + ${PYTHON_DEPS}
73 +"
74 +
75 +DEPEND="
76 + ${RDEPEND}
77 + >=dev-libs/gobject-introspection-1.3.0
78 + dev-libs/libyaml
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 python_single_target_python2_7 python2)
113 + $(use_with !python_single_target_python2_7 python3)
114 + )
115 + econf "${myeconfargs[@]}"
116 +}