From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6F2A61382C5 for ; Tue, 8 May 2018 15:13:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FB47E0AF9; Tue, 8 May 2018 15:13:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 596DEE0AF9 for ; Tue, 8 May 2018 15:13:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 86E54335C5C for ; Tue, 8 May 2018 15:13:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CFBDB29 for ; Tue, 8 May 2018 15:13:01 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1525792349.da16f2db7690c6b34063fa3c07302f19ed7a6185.mgorny@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: Makefile.gpyutils X-VCS-Directories: / X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: da16f2db7690c6b34063fa3c07302f19ed7a6185 X-VCS-Branch: master Date: Tue, 8 May 2018 15:13:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 45d1c998-22c5-485b-835f-f7565b49f0c8 X-Archives-Hash: 48524ead06d7dc08d41f3c566b353935 commit: da16f2db7690c6b34063fa3c07302f19ed7a6185 Author: Michał Górny gentoo org> AuthorDate: Tue May 8 15:12:29 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 8 15:12:29 2018 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=da16f2db Add a Makefile to run gpyutils suite Makefile.gpyutils | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/Makefile.gpyutils b/Makefile.gpyutils new file mode 100644 index 0000000..3e8a9df --- /dev/null +++ b/Makefile.gpyutils @@ -0,0 +1,80 @@ +export PACKAGE_MANAGER = pkgcore + +PORTDIR ?= $(shell pinspect query get_repo_path gentoo) +timestamp = $(PORTDIR)/metadata/timestamp.commit +# pass via make! +outdir = /dev/null + +# upgrades for stable impls +upgr_base = $(outdir)/34-to-35.txt $(outdir)/35-to-36.txt +# related stabilizations +upgr_streq = $(patsubst %.txt,%-stablereq.txt,$(upgr_base)) +# all upgrade stuff +upgr_txt = $(upgr_base) $(upgr_streq) $(outdir)/pypy3-to-35.txt +upgr_dot = $(patsubst %.txt,%.dot,$(upgr_txt)) +upgr_svg = $(patsubst %.dot,%.svg,$(upgr_dot)) +upgr_all = $(upgr_txt) $(upgr_dot) $(upgr_svg) + +all = $(upgr_all) $(outdir)/cands.txt $(outdir)/missing-meta.txt + +all: $(all) + +$(outdir)/cands.txt: $(timestamp) + mkdir -p $(outdir) + gpy-cands > $@.new + mv $@.new $@ + +$(outdir)/depcands.txt: $(timestamp) + mkdir -p $(outdir) + gpy-depcands > $@.new + mv $@.new $@ + +$(outdir)/depcands-all.txt: $(timestamp) + mkdir -p $(outdir) + gpy-depcands --all > $@.new + mv $@.new $@ + +$(outdir)/depcheck.txt: $(timestamp) + mkdir -p $(outdir) + gpy-depcheck > $@.new + mv $@.new $@ + +$(outdir)/34-to-35.txt: $(timestamp) + mkdir -p $(outdir) + gpy-upgrade-impl python3_4 python3_5 > $@.new + mv $@.new $@ + +$(outdir)/34-to-35-stablereq.txt: $(timestamp) + mkdir -p $(outdir) + gpy-upgrade-impl -s python3_4 python3_5 > $@.new + mv $@.new $@ + +$(outdir)/35-to-36.txt: $(timestamp) + mkdir -p $(outdir) + gpy-upgrade-impl python3_5 python3_6 > $@.new + mv $@.new $@ + +$(outdir)/35-to-36-stablereq.txt: $(timestamp) + mkdir -p $(outdir) + gpy-upgrade-impl -s python3_5 python3_6 > $@.new + mv $@.new $@ + +$(outdir)/pypy3-to-35.txt: $(timestamp) + mkdir -p $(outdir) + gpy-upgrade-impl pypy3 python3_5 > $@.new + mv $@.new $@ + +$(outdir)/missing-meta.txt: $(timestamp) + mkdir -p $(outdir) + gpy-find-missing-meta > $@.new + mv $@.new $@ + +%.dot: %.txt + gpy-depgraph -m python@gentoo.org $< > $@.new + mv $@.new $@ + +%.svg: %.dot + dot -Tsvg $< > $@.new + mv $@.new $@ + +.PHONY: all