commit: 3945c4b908a8e4dee2649d0b418426f579364464 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Thu Aug 25 03:14:55 2016 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Thu Aug 25 05:28:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3945c4b9
app-backup/snapper: add REQUIRED_USE restriction Gentoo-Bug: 591926 Package-Manager: portage-2.3.0 .../snapper/{snapper-0.2.8.ebuild => snapper-0.2.8-r1.ebuild} | 4 +++- app-backup/snapper/snapper-9999.ebuild | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app-backup/snapper/snapper-0.2.8.ebuild b/app-backup/snapper/snapper-0.2.8-r1.ebuild similarity index 94% rename from app-backup/snapper/snapper-0.2.8.ebuild rename to app-backup/snapper/snapper-0.2.8-r1.ebuild index 6674766..f6d70a1 100644 --- a/app-backup/snapper/snapper-0.2.8.ebuild +++ b/app-backup/snapper/snapper-0.2.8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -33,6 +33,8 @@ DEPEND="${RDEPEND} sys-devel/gettext virtual/pkgconfig" +REQUIRED_USE="|| ( btrfs ext4 lvm )" + DOCS=( AUTHORS README ) src_prepare() { diff --git a/app-backup/snapper/snapper-9999.ebuild b/app-backup/snapper/snapper-9999.ebuild index ec021d3..20b5908 100644 --- a/app-backup/snapper/snapper-9999.ebuild +++ b/app-backup/snapper/snapper-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -36,7 +36,9 @@ DEPEND="${RDEPEND} sys-devel/gettext virtual/pkgconfig" -DOCS=( AUTHORS README.md package/snapper.changes ) +REQUIRED_USE="|| ( btrfs ext4 lvm )" + +DOCS=( AUTHORS package/snapper.changes ) PATCHES=( "${FILESDIR}"/cron-confd.patch )