commit: 18199dda8992e45acf9683af895c044f47df25b8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 1 11:14:43 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 2 05:40:45 2020 +0000
URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=18199dda
gpyutils: Add py2 reports
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Makefile.gpyutils | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/Makefile.gpyutils b/Makefile.gpyutils
index f8fb1b8..ae93e5a 100644
--- a/Makefile.gpyutils
+++ b/Makefile.gpyutils
@@ -10,7 +10,7 @@ upgr_base = $(outdir)/36-to-37.txt $(outdir)/37-to-38.txt
$(outdir)/38-to-39.txt
# related stabilizations
upgr_streq = $(patsubst %.txt,%-stablereq.txt,$(upgr_base))
# all upgrade stuff
-upgr_txt = $(upgr_base) $(upgr_streq)
+upgr_txt = $(upgr_base) $(upgr_streq) $(outdir)/py2.txt $(outdir)/py23.txt
upgr_dot = $(patsubst %.txt,%.dot,$(upgr_txt))
upgr_svg = $(patsubst %.dot,%.svg,$(upgr_dot))
upgr_all = $(upgr_txt) $(upgr_dot) $(upgr_svg)
@@ -69,6 +69,16 @@ $(outdir)/38-to-39-stablereq.txt: $(timestamp)
gpy-upgrade-impl -s python3_8 python3_9 > [email protected]
mv [email protected] $@
+$(outdir)/py2.txt: $(timestamp)
+ mkdir -p $(outdir)
+ gpy-py2 > [email protected]
+ mv [email protected] $@
+
+$(outdir)/py23.txt: $(timestamp)
+ mkdir -p $(outdir)
+ gpy-py2 -3 > [email protected]
+ mv [email protected] $@
+
%.dot: %.txt
gpy-depgraph -m [email protected] $< > [email protected]
mv [email protected] $@