Skip to content

Commit 253caad

Browse files
committed
pkg{bump,diff-mg}: Export a "standardized" var for ebuild to use
Export PKGBUMPING=1 so that ebuilds can exclude some distfiles/logic that is slow or broken when we're starting the bump. Signed-off-by: Michał Górny <[email protected]>
1 parent dc2d4c7 commit 253caad

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pkgbump

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ ekeyword ~all "${2}"
99
if grep -q "^PYTHON_COMPAT" "${2}" && type -P gpy-impl &>/dev/null; then
1010
gpy-impl "${2}" -python3_{8..9} || :
1111
fi
12+
# tell ebuilds we don't want everything
13+
export PKGBUMPING=1
1214
GENTOO_MIRRORS= ebuild "${2}" manifest
1315
[[ ! -f Manifest ]] || git add Manifest
1416
git add "${2}"

pkgdiff-mg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export PORTAGE_TMPDIR="${TMPDIR:-/tmp}"/mgorny-dev-scripts
3636
export USE="${USE} test"
3737
# use noauto to skip pkg_setup
3838
export FEATURES="${FEATURES} noauto"
39+
# tell ebuilds we don't want everything
40+
export PKGBUMPING=1
3941
mkdir -p "${PORTAGE_TMPDIR}"
4042
ebuild "${1}" unpack
4143
ebuild "${2}" unpack

0 commit comments

Comments
 (0)