diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-18 17:49:03 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-18 17:49:03 +0000 |
commit | 006df17b8f12338e0c1a0dabd4d1736c90dfc766 (patch) | |
tree | 3eb226b5ec9a2624454c7c0ccaef23093f95256c /dev-python/nose | |
parent | punt some now unused entries (diff) | |
download | historical-006df17b8f12338e0c1a0dabd4d1736c90dfc766.tar.gz historical-006df17b8f12338e0c1a0dabd4d1736c90dfc766.tar.bz2 historical-006df17b8f12338e0c1a0dabd4d1736c90dfc766.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha9_p3/cvs/Linux x86_64
Diffstat (limited to 'dev-python/nose')
-rw-r--r-- | dev-python/nose/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/nose/Manifest | 4 | ||||
-rw-r--r-- | dev-python/nose/nose-1.0.0.ebuild | 73 |
3 files changed, 83 insertions, 2 deletions
diff --git a/dev-python/nose/ChangeLog b/dev-python/nose/ChangeLog index 94c398064d6b..bb262e8ab88b 100644 --- a/dev-python/nose/ChangeLog +++ b/dev-python/nose/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/nose # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.62 2010/12/14 19:53:15 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.63 2010/12/18 17:49:03 arfrever Exp $ + +*nose-1.0.0 (18 Dec 2010) + + 18 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +nose-1.0.0.ebuild: + Version bump. 14 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> nose-0.11.3.ebuild, nose-0.11.4.ebuild: diff --git a/dev-python/nose/Manifest b/dev-python/nose/Manifest index dbff28892a62..d886a4b1b2d5 100644 --- a/dev-python/nose/Manifest +++ b/dev-python/nose/Manifest @@ -2,7 +2,9 @@ AUX nose-0.10.0-tests-nonetwork.patch 1127 RMD160 17d928c8f05676d653ed2ab9022d5c AUX nose-0.11.0-disable_intersphinx.patch 757 RMD160 39dbaa638161f1638bef09c260a8a5d2d4d9d072 SHA1 a1c70879aa82f628c25123f8479f38d39e7f68df SHA256 28d8092b512a2df6c857eed7ecf88b70cd072326b5a705698922669a83304f50 DIST nose-0.11.3.tar.gz 256723 RMD160 9f5e93d9bcfa2f294f97f6a5c31e462eb13e43e2 SHA1 37c03a5b9738575e25ef99a5ca3b021f66c53421 SHA256 d70b08536142d267649af790e396aed259686ac43694e3b9b608e5aec03e986e DIST nose-0.11.4.tar.gz 256940 RMD160 f77b91f003fcf8a582d666122c3d43ad43e6acc3 SHA1 c05c4fc349d1878e2170132d90d268e606f4031c SHA256 66813ac7a939ef09ed53b5721fde25177f88f506cc10d2d4a4e188101fe966fc +DIST nose-1.0.0.tar.gz 718742 RMD160 801df932cd8fa0f3c1fee1fdbaa88bb8dc3387a2 SHA1 30015cbcb201975dbb8613acb651984255458741 SHA256 ab85548599b3315a1299ab04bad499c030eceafc3a4ec75f3820172886c0a662 EBUILD nose-0.11.3.ebuild 1899 RMD160 d485476080db9030c8c7414a98c144e41edbb29f SHA1 9e73cfc7131d841f5224657859fc39812470810a SHA256 7b9219532a0d2b4bd07610879c6905311c67f8fadb6ada64e4f02312b429b5d3 EBUILD nose-0.11.4.ebuild 1944 RMD160 4bd4acca529e7d6ae639a01d8ddfcc393d72835f SHA1 15b6c9c0d3f93859b69cf2a66d78367e1415d6bd SHA256 24c30ad30b1664aaceef1589af159183f583c567002b9a8a3b3736c42f194b33 -MISC ChangeLog 8247 RMD160 8d54e035bfbc8b69de235cc0f37d2e5142e8a2a3 SHA1 8cf2640573d43bb529b6b9f838f24aa8bd0a562f SHA256 edf2f05655a7f7ec2e02508df08af6c5392225cd8985e6cbf430e3af53b52e1e +EBUILD nose-1.0.0.ebuild 2290 RMD160 eaf624623cc9b8303cd3c435df01802359d6535f SHA1 6a13c6c1d12f4c2b4b5dd02521645b5b2774c911 SHA256 f9338b63b971447d909ae5d47fe95c229627bfa79bc55bd62c560127fd613ab0 +MISC ChangeLog 8386 RMD160 fff3fe4a6d8cb493f6bbffd7653c7bb1d4ee6b60 SHA1 57e9c18209f52e98e39e17e11fb80ccbc184cee9 SHA256 2e9f934607811ddf0d6da138ec4af0abde3cbba7f55d1b594e497f43400203c9 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/nose/nose-1.0.0.ebuild b/dev-python/nose/nose-1.0.0.ebuild new file mode 100644 index 000000000000..e30e54418bd0 --- /dev/null +++ b/dev-python/nose/nose-1.0.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/nose-1.0.0.ebuild,v 1.1 2010/12/18 17:49:03 arfrever Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +# DISTUTILS_SRC_TEST="setup.py" + +inherit distutils eutils + +DESCRIPTION="A unittest extension offering automatic test suite discovery and easy test authoring" +HOMEPAGE="http://somethingaboutorange.com/mrl/projects/nose/ http://code.google.com/p/python-nose/ http://pypi.python.org/pypi/nose https://bitbucket.org/jpellerin/nose/" +SRC_URI="http://somethingaboutorange.com/mrl/projects/nose/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc examples test" + +RDEPEND="dev-python/setuptools" +DEPEND="${RDEPEND} + doc? ( >=dev-python/sphinx-0.6 ) + test? ( dev-python/twisted )" + +DOCS="AUTHORS" + +src_prepare() { + distutils_src_prepare + + # Disable tests and doc features that access the network + epatch "${FILESDIR}/${PN}-0.10.0-tests-nonetwork.patch" + epatch "${FILESDIR}/${PN}-0.11.0-disable_intersphinx.patch" + + # Disable versioning of nosetests script to avoid collision with versioning performed by distutils_src_install(). + sed -e "/'nosetests%s = nose:run_exit' % py_vers_tag,/d" -i setup.py || die "sed failed" +} + +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + cd doc + mkdir -p .build/html .build/doctrees + sphinx-build . html || die "Generation of documentation failed" + fi +} + +src_test() { + testing() { + # Tests fail with Python 3. + # http://code.google.com/p/python-nose/issues/detail?id=387 + [[ "${PYTHON_ABI}" == 3.* ]] && return + + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py build -b build-${PYTHON_ABI} test + } + python_execute_function testing +} + +src_install() { + distutils_src_install --install-data "${EPREFIX}/usr/share" + + python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/nosetests" + + if use doc; then + dohtml -r -A txt doc/html/* || die "Installation of documentation failed" + fi + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples || die "Installation of examples failed" + fi +} |