Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qa-scripts:master commit in: /
Date: Tue, 10 May 2022 21:57:09
Message-Id: 1652219808.0e178cee8e359a69abdab408d3a36a1cac75ffb0.sam@gentoo
1 commit: 0e178cee8e359a69abdab408d3a36a1cac75ffb0
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 10 21:56:48 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue May 10 21:56:48 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=0e178cee
7
8 Makefile.gpyutils: try harder to add Python 3.11
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 Makefile.gpyutils | 7 ++++++-
13 1 file changed, 6 insertions(+), 1 deletion(-)
14
15 diff --git a/Makefile.gpyutils b/Makefile.gpyutils
16 index 59fdfc3..34d93af 100644
17 --- a/Makefile.gpyutils
18 +++ b/Makefile.gpyutils
19 @@ -6,7 +6,7 @@ timestamp = $(PORTDIR)/metadata/timestamp.commit
20 outdir = /dev/null
21
22 # upgrades for stable impls
23 -upgr_base = $(outdir)/39-to-310.txt $(outdir)/38-to-39.txt
24 +upgr_base = $(outdir)/310-to-311.txt $(outdir)/39-to-310.txt $(outdir)/38-to-39.txt
25 # related stabilizations
26 upgr_streq = $(patsubst %.txt,%-stablereq.txt,$(upgr_base))
27 # all upgrade stuff
28 @@ -44,6 +44,11 @@ $(outdir)/310-to-311.txt: $(timestamp)
29 gpy-upgrade-impl -m python3_10 python3_11 > $@.new
30 mv $@.new $@
31
32 +$(outdir)/39-to-310-stablereq.txt: $(timestamp)
33 + mkdir -p $(outdir)
34 + gpy-upgrade-impl -m -s python3_10 python3_11 > $@.new
35 + mv $@.new $@
36 +
37 $(outdir)/39-to-310.txt: $(timestamp)
38 mkdir -p $(outdir)
39 gpy-upgrade-impl -m python3_9 python3_10 > $@.new