Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qa-scripts:master commit in: /
Date: Tue, 02 Jun 2020 05:40:52
Message-Id: 1591076445.18199dda8992e45acf9683af895c044f47df25b8.mgorny@gentoo
1 commit: 18199dda8992e45acf9683af895c044f47df25b8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 1 11:14:43 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 05:40:45 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=18199dda
7
8 gpyutils: Add py2 reports
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 Makefile.gpyutils | 12 +++++++++++-
13 1 file changed, 11 insertions(+), 1 deletion(-)
14
15 diff --git a/Makefile.gpyutils b/Makefile.gpyutils
16 index f8fb1b8..ae93e5a 100644
17 --- a/Makefile.gpyutils
18 +++ b/Makefile.gpyutils
19 @@ -10,7 +10,7 @@ upgr_base = $(outdir)/36-to-37.txt $(outdir)/37-to-38.txt $(outdir)/38-to-39.txt
20 # related stabilizations
21 upgr_streq = $(patsubst %.txt,%-stablereq.txt,$(upgr_base))
22 # all upgrade stuff
23 -upgr_txt = $(upgr_base) $(upgr_streq)
24 +upgr_txt = $(upgr_base) $(upgr_streq) $(outdir)/py2.txt $(outdir)/py23.txt
25 upgr_dot = $(patsubst %.txt,%.dot,$(upgr_txt))
26 upgr_svg = $(patsubst %.dot,%.svg,$(upgr_dot))
27 upgr_all = $(upgr_txt) $(upgr_dot) $(upgr_svg)
28 @@ -69,6 +69,16 @@ $(outdir)/38-to-39-stablereq.txt: $(timestamp)
29 gpy-upgrade-impl -s python3_8 python3_9 > $@.new
30 mv $@.new $@
31
32 +$(outdir)/py2.txt: $(timestamp)
33 + mkdir -p $(outdir)
34 + gpy-py2 > $@.new
35 + mv $@.new $@
36 +
37 +$(outdir)/py23.txt: $(timestamp)
38 + mkdir -p $(outdir)
39 + gpy-py2 -3 > $@.new
40 + mv $@.new $@
41 +
42 %.dot: %.txt
43 gpy-depgraph -m python@g.o $< > $@.new
44 mv $@.new $@