commit:     0e178cee8e359a69abdab408d3a36a1cac75ffb0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 10 21:56:48 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 10 21:56:48 2022 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=0e178cee

Makefile.gpyutils: try harder to add Python 3.11

Signed-off-by: Sam James <sam <AT> gentoo.org>

 Makefile.gpyutils | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile.gpyutils b/Makefile.gpyutils
index 59fdfc3..34d93af 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)/39-to-310.txt $(outdir)/38-to-39.txt
+upgr_base = $(outdir)/310-to-311.txt $(outdir)/39-to-310.txt 
$(outdir)/38-to-39.txt
 # related stabilizations
 upgr_streq = $(patsubst %.txt,%-stablereq.txt,$(upgr_base))
 # all upgrade stuff
@@ -44,6 +44,11 @@ $(outdir)/310-to-311.txt: $(timestamp)
        gpy-upgrade-impl -m python3_10 python3_11 > [email protected]
        mv [email protected] $@
 
+$(outdir)/39-to-310-stablereq.txt: $(timestamp)
+       mkdir -p $(outdir)
+       gpy-upgrade-impl -m -s python3_10 python3_11 > [email protected]
+       mv [email protected] $@
+
 $(outdir)/39-to-310.txt: $(timestamp)
        mkdir -p $(outdir)
        gpy-upgrade-impl -m python3_9 python3_10 > [email protected]

Reply via email to