Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: sys-libs/libblockdev/
Date: Fri, 08 Dec 2017 02:24:50
Message-Id: 1512699809.e4fd5b762d9c2fed908bc5643d7b56d39bf9b8d9.blueness@gentoo
1 commit: e4fd5b762d9c2fed908bc5643d7b56d39bf9b8d9
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 8 02:23:29 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 8 02:23:29 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=e4fd5b76
7
8 sys-libs/libblockdev: version bump to 2.14
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.3
11
12 sys-libs/libblockdev/Manifest | 1 +
13 sys-libs/libblockdev/libblockdev-2.14.ebuild | 84 ++++++++++++++++++++++++++++
14 2 files changed, 85 insertions(+)
15
16 diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
17 index ae5d055..a93c7d7 100644
18 --- a/sys-libs/libblockdev/Manifest
19 +++ b/sys-libs/libblockdev/Manifest
20 @@ -1 +1,2 @@
21 DIST libblockdev-2.13-1.tar.gz 269162 SHA256 0eca9236ec47dad64729b602d6658ff48034bf95f749296df1aa23e733abf5df SHA512 eaa0751691008f2cb3c4cdbf00af8f3653b7e309a02ccb700528601ccfa0cca7631e6072e2a25d9da3862b0638dac08b0ac739b1ae4702b9b263fb58f73d10c9 WHIRLPOOL 311ccc4a65963f0457d519e8858d3d0e8a286d3343efb8819b2ffd1d1d01057b6ca2f6926472cc11b2b6f918cf8644654c328c074e63fddbe2447f62f02fc7fb
22 +DIST libblockdev-2.14-1.tar.gz 274241 SHA256 de4e7f6e8f632122843c176932331e8e87ba2b0bbfa97bb1c906e115a47514ad SHA512 fb80e840ed2f247912da93a6cc0cb1846be73dcc16b917f5231f5d7a87eaa7b43d07d5b2110038dd783fefa7ef7df0893785a60079ed02567f1e08bfcbd82343 WHIRLPOOL e2a13bf083597e7c2be1780dfa043483451522551e0866913045c99f2ec0eec2c1b702d48c823c65dadef234cd95356ed3f09762420aeb459baacdf26457b52b
23
24 diff --git a/sys-libs/libblockdev/libblockdev-2.14.ebuild b/sys-libs/libblockdev/libblockdev-2.14.ebuild
25 new file mode 100644
26 index 0000000..1eaffc0
27 --- /dev/null
28 +++ b/sys-libs/libblockdev/libblockdev-2.14.ebuild
29 @@ -0,0 +1,84 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python3_{4,5,6} )
36 +inherit autotools python-single-r1
37 +
38 +MY_PV="${PV}-1"
39 +MY_P="${PN}-${MY_PV}"
40 +
41 +DESCRIPTION="A library for manipulating block devices"
42 +HOMEPAGE="https://github.com/rhinstaller/libblockdev"
43 +SRC_URI="https://github.com/rhinstaller/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
44 +LICENSE="LGPL-2+"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="bcache +crypt dmraid doc lvm kbd test"
48 +
49 +CDEPEND="
50 + >=dev-libs/glib-2.42.2
51 + dev-libs/libbytesize
52 + >=sys-apps/util-linux-2.27
53 + >=sys-block/parted-3.1
54 + crypt? (
55 + >=dev-libs/nss-3.18.0
56 + dev-libs/volume_key
57 + >=sys-fs/cryptsetup-1.6.7
58 + )
59 + dmraid? (
60 + sys-fs/dmraid
61 + sys-fs/lvm2
62 + )
63 + lvm? (
64 + sys-fs/lvm2
65 + virtual/udev
66 + )
67 + kbd? ( >=sys-apps/kmod-19 )
68 + ${PYTHON_DEPS}
69 +"
70 +
71 +DEPEND="
72 + ${CDEPEND}
73 + >=dev-libs/gobject-introspection-1.3.0
74 + doc? ( dev-util/gtk-doc )
75 +"
76 +
77 +RDEPEND="
78 + ${CDEPEND}
79 +"
80 +
81 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
82 +
83 +S="${WORKDIR}/${MY_P}"
84 +
85 +pkg_setup() {
86 + python-single-r1_pkg_setup
87 +}
88 +
89 +src_prepare() {
90 + eapply "${FILESDIR}/${PN}-fix-musl.patch"
91 + eapply "${FILESDIR}/${PN}-fix-clang.patch"
92 + default
93 + eautoreconf
94 +}
95 +
96 +src_configure() {
97 + local myeconfargs=(
98 + --with-btrfs
99 + --with-fs
100 + --with-part
101 + --with-python3
102 + --without-mpath
103 + $(use_enable test tests)
104 + $(use_with bcache)
105 + $(use_with crypt crypto)
106 + $(use_with dmraid dm)
107 + $(use_with doc gtk-doc)
108 + $(use_with lvm lvm)
109 + $(use_with lvm lvm-dbus)
110 + $(use_with kbd)
111 + )
112 + econf "${myeconfargs[@]}"
113 +}