diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-05-03 23:24:39 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-05-04 17:48:09 +0200 |
commit | 13e68826557ccc22b6968814066f5442ccf67b3c (patch) | |
tree | 503fe7183db08f2e56ba50f2c6bf280290fe7f31 | |
parent | tests/server/py: Fix an inheritence error in py 3.7, 3.8 (diff) | |
download | g-sorcery-13e68826557ccc22b6968814066f5442ccf67b3c.tar.gz g-sorcery-13e68826557ccc22b6968814066f5442ccf67b3c.tar.bz2 g-sorcery-13e68826557ccc22b6968814066f5442ccf67b3c.zip |
g-sorcery.eclass: Add live property
This will disable the network-sandbox during the unpack phase.
Bug: https://bugs.gentoo.org/734080
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | g_sorcery/data/g-sorcery.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/g_sorcery/data/g-sorcery.eclass b/g_sorcery/data/g-sorcery.eclass index 68635e0..2967ec9 100644 --- a/g_sorcery/data/g-sorcery.eclass +++ b/g_sorcery/data/g-sorcery.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Header: $ +# # automatically generated by g-sorcery # please do not edit this file # @@ -30,6 +30,9 @@ GSORCERY_FETCH_CMD="wget" EXPORT_FUNCTIONS src_unpack +# The live property will disable Portage's network-sandbox in src_unpack() +PROPERTIES+=" live" + g-sorcery_fetch() { addwrite "${GSORCERY_STORE_DIR}" pushd "${GSORCERY_STORE_DIR}" >/dev/null || die "can't chdir to ${GSORCERY_STORE_DIR}" |