From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9596F139694 for ; Thu, 6 Jul 2017 09:49:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB8691FC005; Thu, 6 Jul 2017 09:49:05 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6CF91FC002 for ; Thu, 6 Jul 2017 09:49:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9209D34183D for ; Thu, 6 Jul 2017 09:49:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED8F574A6 for ; Thu, 6 Jul 2017 09:49:02 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1499334534.b649131c485a19a278e06429875c727025dedd75.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libblockdev/Manifest sys-libs/libblockdev/libblockdev-2.10.ebuild sys-libs/libblockdev/metadata.xml X-VCS-Directories: sys-libs/libblockdev/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: b649131c485a19a278e06429875c727025dedd75 X-VCS-Branch: master Date: Thu, 6 Jul 2017 09:49:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 52252291-421b-4813-b5e7-155b10e9c859 X-Archives-Hash: 69ab22ce6a587e6026b8c70c364096ae commit: b649131c485a19a278e06429875c727025dedd75 Author: Lars Wendler gentoo org> AuthorDate: Thu Jul 6 09:38:57 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Jul 6 09:48:54 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b649131c sys-libs/libblockdev: Initial commit. Package-Manager: Portage-2.3.6, Repoman-2.3.2 sys-libs/libblockdev/Manifest | 1 + sys-libs/libblockdev/libblockdev-2.10.ebuild | 82 ++++++++++++++++++++++++++++ sys-libs/libblockdev/metadata.xml | 17 ++++++ 3 files changed, 100 insertions(+) diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest new file mode 100644 index 00000000000..bc1902c2c2f --- /dev/null +++ b/sys-libs/libblockdev/Manifest @@ -0,0 +1 @@ +DIST libblockdev-2.10-1.tar.gz 247964 SHA256 67de96cb26e7d2e127e1e43bdf8e3456fc3b4b53fc62c6000d31d3b055775ecf SHA512 f808fd327b0e250cfb97a06ea716b5eb5c6812301b7da1cd6b757b3af44ceca038fe549f607b71fa395cfb1da6c70c20c8a224953fbc30ebe36c3d0e897eb15b WHIRLPOOL a8dc24fd5b9dfc53c45c1024733bb98fed7b3f103b85457f6ca479cda4d55f94b38fd660900b18ee748baab0c1dbf594caf10ef3cc7de21bfa4873ea7ebec39f diff --git a/sys-libs/libblockdev/libblockdev-2.10.ebuild b/sys-libs/libblockdev/libblockdev-2.10.ebuild new file mode 100644 index 00000000000..a829bbce0cf --- /dev/null +++ b/sys-libs/libblockdev/libblockdev-2.10.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) +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/rhinstaller/libblockdev" +SRC_URI="https://github.com/rhinstaller/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bcache crypt dmraid doc lvm kbd python test" + +CDEPEND=" + >=dev-libs/glib-2.42.2 + dev-libs/libbytesize + >=sys-apps/util-linux-2.27 + >=sys-block/parted-3.1 + crypt? ( + >=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 + ) + kbd? ( >=sys-apps/kmod-19 ) + python? ( ${PYTHON_DEPS} ) +" + +DEPEND=" + ${CDEPEND} + >=dev-libs/gobject-introspection-1.3.0 + doc? ( dev-util/gtk-doc ) +" + +RDEPEND=" + ${CDEPEND} +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --with-btrfs + --with-fs + --with-part + --without-mpath + $(use_enable test tests) + $(use_with bcache) + $(use_with crypt crypto) + $(use_with dmraid dm) + $(use_with doc gtk-doc) + $(use_with lvm lvm) + $(use_with lvm lvm-dbus) + $(use_with kbd) + $(use_with python python3) + ) + econf "${myeconfargs[@]}" +} diff --git a/sys-libs/libblockdev/metadata.xml b/sys-libs/libblockdev/metadata.xml new file mode 100644 index 00000000000..6f4957ace55 --- /dev/null +++ b/sys-libs/libblockdev/metadata.xml @@ -0,0 +1,17 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + Enable block device cache support. + Support for dmraid devices, also known as ATA-RAID, or Fake RAID. + Enable support for Logical Volume Management via sys-fs/lvm2. + Enable kernel block device support. + + + storaged-project/libblockdev + +