diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2017-12-27 03:02:47 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2017-12-27 03:03:08 -0500 |
commit | 07334e6850bff9a41895eec00d35d61628984386 (patch) | |
tree | 96c6d36d2b1ac5c229919cf7cbb3f35a7e7c1607 /app-portage | |
parent | dev-ruby/test_declarative: amd64 stable (diff) | |
download | gentoo-07334e6850bff9a41895eec00d35d61628984386.tar.gz gentoo-07334e6850bff9a41895eec00d35d61628984386.tar.bz2 gentoo-07334e6850bff9a41895eec00d35d61628984386.zip |
app-portage/grs: add USE=server to reduce dependencies
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/grs/grs-9999.ebuild | 34 | ||||
-rw-r--r-- | app-portage/grs/metadata.xml | 3 |
2 files changed, 22 insertions, 15 deletions
diff --git a/app-portage/grs/grs-9999.ebuild b/app-portage/grs/grs-9999.ebuild index 9b15694e76eb..5e16f8b436e0 100644 --- a/app-portage/grs/grs-9999.ebuild +++ b/app-portage/grs/grs-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI="6" PYTHON_COMPAT=( python3_{4,5,6} ) inherit distutils-r1 linux-info @@ -19,27 +19,31 @@ HOMEPAGE="https://dev.gentoo.org/~blueness/${PN}" LICENSE="GPL-2" SLOT="0" -IUSE="" +IUSE="server" DEPEND="" RDEPEND=" - app-arch/tar[xattr] - app-crypt/md5deep - dev-libs/libcgroup - dev-vcs/git - net-misc/rsync sys-apps/portage - sys-fs/squashfs-tools - virtual/cdrtools - || ( - sys-kernel/genkernel - sys-kernel/genkernel-next + server? ( + app-arch/tar[xattr] + app-crypt/md5deep + dev-libs/libcgroup + dev-vcs/git + net-misc/rsync + sys-fs/squashfs-tools + virtual/cdrtools + || ( + sys-kernel/genkernel + sys-kernel/genkernel-next + ) )" pkg_setup() { - local CONFIG_CHECK="~CGROUPS" - local ERROR_CGROUPS="WARNING: grsrun requires CONFIG_CGROUPS enabled in the kernel." - linux-info_pkg_setup + if use server; then + local CONFIG_CHECK="~CGROUPS" + local ERROR_CGROUPS="WARNING: grsrun requires CONFIG_CGROUPS enabled in the kernel." + linux-info_pkg_setup + fi } src_install() { diff --git a/app-portage/grs/metadata.xml b/app-portage/grs/metadata.xml index d920e3ba3e56..eec62d4496e8 100644 --- a/app-portage/grs/metadata.xml +++ b/app-portage/grs/metadata.xml @@ -5,4 +5,7 @@ <email>blueness@gentoo.org</email> <name>Anthony G. Basile</name> </maintainer> + <use> + <flag name="server">Install all the tools building systems</flag> + </use> </pkgmetadata> |