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: Tue, 01 Aug 2017 08:20:24
Message-Id: 1501575613.f04a3e50d08b7faadc4ba9c0d1b81a371e7fa732.polynomial-c@gentoo
1 commit: f04a3e50d08b7faadc4ba9c0d1b81a371e7fa732
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 1 08:20:13 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 1 08:20:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f04a3e50
7
8 sys-libs/libblockdev: Bump to version 2.11
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-libs/libblockdev/Manifest | 1 +
14 sys-libs/libblockdev/libblockdev-2.11.ebuild | 82 ++++++++++++++++++++++++++++
15 2 files changed, 83 insertions(+)
16
17 diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
18 index bc1902c2c2f..7285212b40e 100644
19 --- a/sys-libs/libblockdev/Manifest
20 +++ b/sys-libs/libblockdev/Manifest
21 @@ -1 +1,2 @@
22 DIST libblockdev-2.10-1.tar.gz 247964 SHA256 67de96cb26e7d2e127e1e43bdf8e3456fc3b4b53fc62c6000d31d3b055775ecf SHA512 f808fd327b0e250cfb97a06ea716b5eb5c6812301b7da1cd6b757b3af44ceca038fe549f607b71fa395cfb1da6c70c20c8a224953fbc30ebe36c3d0e897eb15b WHIRLPOOL a8dc24fd5b9dfc53c45c1024733bb98fed7b3f103b85457f6ca479cda4d55f94b38fd660900b18ee748baab0c1dbf594caf10ef3cc7de21bfa4873ea7ebec39f
23 +DIST libblockdev-2.11-1.tar.gz 248932 SHA256 fd0d51be0e18149e4234f1a63c36493238c68a4a98d837136cbbcfa116a238d1 SHA512 986fc37c69755b262b9a093cd7e9c5be5b8225e2ff37ef4157db63eaa0f47298813971ef09c76d70b5da3881b8cd8f8c8c365a6e9da3fa52e8fc2875d560ab57 WHIRLPOOL f68e10995b5caab286c3cbeb12a10d51c55afc2144fa0a3b8a7c3d9f73dfed68f51ae994fffc25e9c19da68cfd06c9b2f6c266bfd2d573cc21202382002de0bd
24
25 diff --git a/sys-libs/libblockdev/libblockdev-2.11.ebuild b/sys-libs/libblockdev/libblockdev-2.11.ebuild
26 new file mode 100644
27 index 00000000000..a829bbce0cf
28 --- /dev/null
29 +++ b/sys-libs/libblockdev/libblockdev-2.11.ebuild
30 @@ -0,0 +1,82 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python3_{4,5,6} )
37 +inherit autotools python-single-r1
38 +
39 +MY_PV="${PV}-1"
40 +MY_P="${PN}-${MY_PV}"
41 +
42 +DESCRIPTION="A library for manipulating block devices"
43 +HOMEPAGE="https://github.com/rhinstaller/libblockdev"
44 +SRC_URI="https://github.com/rhinstaller/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
45 +LICENSE="LGPL-2+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="bcache crypt dmraid doc lvm kbd python test"
49 +
50 +CDEPEND="
51 + >=dev-libs/glib-2.42.2
52 + dev-libs/libbytesize
53 + >=sys-apps/util-linux-2.27
54 + >=sys-block/parted-3.1
55 + crypt? (
56 + >=dev-libs/nss-3.18.0
57 + dev-libs/volume_key
58 + >=sys-fs/cryptsetup-1.6.7
59 + )
60 + dmraid? (
61 + sys-fs/dmraid
62 + sys-fs/lvm2
63 + )
64 + lvm? (
65 + sys-fs/lvm2
66 + virtual/udev
67 + )
68 + kbd? ( >=sys-apps/kmod-19 )
69 + python? ( ${PYTHON_DEPS} )
70 +"
71 +
72 +DEPEND="
73 + ${CDEPEND}
74 + >=dev-libs/gobject-introspection-1.3.0
75 + doc? ( dev-util/gtk-doc )
76 +"
77 +
78 +RDEPEND="
79 + ${CDEPEND}
80 +"
81 +
82 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
83 +
84 +S="${WORKDIR}/${MY_P}"
85 +
86 +pkg_setup() {
87 + use python && python-single-r1_pkg_setup
88 +}
89 +
90 +src_prepare() {
91 + default
92 + eautoreconf
93 +}
94 +
95 +src_configure() {
96 + local myeconfargs=(
97 + --with-btrfs
98 + --with-fs
99 + --with-part
100 + --without-mpath
101 + $(use_enable test tests)
102 + $(use_with bcache)
103 + $(use_with crypt crypto)
104 + $(use_with dmraid dm)
105 + $(use_with doc gtk-doc)
106 + $(use_with lvm lvm)
107 + $(use_with lvm lvm-dbus)
108 + $(use_with kbd)
109 + $(use_with python python3)
110 + )
111 + econf "${myeconfargs[@]}"
112 +}