From af40b41ac9f96187f0323f4c3048c62f7d3de628 Mon Sep 17 00:00:00 2001 From: Pavel Sapezhka Date: Wed, 19 Jun 2024 20:06:03 +0300 Subject: [PATCH] Get rid of buster --- Makefile | 28 +++++----------------------- README.md | 1 - 2 files changed, 5 insertions(+), 24 deletions(-) diff --git a/Makefile b/Makefile index 6756b6b..5e03aec 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ -.PHONY: all build pack clean python3.12-bookworm python3.12-bullseye python3.12-buster clean-python3.12-bullseye clean-python3.12-buster clean-python3.12-bookworm +.PHONY: all build pack clean python3.12-bookworm python3.12-bullseye clean-python3.12-bullseye clean-python3.12-bookworm all: pack pack: build @find build/ -maxdepth 1 -mindepth 1 ! -path . -type d -exec sh -c 'tar -cvjSf "$(basename {}).tar.bz2" "$(basename {})"' \; -build: python3.12-bookworm python3.12-bullseye python3.12-buster +build: python3.12-bookworm python3.12-bullseye python3.12-bookworm: clean-python3.12-bookworm @echo "Build Python 3.12 for Debian 12 (bookworm)" @@ -14,7 +14,7 @@ python3.12-bookworm: clean-python3.12-bookworm --build-arg DEBIAN_RELEASE=bookworm \ --build-arg UBUNTU_RELEASE=jammy \ --build-arg PYTHON_VERSION=3.12 \ - --build-arg REPO_TAG=debian/3.12.2-1+jammy3 \ + --build-arg REPO_TAG=debian/3.12.4-1+jammy1 \ --output build/bookworm/python3.12 \ --force-rm \ --no-cache \ @@ -28,28 +28,14 @@ python3.12-bullseye: clean-python3.12-bullseye --build-arg DEBIAN_RELEASE=bullseye \ --build-arg UBUNTU_RELEASE=focal \ --build-arg PYTHON_VERSION=3.12 \ - --build-arg REPO_TAG=debian/3.12.2-1+focal3 \ + --build-arg REPO_TAG=debian/3.12.4-1+focal1 \ --output build/bullseye/python3.12 \ --force-rm \ --no-cache \ . @rm build/bullseye/python3.12/hack -python3.12-buster: clean-python3.12-buster - @echo "Build Python 3.12 for Debian 10 (buster)" - @mkdir -p build/buster/python3.12 - @docker buildx build --platform linux/amd64 \ - --build-arg DEBIAN_RELEASE=buster \ - --build-arg UBUNTU_RELEASE=focal \ - --build-arg PYTHON_VERSION=3.12 \ - --build-arg REPO_TAG=debian/3.12.2-1+focal3 \ - --output build/buster/python3.12 \ - --force-rm \ - --no-cache \ - . - @rm build/buster/python3.12/hack - -clean: clean-python3.12-bookworm clean-python3.12-bullseye clean-python3.12-buster +clean: clean-python3.12-bookworm clean-python3.12-bullseye clean-python3.12-bookworm: @echo "Clean artifacts of build of Python 3.12 for Debian 12 (bookworm)" @@ -58,7 +44,3 @@ clean-python3.12-bookworm: clean-python3.12-bullseye: @echo "Clean artifacts of build of Python 3.12 for Debian 11 (bullseye)" @rm -rf build/bullseye/python3.12/* - -clean-python3.12-buster: - @echo "Clean artifacts of build of Python 3.12 for Debian 10 (buster)" - @rm -rf build/buster/python3.12/* diff --git a/README.md b/README.md index dc3e652..94cf0ad 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,6 @@ To issue build for a particular version ```shell make python3.12-bookworm make python3.12-bullseye -make python3.12-buster ``` Look at the `build/` directory