From: Tiziano Müller Date: Tue, 27 Feb 2007 23:11:10 +0000 (+0000) Subject: Initial ebuild for bug #141662 (thanks to Brad Walker) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f4ef2b5e548b0bd50da19864c3c5c48e400fef90;p=gentoo.git Initial ebuild for bug #141662 (thanks to Brad Walker) Package-Manager: portage-2.1.2-r10 --- diff --git a/dev-python/nose/ChangeLog b/dev-python/nose/ChangeLog new file mode 100644 index 000000000000..2b31601b00c3 --- /dev/null +++ b/dev-python/nose/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-python/nose +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.1 2007/02/27 23:11:10 dev-zero Exp $ + + 03 Feb 2007; Tiziano Müller +metadata.xml: + Initial ebuild for bug #141662 (thanks to Brad Walker) + diff --git a/dev-python/nose/Manifest b/dev-python/nose/Manifest new file mode 100644 index 000000000000..c7433b3b0aaf --- /dev/null +++ b/dev-python/nose/Manifest @@ -0,0 +1,16 @@ +DIST nose-0.9.2.tar.gz 138890 RMD160 f42fd5cc2b508c1994b62b73670da0d4b7d0f2fd SHA1 d804d027f5063335dc5e9f7a1f45a6c02290a204 SHA256 34335e68c717cdfe5b9da7de9eed7435a10ae1a37bc0ce9392bd057eb1d87f42 +EBUILD nose-0.9.2.ebuild 1074 RMD160 8f1643ea03089f2b5edfdf47e799c29a756b269b SHA1 0f1851f9f3d5c9014f335c5ae744aaa829eb4148 SHA256 79fb4b6fa89584ee9372f6d37016bd6cd6f77707c0b2e964f5a74f81e210b187 +MD5 4675cf0289bb6922b4f3d5c8a74d93ac nose-0.9.2.ebuild 1074 +RMD160 8f1643ea03089f2b5edfdf47e799c29a756b269b nose-0.9.2.ebuild 1074 +SHA256 79fb4b6fa89584ee9372f6d37016bd6cd6f77707c0b2e964f5a74f81e210b187 nose-0.9.2.ebuild 1074 +MISC ChangeLog 331 RMD160 2e0afdcd52c83e2766df26b623d313ac2f6598a3 SHA1 7fe1e545abe8ddee3a8dd5334a1189dce0871b62 SHA256 8f85077550d50fb5b67ecbdde709bd38c32dbd1f7b309ec1ea013e51aa1eda68 +MD5 104e97eb85741f191fa23628218fb8da ChangeLog 331 +RMD160 2e0afdcd52c83e2766df26b623d313ac2f6598a3 ChangeLog 331 +SHA256 8f85077550d50fb5b67ecbdde709bd38c32dbd1f7b309ec1ea013e51aa1eda68 ChangeLog 331 +MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 +MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 +RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159 +SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 metadata.xml 159 +MD5 99ae58abdeb1cb88126242b1473544b1 files/digest-nose-0.9.2 232 +RMD160 150e453d939ea122f750b649ad551860251dca3d files/digest-nose-0.9.2 232 +SHA256 446685b9ea9c888d5969687092bf8835c9aa3617a5ffc85a2179b59fec7625cd files/digest-nose-0.9.2 232 diff --git a/dev-python/nose/files/digest-nose-0.9.2 b/dev-python/nose/files/digest-nose-0.9.2 new file mode 100644 index 000000000000..e30ed9ed9ed2 --- /dev/null +++ b/dev-python/nose/files/digest-nose-0.9.2 @@ -0,0 +1,3 @@ +MD5 d6c78e37b5a5a671e79b00784233dc63 nose-0.9.2.tar.gz 138890 +RMD160 f42fd5cc2b508c1994b62b73670da0d4b7d0f2fd nose-0.9.2.tar.gz 138890 +SHA256 34335e68c717cdfe5b9da7de9eed7435a10ae1a37bc0ce9392bd057eb1d87f42 nose-0.9.2.tar.gz 138890 diff --git a/dev-python/nose/metadata.xml b/dev-python/nose/metadata.xml new file mode 100644 index 000000000000..de483c53568f --- /dev/null +++ b/dev-python/nose/metadata.xml @@ -0,0 +1,5 @@ + + + +python + diff --git a/dev-python/nose/nose-0.9.2.ebuild b/dev-python/nose/nose-0.9.2.ebuild new file mode 100644 index 000000000000..fce65e04c62f --- /dev/null +++ b/dev-python/nose/nose-0.9.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/nose-0.9.2.ebuild,v 1.1 2007/02/27 23:11:10 dev-zero Exp $ + +NEED_PYTHON=2.2 + +inherit distutils + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="An alternate test discovery and running process for unittest." +HOMEPAGE="http://somethingaboutorange.com/mrl/projects/nose/" +SRC_URI="http://somethingaboutorange.com/mrl/projects/${PN}/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc examples" + +RDEPEND="dev-python/setuptools" +DEPEND="${RDEPEND} + doc? ( dev-python/docutils )" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e '/ez_setup/d' \ + setup.py || die "sed failed" +} + +src_compile() { + distutils_src_compile + if use doc ; then + PYTHONPATH=. scripts/mkindex.py + fi +} + +src_install() { + DOCS="AUTHORS NEWS" + distutils_src_install + + use doc && dohtml index.html + + if use examples ; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} + +src_test() { + PYTHONPATH=. "${python}" setup.py test || die "test failed" +}