Skip to content

Commit

Permalink
Patch build-wheels deb sources
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw85 committed Aug 31, 2023
1 parent 7876b39 commit 15e2811
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ cd ${workdir}
if [ -f /etc/centos-release ]; then
yum install -y zlib-devel bzip2 bzip2-devel xz-devel curl-devel openssl-devel ncurses-devel
else
# https://stackoverflow.com/questions/76094428/debian-stretch-repositories-404-not-found
sed -i -e 's/deb.debian.org/archive.debian.org/g' \
-e 's|security.debian.org|archive.debian.org/|g' \
-e '/stretch-updates/d' /etc/apt/sources.list
apt update
apt install -y zlib1g-dev libbz2-dev liblzma-dev libncurses5-dev libcurl4-gnutls-dev libssl-dev libffi-dev
fi
Expand Down

0 comments on commit 15e2811

Please sign in to comment.