Version bump nose to 1.1.2.
authorDirkjan Ochtman <djc@gentoo.org>
Fri, 9 Sep 2011 07:47:42 +0000 (07:47 +0000)
committerDirkjan Ochtman <djc@gentoo.org>
Fri, 9 Sep 2011 07:47:42 +0000 (07:47 +0000)
Package-Manager: portage-2.1.10.14/cvs/Linux x86_64

dev-python/nose/ChangeLog
dev-python/nose/Manifest
dev-python/nose/nose-1.1.2.ebuild [new file with mode: 0644]

index bc6ff8929889a981b1db6018aabeec2a1368822d..28609b6c1d0e14080717de6adfdb1e0fd241ac23 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/nose
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.74 2011/08/18 15:46:27 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.75 2011/09/09 07:47:42 djc Exp $
+
+*nose-1.1.2 (09 Sep 2011)
+
+  09 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> +nose-1.1.2.ebuild:
+  Version bump to 1.1.2 (bug 381789). Thanks to jbergstroem.
 
   18 Aug 2011; Patrick Lauer <patrick@gentoo.org> nose-1.1.1.ebuild:
   Multi-python install fix, thanks to marienz
index 7c0c285ec767d3326d2214d5a41a1f4048b6d576..be9a71331326f0ba8f62cf114335455362f732a9 100644 (file)
@@ -1,8 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
 AUX nose-0.10.0-tests-nonetwork.patch 1127 RMD160 17d928c8f05676d653ed2ab9022d5c63e7929b8c SHA1 f79a86c8b1d42f8d6dd079e22caee4621315c44c SHA256 1eccfdde4ef59292e1bb517a28556c35ea4b899ab29b92cff4ea968219db3168
 AUX nose-0.11.0-disable_intersphinx.patch 733 RMD160 a2174e9648ec0ae9d742a96d1ced7dcbcbdcd1ea SHA1 d3e95570a602046aa1bb2b3bd9367bfa6bffb48c SHA256 b5b941ab4dbe8d70706a55de9f50dbbaa4bf1db6196a4ef5cc966723c6f2a625
 DIST nose-1.0.0.tar.gz 718742 RMD160 801df932cd8fa0f3c1fee1fdbaa88bb8dc3387a2 SHA1 30015cbcb201975dbb8613acb651984255458741 SHA256 ab85548599b3315a1299ab04bad499c030eceafc3a4ec75f3820172886c0a662
 DIST nose-1.1.1.tar.gz 729308 RMD160 f57f396a14986df06026f32d7ee15b8e05fa9fb4 SHA1 855193525ee4c38eee0b6a5302d08c715fb77685 SHA256 83dbaf09aa25d1cc3ea5f2839b027a99156c37b40f78661d5257123a8f6e7b34
+DIST nose-1.1.2.tar.gz 729206 RMD160 717c16abf3577387dbba406530693898b723f7ac SHA1 7525f7ef056af66cdbada010d4a8b96e63a193e8 SHA256 b1ba12c1c45323fd8695be68ce7228456b86e51234f167027ebbc4ccda852c61
 EBUILD nose-1.0.0.ebuild 2170 RMD160 3bbc632cb7d20a75ed68f403094adf57cfd58ac4 SHA1 2a110d537027ffde161f46e963e3102a89d3d2be SHA256 d5bdde138e9919a1253d19cac171db35e3cb9de0d4ad986499d49c317030cf55
 EBUILD nose-1.1.1.ebuild 2259 RMD160 9c5aa183ad2aea619f1126c6e1187b86e9e6e928 SHA1 dceccacfa914a3ce8432e139667ca7c97b422594 SHA256 6ec8f85a61342af28ad7a0c13db76bc45519349a9afc8188ac5291bedbe3d2c8
-MISC ChangeLog 9595 RMD160 e7aa57c472f1b6dbd5b2be98329d271213a7eb97 SHA1 8ec94856b7a3e6d69d5383807c8c0b66404b9641 SHA256 c3a00d55672a65284249fd3e6a2b51398e715407eb789f3571068c2233bcbee3
+EBUILD nose-1.1.2.ebuild 2255 RMD160 3c45f822af8689ca697230ffe967c9f3c8c2fdd0 SHA1 601aa21778e68cd33f56195111ae2cd38a683275 SHA256 53c6601e8c735f4ec27ad83f7291398b2e2420453ea33dda63ac33941713e625
+MISC ChangeLog 9748 RMD160 e74934ecbca1e3e59db85afbae9d70b0d684bdff SHA1 b533e262db9380123e4264e6a04ddb96a87f91e2 SHA256 733f528ff300049f0b1f949950b8ff9fba669bd29d3e7672ab594e1f1837048f
 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEAREKAAYFAk5pxKkACgkQxeMuLWsGW/tuCgCeKAJ55raqcy6vPnp0MWsa+KXy
+fP8Anjh9BjktbjXK7gLYdZpcqtJU0qbC
+=MXIj
+-----END PGP SIGNATURE-----
diff --git a/dev-python/nose/nose-1.1.2.ebuild b/dev-python/nose/nose-1.1.2.ebuild
new file mode 100644 (file)
index 0000000..a30dea8
--- /dev/null
@@ -0,0 +1,72 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/nose-1.1.2.ebuild,v 1.1 2011/09/09 07:47:42 djc Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils
+
+DESCRIPTION="A unittest extension offering automatic test suite discovery and easy test authoring"
+HOMEPAGE="http://pypi.python.org/pypi/nose http://readthedocs.org/docs/nose/ https://bitbucket.org/jpellerin/nose"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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 sphinx.ext.intersphinx, requires network
+       epatch "${FILESDIR}/${PN}-0.11.0-disable_intersphinx.patch"
+       # Disable tests requiring network connection.
+       sed \
+               -e "s/test_resolve/_&/g" \
+               -e "s/test_raises_bad_return/_&/g" \
+               -e "s/test_raises_twisted_error/_&/g" \
+               -i unit_tests/test_twisted.py || die "sed failed"
+       # 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"
+               pushd doc > /dev/null
+               emake html
+               popd > /dev/null
+       fi
+}
+
+src_test() {
+       testing() {
+               if [[ "$(python_get_version --major)" == "3" ]]; then
+                       rm -fr build || return 1
+                       "$(PYTHON)" setup.py build_tests || return 1
+               fi
+               "$(PYTHON)" setup.py egg_info || return 1
+               "$(PYTHON)" selftest.py -v
+       }
+       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/.build/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
+}