Skip to content

Commit

Permalink
Python build specific
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly committed Apr 4, 2024
1 parent d9c5de8 commit 85b883d
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions package/rebuild-todo
Original file line number Diff line number Diff line change
Expand Up @@ -223,18 +223,10 @@ printf ' %s\n' "${packages[@]}"
printf "Confirm..."
read <&1

if ((PACKAGES)); then
svn checkout -N svn+ssh://svn-packages@repos.archlinux.org/srv/repos/svn-packages/svn "$TMPDIR/packages"
pushd "$TMPDIR/packages" &>/dev/null
fi
svn update -- "${packages[@]}"
pkgctl repo clone "${packages[@]}"

for pkg in "${packages[@]}"; do
pushd "$pkg/trunk" &>/dev/null

if ! ((NO_BUMP)); then
bump_pkgrel
fi
pushd "$pkg" &>/dev/null

# This should help us figure out if the package is already built
readarray -t pkgs < <(makepkg --packagelist)
Expand All @@ -247,7 +239,7 @@ for pkg in "${packages[@]}"; do
if ! ((NO_BUILD)); then
SKIP_BUILD=0
while true; do
if offload-build -r "$BUILD"; then
if pkgctl build --rebuild --staging; then
break
fi
echo "We failed to build! You are in a subshell to fix the build. Exit the shell to build again."
Expand All @@ -264,7 +256,7 @@ for pkg in "${packages[@]}"; do
fi
fi
if ! ((NO_PUBLISH)); then
commitpkg "$REPO" "$message"
pkgctl release --db-update --staging -m 'Rebuild with Python 3.12'
fi
fi
popd &>/dev/null
Expand Down

0 comments on commit 85b883d

Please sign in to comment.