diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-08-13 09:59:49 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-08-13 10:19:14 +0200 |
commit | bd88f1ab6395fa92ada4320b89f0a5d9dc96df85 (patch) | |
tree | ed1f3f8930bbb672ac1bd88a88099bb78478cc94 /sys-libs/libblockdev | |
parent | media-libs/woff2-1.0.2-r1: add ~alpha keyword (diff) | |
download | gentoo-bd88f1ab6395fa92ada4320b89f0a5d9dc96df85.tar.gz gentoo-bd88f1ab6395fa92ada4320b89f0a5d9dc96df85.tar.bz2 gentoo-bd88f1ab6395fa92ada4320b89f0a5d9dc96df85.zip |
sys-libs/libblockdev: Bump to version 2.19
Package-Manager: Portage-2.3.46, Repoman-2.3.10
Diffstat (limited to 'sys-libs/libblockdev')
-rw-r--r-- | sys-libs/libblockdev/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/libblockdev/libblockdev-2.19.ebuild | 95 |
2 files changed, 96 insertions, 0 deletions
diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest index d428c73bda00..72d858677836 100644 --- a/sys-libs/libblockdev/Manifest +++ b/sys-libs/libblockdev/Manifest @@ -1,3 +1,4 @@ DIST libblockdev-2.14-1.tar.gz 274241 BLAKE2B 64c4c2a298ed95ed24a79716ccef5930f4276faaca02acf883c386b85a662d3fa1dc6f30e00d99bd835832e3c65acb89b445eff6fb35f9090dc949efde737d1a SHA512 fb80e840ed2f247912da93a6cc0cb1846be73dcc16b917f5231f5d7a87eaa7b43d07d5b2110038dd783fefa7ef7df0893785a60079ed02567f1e08bfcbd82343 DIST libblockdev-2.17-1.tar.gz 300882 BLAKE2B a7300ecf59a3ea37c2bb3245dcb4c0434ed8292e8fca87634224557112183de5fab2e66428d9b769537eebde341a3858182f9e9b9cefa68654c1d580fe4b63b2 SHA512 e882642e124100abf578699272bf1f0a2618b5eeed3ded4582f8535173238f145f3d4a2ea7dbe4b3b464d646f6e98ef0a891e7dfa7dde7e8c3322c883f7264e6 DIST libblockdev-2.18-1.tar.gz 310870 BLAKE2B afeb904938c9700917e3bf55665bfa5612677b963e4273378046edae15f94b90f2e85c31f12b196317fe26c4befe9ae514822d987fdc8003bc1b0cc49cd61dac SHA512 c7837b0abb7747baf8dc2a21a0a75bc5fb80693a1685ddb310bf7d606d44ea65fa4c934cff6c09c5069806dea3ee056eb53c64122ec43b5c0485cdf92fda58d5 +DIST libblockdev-2.19-1.tar.gz 334391 BLAKE2B 1db31a5051822d4e6f4cc024f6eeee0c936430527614fc41b80ef36f08a2d77f24bd7a66b81d094c8f468d31561dd802754e9079565b3e177296f558a8b18fcb SHA512 945671600036c8d923a2af9a2044535c78d6e887c3a02b0f7ce782cf9deff7f962b7a96fd092cd408aa48717665afa1db7b8d3f7b33e572fd2beb13df98f5c7d diff --git a/sys-libs/libblockdev/libblockdev-2.19.ebuild b/sys-libs/libblockdev/libblockdev-2.19.ebuild new file mode 100644 index 000000000000..65280b6a1025 --- /dev/null +++ b/sys-libs/libblockdev/libblockdev-2.19.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) +inherit autotools python-single-r1 + +MY_PV="${PV}-1" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A library for manipulating block devices" +HOMEPAGE="https://github.com/storaged-project/libblockdev" +SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="bcache +cryptsetup dmraid doc escrow lvm kbd test vdo" + +RDEPEND=" + >=dev-libs/glib-2.42.2 + dev-libs/libbytesize + >=sys-apps/kmod-19 + >=sys-apps/util-linux-2.27 + >=sys-block/parted-3.1 + cryptsetup? ( + escrow? ( + >=dev-libs/nss-3.18.0 + dev-libs/volume_key + ) + >=sys-fs/cryptsetup-1.6.7:= + ) + dmraid? ( + sys-fs/dmraid + sys-fs/lvm2 + ) + lvm? ( + sys-fs/lvm2 + virtual/udev + ) + vdo? ( dev-libs/libyaml ) + ${PYTHON_DEPS} +" + +DEPEND=" + ${RDEPEND} + >=dev-libs/gobject-introspection-1.3.0 + doc? ( dev-util/gtk-doc ) +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} + escrow? ( cryptsetup )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --with-btrfs + --with-fs + --with-part + --without-mpath + --without-nvdimm + $(use_enable test tests) + $(use_with bcache) + $(use_with cryptsetup crypto) + $(use_with dmraid) + $(use_with doc gtk-doc) + $(use_with escrow) + $(use_with lvm lvm) + $(use_with lvm lvm-dbus) + $(use_with kbd) + $(use_with vdo) + ) + if python_is_python3 ; then + myeconfargs+=( + --without-python2 + --with-python3 + ) + else + myeconfargs+=( + --with-python2 + --without-python3 + ) + fi + econf "${myeconfargs[@]}" +} |