Gentoo Archives: gentoo-commits

From: "André Erdmann" <dywi@×××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/R_overlay:master commit in: /, roverlay/depres/
Date: Wed, 06 Jun 2012 19:53:19
Message-Id: 1339011595.8e2ad5acb4424806ced61689df2ba4d78a93af6a.dywi@gentoo
1 commit: 8e2ad5acb4424806ced61689df2ba4d78a93af6a
2 Author: André Erdmann <dywi <AT> mailerd <DOT> de>
3 AuthorDate: Wed Jun 6 19:39:55 2012 +0000
4 Commit: André Erdmann <dywi <AT> mailerd <DOT> de>
5 CommitDate: Wed Jun 6 19:39:55 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=8e2ad5ac
7
8 temporary files for testing etc.
9
10 * added test-seewave/seewave targets to the Makefile
11 * run_config.py tries to read config files
12 * roverlay/depres/Makefile executes 'cd .. && make'
13
14 modified: Makefile
15 new file: roverlay/depres/Makefile
16 new file: run_config.py
17
18 ---
19 Makefile | 9 +++++++--
20 roverlay/depres/Makefile | 1 +
21 run_config.py | 12 ++++++++++++
22 3 files changed, 20 insertions(+), 2 deletions(-)
23
24 diff --git a/Makefile b/Makefile
25 index abc4fe8..16f43e4 100644
26 --- a/Makefile
27 +++ b/Makefile
28 @@ -9,13 +9,18 @@ PY_NOP = ./nop.py
29 PY_EBU = ./run_ebuildcreation.py
30 PY_EBU2 = ./test_ebuildcreation.sh
31
32 -.PHONY: default dummy test test-nop test-ebuild_creation test-ebuild_creation2
33 +.PHONY: default dummy test test-nop test-ebuild_creation test-ebuild_creation2 test-seewave seewave
34
35 default: dummy test
36
37 dummy:
38 $(PY) --version
39
40 +seewave: test-seewave
41 +
42 +test-seewave: test-nop $(PY_EBU) $(EXAMPLES)/packages
43 + $(PY) $(PY_EBU) $(EXAMPLES)/packages/seewave_*.tar.gz
44 +
45 test-nop: $(PY_NOP)
46 @$(PY) $(PY_NOP)
47
48 @@ -27,4 +32,4 @@ test-ebuild_creation: test-nop $(PY_EBU) $(EXAMPLES)/packages
49 test-ebuild_creation2: test-nop $(PY_EBU) $(PY_EBU2) $(EXAMPLES)/packages /bin/bash
50 PYTHON=$(PY) /bin/bash $(PY_EBU2) -q 1000
51
52 -test: test-nop test-ebuild_creation test-ebuild_creation2
53 +test: test-nop test-ebuild_creation test-ebuild_creation2 test-seewave
54
55 diff --git a/roverlay/depres/Makefile b/roverlay/depres/Makefile
56 new file mode 120000
57 index 0000000..d0b0e8e
58 --- /dev/null
59 +++ b/roverlay/depres/Makefile
60 @@ -0,0 +1 @@
61 +../Makefile
62 \ No newline at end of file
63
64 diff --git a/run_config.py b/run_config.py
65 new file mode 100755
66 index 0000000..98510a2
67 --- /dev/null
68 +++ b/run_config.py
69 @@ -0,0 +1,12 @@
70 +#!/usr/bin/env python3
71 +
72 +import sys
73 +
74 +ARGV = sys.argv[1:]
75 +
76 +from roverlay import config
77 +
78 +for c in ARGV:
79 + print ( "<=== " + c + " ===>" )
80 + config.access().load_config ( c )
81 + print ( ">=== " + c + " ===<" )