Delete older ebuild.
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Tue, 29 Jun 2010 04:43:17 +0000 (04:43 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Tue, 29 Jun 2010 04:43:17 +0000 (04:43 +0000)
dev-python/sancho/files/sancho-0.11-rename-package.patch [deleted file]
dev-python/sancho/sancho-0.11-r1.ebuild [deleted file]

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 (file)
index 27a92fc..0000000
+++ /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 (file)
index 2ea41b7..0000000
+++ /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."
-}