diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2009-05-13 09:01:37 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2009-05-13 09:01:37 +0000 |
commit | 35787080d72326fcec03e8078b737ba49a18a7d2 (patch) | |
tree | e8820a5959400419ef0feece3b7a52eae7bee411 /dev-python | |
parent | Revision bump to fix access violations in packages generating docs using sphi... (diff) | |
download | gentoo-2-35787080d72326fcec03e8078b737ba49a18a7d2.tar.gz gentoo-2-35787080d72326fcec03e8078b737ba49a18a7d2.tar.bz2 gentoo-2-35787080d72326fcec03e8078b737ba49a18a7d2.zip |
Version bump (bug #269074).
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/nose/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/nose/files/nose-0.11.0-disable_intersphinx.patch | 17 | ||||
-rw-r--r-- | dev-python/nose/nose-0.11.0.ebuild | 59 |
3 files changed, 83 insertions, 1 deletions
diff --git a/dev-python/nose/ChangeLog b/dev-python/nose/ChangeLog index 1b56df46a943..e477705ffc39 100644 --- a/dev-python/nose/ChangeLog +++ b/dev-python/nose/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/nose # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.26 2009/04/06 18:16:45 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.27 2009/05/13 09:01:37 dev-zero Exp $ + +*nose-0.11.0 (13 May 2009) + + 13 May 2009; Tiziano Müller <dev-zero@gentoo.org> +nose-0.11.0.ebuild, + +files/nose-0.11.0-disable_intersphinx.patch: + Version bump (bug #269074). 06 Apr 2009; Raúl Porcel <armin76@gentoo.org> nose-0.10.4.ebuild: Add ~arm/~sh diff --git a/dev-python/nose/files/nose-0.11.0-disable_intersphinx.patch b/dev-python/nose/files/nose-0.11.0-disable_intersphinx.patch new file mode 100644 index 000000000000..48dd8af64e29 --- /dev/null +++ b/dev-python/nose/files/nose-0.11.0-disable_intersphinx.patch @@ -0,0 +1,17 @@ +--- nose-0.11.0/doc/conf.py.orig 2009-05-07 03:12:35.000000000 +0200 ++++ nose-0.11.0/doc/conf.py 2009-05-13 10:13:12.588540888 +0200 +@@ -31,7 +31,7 @@ + + # Add any Sphinx extension module names here, as strings. They can be extensions + # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', ++extensions = ['sphinx.ext.autodoc', + 'nose.sphinx.pluginopts', 'manbuilder'] + + # Add any paths that contain templates here, relative to this directory. +@@ -231,4 +231,4 @@ + + + # Example configuration for intersphinx: refer to the Python standard library. +-intersphinx_mapping = {'http://docs.python.org/dev': None} ++#intersphinx_mapping = {'http://docs.python.org/dev': None} diff --git a/dev-python/nose/nose-0.11.0.ebuild b/dev-python/nose/nose-0.11.0.ebuild new file mode 100644 index 000000000000..925477af4668 --- /dev/null +++ b/dev-python/nose/nose-0.11.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/nose-0.11.0.ebuild,v 1.1 2009/05/13 09:01:37 dev-zero Exp $ + +EAPI="2" + +inherit distutils eutils + +DESCRIPTION="A unittest extension offering automatic test suite discovery and easy test authoring" +HOMEPAGE="http://somethingaboutorange.com/mrl/projects/nose/" +SRC_URI="http://somethingaboutorange.com/mrl/projects/nose/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc examples test" + +RDEPEND="dev-python/setuptools" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx ) + test? ( dev-python/twisted )" + +src_prepare() { + distutils_src_prepare + + # Disable tests and doc features that access the network + epatch \ + "${FILESDIR}/${PN}-0.10.0-tests-nonetwork.patch" \ + "${FILESDIR}/${P}-disable_intersphinx.patch" +} + +src_compile() { + distutils_src_compile + + if use doc ; then + cd doc + mkdir -p .build/html .build/doctrees + sphinx-build . html || die "building docs failed" + fi +} + +src_install() { + DOCS="AUTHORS" + distutils_src_install --install-data /usr/share + + use doc && dohtml -r -A txt doc/html/* + + if use examples ; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} + +src_test() { + # Create the missing empty directory, that's required for tests to pass + if [[ ! -e "${S}"/functional_tests/support/empty ]]; then + mkdir "${S}"/functional_tests/support/empty + fi + PYTHONPATH=. "${python}" setup.py test || die "test failed" +} |