summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-12-09 14:45:41 +0000
committerMichał Górny <mgorny@gentoo.org>2012-12-09 14:45:41 +0000
commit5de82139141f1adb7a9f67111d95f3ced617f47f (patch)
tree8cb6b3b692ab0e0b4ca15257fd4d8fd9282f6e38 /dev-python/nose
parentvmware desktop 9.0.1 version bump. bugs 432918, 443022 (diff)
downloadhistorical-5de82139141f1adb7a9f67111d95f3ced617f47f.tar.gz
historical-5de82139141f1adb7a9f67111d95f3ced617f47f.tar.bz2
historical-5de82139141f1adb7a9f67111d95f3ced617f47f.zip
Migrate to distutils-r1.
Package-Manager: portage-2.2.0_alpha145/cvs/Linux x86_64 Manifest-Sign-Key: 0x42B9401D
Diffstat (limited to 'dev-python/nose')
-rw-r--r--dev-python/nose/ChangeLog8
-rw-r--r--dev-python/nose/Manifest11
-rw-r--r--dev-python/nose/nose-1.1.2-r1.ebuild71
3 files changed, 84 insertions, 6 deletions
diff --git a/dev-python/nose/ChangeLog b/dev-python/nose/ChangeLog
index 4ec8aea4f294..7b69b4f1f411 100644
--- a/dev-python/nose/ChangeLog
+++ b/dev-python/nose/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/nose
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.85 2012/10/05 12:23:54 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.86 2012/12/09 14:45:33 mgorny Exp $
+
+*nose-1.1.2-r1 (09 Dec 2012)
+
+ 09 Dec 2012; Michał Górny <mgorny@gentoo.org> +nose-1.1.2-r1.ebuild:
+ Migrate to distutils-r1.
05 Oct 2012; Dirkjan Ochtman <djc@gentoo.org>
-files/nose-0.10.0-tests-nonetwork.patch, -nose-1.0.0.ebuild,
@@ -322,4 +327,3 @@
03 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> +metadata.xml:
Initial ebuild for bug #141662 (thanks to Brad Walker)
-
diff --git a/dev-python/nose/Manifest b/dev-python/nose/Manifest
index 967dcfaf95f4..8a6ce81647d8 100644
--- a/dev-python/nose/Manifest
+++ b/dev-python/nose/Manifest
@@ -3,13 +3,16 @@ Hash: SHA256
AUX nose-0.11.0-disable_intersphinx.patch 733 SHA256 b5b941ab4dbe8d70706a55de9f50dbbaa4bf1db6196a4ef5cc966723c6f2a625 SHA512 6169e600bcf720d49adaa76297d9029b89cdc9b808b2618d61312b935cd399680d48384ecd57985398bae76a50850be2bc5eb8f9625e33d2c822f5bda897b559 WHIRLPOOL 8256a55dc1dbb82e1b29f3fd8aeb675c3ec001eff65ee83215043c727f7560f23fb48e66c45a65348afbb646bd572396b4aabd3986add90a070201dde79274cb
DIST nose-1.1.2.tar.gz 729206 SHA256 b1ba12c1c45323fd8695be68ce7228456b86e51234f167027ebbc4ccda852c61 SHA512 6eb6061f31143c411fd8943552f15dc5af67e455434f55956f54fe6eb3b2d84311d474d2f195ed39858b69f7622f38cea4ae55d35bcbf3c92365a9fd4ef2c743 WHIRLPOOL bec8210ee9a64b473bf62f4a955e2395806a7c803c9b3106a8fa308a48e23f818d5596175977013992d40306a17164a417d9bdee4ba8b7e2770d2ba46d7da3cf
+EBUILD nose-1.1.2-r1.ebuild 2211 SHA256 bdfe5501ccf110e24d6e11c306fc54a7374c7a1990e2ae83801166496a2b79ea SHA512 ae2c6d0e8e6c1c82c3382ff3fd6cdff0c7186600e0f13abbdbf444767ed848292ff49b2bc7903d8097debb3e329494ccdb23f1b8657aad3560a1f5fe6016bcc4 WHIRLPOOL fbecce1b149e151a16259c518fee6b0a80be0ade1968bb8fa87b65bb45b64112cc2e7a0318cc3d146fd763198390e8f9cb49e9592c453e13f6c76d54adc2140a
EBUILD nose-1.1.2.ebuild 2306 SHA256 e553d39a8a663b98f73a6a07b88930712e35fc6120bf8df6be65fb15982ec069 SHA512 c1e4c741153f09861a27fe6a30da7d8e1217beba58ab422ae5233fc93de30f4bf4fafcaa7062bbbc4a9bb352f723f3fc4c173efa084c3e154e41bb5d80065af0 WHIRLPOOL 2d1094196f07cd427cde5f830ebc395f5c8ca4e1f7d6dd6fafd43deda9565a69f982895ef844d10d0e45799968c9127a03ed0c463c188ecec1514ed3c8df7acd
-MISC ChangeLog 10872 SHA256 771adcde1a5a1c7ec7bdebda5451a235eaf5bc0e69054fe22783da9ffaf7a2bf SHA512 d3e20982517b266662c67f071b221c07e162b3b68af839ff398d8a894a5189044dcd2c6edc18d4d06a3faf4f141296a32e77e6fb1a9bce254c9cabc240cb3dca WHIRLPOOL 7715bc3188b631fa9a4ee4abe589f4f008d6c5a12f18c8e117b10dc7ecc0341d68c920f1ca49aafc39f3915df5893ac1348ffc6466635e39cc1e5c785b257762
+MISC ChangeLog 11005 SHA256 b97ce67448603d496ce191d5bfd94e5a0ce3bb9444d07a951908cbbbb2ab98e7 SHA512 11265fd69fa6bb9d73b7a4effa64c74a5e47d0cd2c32a55366fe355af2b68e2b6a775c8b7bbb3a9ae84349b6fd3d1262a29b13f42fa1abd6a5f37110a379eab3 WHIRLPOOL d57215ef214b56ccf51eb61dc5a8b2b1ee549fbc58102aaa16f0c12acba30b705b6461dfbd15a2f3c40cc1f9285797c8895b095ef9680feef9d918e02c3be8cb
MISC metadata.xml 312 SHA256 9c3ef94669e362a0bf2390147afae7a7857d4779016763294c26efeb13d983cd SHA512 39a4a0cf4bf47d0325a171cc5c4bc7d20079b8fcaa93a8b41d4b50280c39e742be9774f2952983d30a0b3eb4e759f95e65ea6f86fc3ed217155dfa20379389f1 WHIRLPOOL 3343d2ebabe1e5738175be205bcad0d7bf7014f42ce2901c0b7338bf2ee20c5e69758e37e5b0738bb95d8bb96e033b1ef19a93e0928bf15f1f27c55f6cb1b9dc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEUEAREIAAYFAlBu0WAACgkQxeMuLWsGW/ti2ACgpO4CHQ3hxHRY3Txb5yiJ1RZB
-u2cAmJDWgE2uzE75cNfmKBmsKuUBJB4=
-=FLo3
+iJwEAQEIAAYFAlDEpB0ACgkQfXuS5UK5QB2IOgQAqkdUfief1ZYUWHHp7FzLI4Zt
+YHfmvSDHu4HG90YaJzlPyNNQQ3dBEyBtw57L91eXUL3JzwDwp0gEs7QyF3Srn1c8
+I4tn3dtjXtQpzj8Q6MIf96I0nh/0C9p+r/y6NQx17NbU5GQJxsELRty5uwqwl2Gm
+XblzE4MYnosP3OEMFqs=
+=60JW
-----END PGP SIGNATURE-----
diff --git a/dev-python/nose/nose-1.1.2-r1.ebuild b/dev-python/nose/nose-1.1.2-r1.ebuild
new file mode 100644
index 000000000000..371eed670553
--- /dev/null
+++ b/dev-python/nose/nose-1.1.2-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2012 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-r1.ebuild,v 1.1 2012/12/09 14:45:33 mgorny Exp $
+
+EAPI=4
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} pypy{1_8,1_9} )
+inherit distutils-r1 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 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="coverage doc examples test"
+
+RDEPEND="coverage? ( dev-python/coverage[${PYTHON_USEDEP}] )
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ doc? ( >=dev-python/sphinx-0.6 )
+ test? ( dev-python/twisted )"
+
+DOCS=( AUTHORS )
+
+python_prepare_all() {
+ # Tests need to be converted, and they don't respect BUILD_DIR.
+ use test && DISTUTILS_IN_SOURCE_BUILD=1
+
+ # 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 the eclass.
+ sed -e "/'nosetests%s = nose:run_exit' % py_vers_tag,/d" \
+ -i setup.py || die "sed2 failed"
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_test() {
+ local targets=( egg_info )
+ [[ ${EPYTHON} == python3.* ]] && targets+=( build_tests )
+
+ esetup.py ${targets[@]}
+ "${PYTHON}" selftest.py || die "tests failed with ${EPYTHON}"
+}
+
+python_install() {
+ distutils-r1_python_install --install-data "${EPREFIX}/usr/share"
+}
+
+python_install_all() {
+ if use doc; then
+ dohtml -r -A txt doc/.build/html/*
+ fi
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}