summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-29 04:43:17 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-29 04:43:17 +0000
commit85415a9bee49a601285c0da36a26919de5fe6bef (patch)
treeea6516f7ac77d80907bd847ecc759d450200e717 /dev-python/sancho
parentUse PYTHON_DEPEND instead of NEED_PYTHON. (diff)
downloadhistorical-85415a9bee49a601285c0da36a26919de5fe6bef.tar.gz
historical-85415a9bee49a601285c0da36a26919de5fe6bef.tar.bz2
historical-85415a9bee49a601285c0da36a26919de5fe6bef.zip
Delete older ebuild.
Diffstat (limited to 'dev-python/sancho')
-rw-r--r--dev-python/sancho/files/sancho-0.11-rename-package.patch65
-rw-r--r--dev-python/sancho/sancho-0.11-r1.ebuild56
2 files changed, 0 insertions, 121 deletions
diff --git a/dev-python/sancho/files/sancho-0.11-rename-package.patch b/dev-python/sancho/files/sancho-0.11-rename-package.patch
deleted file mode 100644
index 27a92fcfe038..000000000000
--- a/dev-python/sancho/files/sancho-0.11-rename-package.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-=== 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):
-
diff --git a/dev-python/sancho/sancho-0.11-r1.ebuild b/dev-python/sancho/sancho-0.11-r1.ebuild
deleted file mode 100644
index 2ea41b74aa4f..000000000000
--- a/dev-python/sancho/sancho-0.11-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sancho/sancho-0.11-r1.ebuild,v 1.22 2009/10/02 01:03:39 arfrever Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit distutils eutils
-
-MY_P="${P/s/S}"
-
-DESCRIPTION="Sancho is a unit testing framework"
-HOMEPAGE="http://www.mems-exchange.org/software/sancho/"
-SRC_URI="http://cheeseshop.python.org/packages/source/S/Sancho/${MY_P}.tar.gz"
-
-LICENSE="CNRI"
-SLOT="0.0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-RESTRICT_PYTHON_ABIS="3.*"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS="CHANGES.txt"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-rename-package.patch"
-}
-
-src_test() {
- testing() {
- PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" "${S}/test/test_unittest.py"
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
-
- create_symlinks() {
- insinto $(python_get_sitedir)/sancho-0
- dosym $(python_get_sitedir)/sancho0 $(python_get_sitedir)/sancho-0/sancho
- echo sancho-0 > "${D}$(python_get_sitedir)/sancho-0.pth"
- }
- python_execute_function -q create_symlinks
-}
-
-pkg_postinst() {
- elog "This version of sancho is modified to allow parallel installation"
- elog "with sancho-2.x. \"import sancho0\" will always give you this"
- elog "version. \"import sancho\" will give you sancho 2.x if that is"
- elog "installed, this version otherwise."
-}