From c3702bded26f1acfa69c12b5ff5c73bac11999e6 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 24 May 2023 08:06:57 +0100 Subject: Makefile.gpyutils: try to enable Python 3.12 lists We're hoping that this is doable even this early on given ros is gone now.. Signed-off-by: Sam James --- Makefile.gpyutils | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile.gpyutils b/Makefile.gpyutils index 52e1ce2..df7547d 100644 --- a/Makefile.gpyutils +++ b/Makefile.gpyutils @@ -6,7 +6,7 @@ timestamp = $(PORTDIR)/metadata/timestamp.commit outdir = /dev/null # upgrades for stable impls -upgr_base = $(outdir)/310-to-311.txt +upgr_base = $(outdir)/310-to-311.txt #$(outdir)/311-to-312.txt # related stabilizations upgr_streq = $(patsubst %.txt,%-stablereq.txt,$(upgr_base)) # all upgrade stuff @@ -20,6 +20,16 @@ all = $(upgr_all) all: $(all) +$(outdir)/311-to-312.txt: $(timestamp) + mkdir -p $(outdir) + gpy-upgrade-impl -m python3_11 python3_12 > $@.new + mv $@.new $@ + +#$(outdir)/311-to-312-stablereq.txt: $(timestamp) +# mkdir -p $(outdir) +# gpy-upgrade-impl -m -s python3_11 python3_12 > $@.new +# mv $@.new $@ + $(outdir)/310-to-311.txt: $(timestamp) mkdir -p $(outdir) gpy-upgrade-impl -m python3_10 python3_11 > $@.new -- cgit v1.2.3-65-gdbad