diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-block/blocks/blocks-0.1.4_pre131210-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-block/blocks/blocks-0.1.4_pre131210-r1.ebuild')
-rw-r--r-- | sys-block/blocks/blocks-0.1.4_pre131210-r1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/sys-block/blocks/blocks-0.1.4_pre131210-r1.ebuild b/sys-block/blocks/blocks-0.1.4_pre131210-r1.ebuild new file mode 100644 index 000000000000..a54686995aa0 --- /dev/null +++ b/sys-block/blocks/blocks-0.1.4_pre131210-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Conversion tools for block devices" +HOMEPAGE="https://github.com/g2p/blocks" +SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz" + +SLOT="0" +LICENSE="GPL-3+" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+minimal" + +DEPEND=" + dev-python/maintboot + >=dev-python/pyparted-3.10[${PYTHON_USEDEP}] + >=dev-python/python-augeas-0.5.0[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND} + >=sys-block/parted-2.3 + !minimal? ( + sys-fs/btrfs-progs + sys-fs/lvm2 + sys-fs/bcache-tools + sys-fs/nilfs-utils + sys-fs/cryptsetup + sys-fs/reiserfsprogs + sys-fs/xfsprogs + sys-fs/e2fsprogs + ) +" + +# NEVER, EVER run filesystem tests during build +RESTRICT="test" + +python_test() { + cd tests || die + emake +} + +pkg_postinst() { + if use minimal; then + einfo "For filesystem support you need to install:" + echo + einfo "btrfs: sys-fs/btrfs-progs" + einfo "LVM: sys-fs/lvm2" + einfo "bcache: sys-fs/bcache-tools" + einfo "NILFS: sys-fs/nilfs-utils" + einfo "crypted FS: sys-fs/cryptsetup" + einfo "reiser: sys-fs/reiserfsprogs" + einfo "XFS: sys-fs/xfsprogs" + einfo "EXT2/3/4: sys-fs/e2fsprogs" + echo + fi +} |