diff options
author | 2011-08-05 22:54:34 +0000 | |
---|---|---|
committer | 2011-08-05 22:54:34 +0000 | |
commit | 94ce351ad80d4874c5e09db02d5bec4fbf619b59 (patch) | |
tree | c99d3bca7ef8bd8d75af363d009baf6d5dab053f /dev-python/pygraphviz | |
parent | added autotools eclass (diff) | |
download | historical-94ce351ad80d4874c5e09db02d5bec4fbf619b59.tar.gz historical-94ce351ad80d4874c5e09db02d5bec4fbf619b59.tar.bz2 historical-94ce351ad80d4874c5e09db02d5bec4fbf619b59.zip |
Remove old ebuild. Requested by Arfrever
Package-Manager: portage-2.2.0_alpha50/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pygraphviz')
-rw-r--r-- | dev-python/pygraphviz/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pygraphviz/files/pygraphviz-1.0-avoid_tests.patch | 40 | ||||
-rw-r--r-- | dev-python/pygraphviz/pygraphviz-1.0-r1.ebuild | 49 |
3 files changed, 5 insertions, 90 deletions
diff --git a/dev-python/pygraphviz/ChangeLog b/dev-python/pygraphviz/ChangeLog index a072cf335169..323c4e74a41b 100644 --- a/dev-python/pygraphviz/ChangeLog +++ b/dev-python/pygraphviz/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pygraphviz # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v 1.12 2011/08/05 18:05:31 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v 1.13 2011/08/05 22:52:38 hwoarang Exp $ + + 05 Aug 2011; Markos Chandras <hwoarang@gentoo.org> -pygraphviz-1.0-r1.ebuild, + -files/pygraphviz-1.0-avoid_tests.patch: + Remove old ebuild. Requested by Arfrever 05 Aug 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> pygraphviz-1.1-r1.ebuild: diff --git a/dev-python/pygraphviz/files/pygraphviz-1.0-avoid_tests.patch b/dev-python/pygraphviz/files/pygraphviz-1.0-avoid_tests.patch deleted file mode 100644 index 9744bf296ef9..000000000000 --- a/dev-python/pygraphviz/files/pygraphviz-1.0-avoid_tests.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- pygraphviz/agraph.py -+++ pygraphviz/agraph.py -@@ -1623,28 +1623,3 @@ - except (TypeError, ValueError): - return False - return True -- -- --def _test_suite(): -- import doctest -- suite = doctest.DocFileSuite('tests/graph.txt', -- 'tests/attributes.txt', -- 'tests/layout_draw.txt', -- 'tests/subgraph.txt', -- package='pygraphviz') -- doctest.testmod() # test docstrings in module -- return suite -- -- --if __name__ == "__main__": -- import os -- import sys -- import unittest -- if sys.version_info[:2] < (2, 4): -- print "Python version 2.4 or later required for tests (%d.%d detected)." % sys.version_info[:2] -- sys.exit(-1) -- # directory of package (relative to this) -- nxbase=sys.path[0]+os.sep+os.pardir -- sys.path.insert(0,nxbase) # prepend to search path -- unittest.TextTestRunner().run(_test_suite()) -- ---- pygraphviz/__init__.py -+++ pygraphviz/__init__.py -@@ -67,6 +67,3 @@ - print "pygraphviz-"+__version__ - neato=_get_prog('neato') - os.system(neato+' -V') -- --# import tests: run as pygraphviz.test() --from tests import run as test diff --git a/dev-python/pygraphviz/pygraphviz-1.0-r1.ebuild b/dev-python/pygraphviz/pygraphviz-1.0-r1.ebuild deleted file mode 100644 index 4199ee7656a5..000000000000 --- a/dev-python/pygraphviz/pygraphviz-1.0-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/pygraphviz-1.0-r1.ebuild,v 1.3 2011/06/22 19:01:32 grobian Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" - -inherit distutils eutils - -DESCRIPTION="Python wrapper for the Graphviz Agraph data structure" -HOMEPAGE="http://networkx.lanl.gov/pygraphviz/ http://pypi.python.org/pypi/pygraphviz" -SRC_URI="http://networkx.lanl.gov/download/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="examples" - -RDEPEND=">=media-gfx/graphviz-2.12" -DEPEND="${RDEPEND}" - -src_prepare() { - distutils_src_prepare - epatch "${FILESDIR}/${P}-setup.py.patch" - epatch "${FILESDIR}/${P}-avoid_tests.patch" -} - -src_test() { - testing() { - "$(PYTHON)" -c "import sys; sys.path.insert(0, '$(ls -d build-${PYTHON_ABI}/lib.*)'); import pygraphviz.tests; pygraphviz.tests.run()" - } - python_execute_function testing -} - -src_install() { - distutils_src_install - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples || die "Installation of examples failed" - fi - - delete_tests() { - rm -fr "${ED}$(python_get_sitedir)/${PN}/tests" - } - python_execute_function -q delete_tests -} |