diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-01 13:14:43 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-02 07:40:45 +0200 |
commit | 18199dda8992e45acf9683af895c044f47df25b8 (patch) | |
tree | 4df51e8b331833f3f9326669f3915973cddac3f6 /Makefile.gpyutils | |
parent | genrdeps-index: safely create/overwrite rdeps tarball (diff) | |
download | qa-scripts-18199dda8992e45acf9683af895c044f47df25b8.tar.gz qa-scripts-18199dda8992e45acf9683af895c044f47df25b8.tar.bz2 qa-scripts-18199dda8992e45acf9683af895c044f47df25b8.zip |
gpyutils: Add py2 reports
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'Makefile.gpyutils')
-rw-r--r-- | Makefile.gpyutils | 12 |
1 files changed, 11 insertions, 1 deletions
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 > $@.new mv $@.new $@ +$(outdir)/py2.txt: $(timestamp) + mkdir -p $(outdir) + gpy-py2 > $@.new + mv $@.new $@ + +$(outdir)/py23.txt: $(timestamp) + mkdir -p $(outdir) + gpy-py2 -3 > $@.new + mv $@.new $@ + %.dot: %.txt gpy-depgraph -m python@gentoo.org $< > $@.new mv $@.new $@ |