diff options
author | Marien Zwart <marienz@gentoo.org> | 2006-02-13 21:21:59 +0000 |
---|---|---|
committer | Marien Zwart <marienz@gentoo.org> | 2006-02-13 21:21:59 +0000 |
commit | 051090095d96971620f852e10f5408660a3d5a9c (patch) | |
tree | 03f2d358d3d48ac9c31e2e9b751a6c4016b3394a /dev-python/sancho/files | |
parent | Fix mirror (diff) | |
download | gentoo-2-051090095d96971620f852e10f5408660a3d5a9c.tar.gz gentoo-2-051090095d96971620f852e10f5408660a3d5a9c.tar.bz2 gentoo-2-051090095d96971620f852e10f5408660a3d5a9c.zip |
Allow installing 0.x and 2.x slotted (thanks to robbat2@gentoo.org for suggesting this). Add src_test.
(Portage version: 2660-svn)
Diffstat (limited to 'dev-python/sancho/files')
-rw-r--r-- | dev-python/sancho/files/digest-sancho-0.11-r1 | 3 | ||||
-rw-r--r-- | dev-python/sancho/files/sancho-0.11-rename-package.patch | 65 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/sancho/files/digest-sancho-0.11-r1 b/dev-python/sancho/files/digest-sancho-0.11-r1 new file mode 100644 index 000000000000..46ce9b6a5eb6 --- /dev/null +++ b/dev-python/sancho/files/digest-sancho-0.11-r1 @@ -0,0 +1,3 @@ +MD5 be6a03637c2a21cc28be3956b5b8f055 Sancho-0.11.tar.gz 21577 +RMD160 870b8c5a81b1750bd7241c8b410d96d85849a80a Sancho-0.11.tar.gz 21577 +SHA256 2e5186565c77341b3866eeeff4849cf4bc0a2eb3c348c2c452adc215a4044942 Sancho-0.11.tar.gz 21577 diff --git a/dev-python/sancho/files/sancho-0.11-rename-package.patch b/dev-python/sancho/files/sancho-0.11-rename-package.patch new file mode 100644 index 000000000000..27a92fcfe038 --- /dev/null +++ b/dev-python/sancho/files/sancho-0.11-rename-package.patch @@ -0,0 +1,65 @@ +=== modified file 'examples/test_simple.py' +--- examples/test_simple.py ++++ examples/test_simple.py +@@ -1,4 +1,4 @@ +-from sancho.unittest import TestScenario, parse_args, run_scenarios ++from sancho0.unittest import TestScenario, parse_args, run_scenarios + + import simple + + +=== modified file 'scripts/run_sancho_tests' +--- scripts/run_sancho_tests ++++ scripts/run_sancho_tests +@@ -13,8 +13,8 @@ + import sys, os + import getopt + +-from sancho.util import find_test_scripts, run_all_scripts +-from sancho.unittest import TestOptions ++from sancho0.util import find_test_scripts, run_all_scripts ++from sancho0.unittest import TestOptions + + USAGE = """\ + usage: %(prog)s [ -i ] [ -c ] [ -q ] [ -v ] [start_dir | test_script] ... + +=== modified file 'setup.py' +--- setup.py ++++ setup.py +@@ -14,7 +14,7 @@ + maintainer_email = "akuchlin@mems-exchange.org", + url = "http://www.mems-exchange.org/software/sancho/", + +- package_dir = {"sancho": "."}, +- packages = ["sancho"], ++ package_dir = {"sancho0": "."}, ++ packages = ["sancho0"], + scripts = ["scripts/run_sancho_tests"], + ) + +=== modified file 'test/test_unittest.py' +--- test/test_unittest.py ++++ test/test_unittest.py +@@ -12,7 +12,7 @@ + + __revision__ = "$Id: sancho-0.11-rename-package.patch,v 1.1 2006/02/13 21:21:59 marienz Exp $" + +-from sancho.unittest import TestScenario, parse_args, run_scenarios ++from sancho0.unittest import TestScenario, parse_args, run_scenarios + + tested_modules = [ "sancho.unittest" ] + + +=== modified file 'util.py' +--- util.py ++++ util.py +@@ -14,7 +14,7 @@ + import sys, os, re + import new + +-from sancho.unittest import TestOptions, TestResults, \ ++from sancho0.unittest import TestOptions, TestResults, \ + find_scenarios, run_scenarios + + def find_test_scripts (start_dir): + |