summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-02-27 23:11:10 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-02-27 23:11:10 +0000
commitf1553e44504daa6883e6eb24257b94f8d9d7a6e9 (patch)
treefa0d1ecf456326d6b8579d1961dd59e97f68ce5b /dev-python/nose
parentBump under pmask, bug #163146 (diff)
downloadgentoo-2-f1553e44504daa6883e6eb24257b94f8d9d7a6e9.tar.gz
gentoo-2-f1553e44504daa6883e6eb24257b94f8d9d7a6e9.tar.bz2
gentoo-2-f1553e44504daa6883e6eb24257b94f8d9d7a6e9.zip
Initial ebuild for bug #141662 (thanks to Brad Walker)
(Portage version: 2.1.2-r10)
Diffstat (limited to 'dev-python/nose')
-rw-r--r--dev-python/nose/ChangeLog7
-rw-r--r--dev-python/nose/Manifest16
-rw-r--r--dev-python/nose/files/digest-nose-0.9.23
-rw-r--r--dev-python/nose/metadata.xml5
-rw-r--r--dev-python/nose/nose-0.9.2.ebuild51
5 files changed, 82 insertions, 0 deletions
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 <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
new file mode 100644
index 000000000000..fc718fd9b7c1
--- /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 977 RMD160 b5b1d32bb222c975ee414b9caeb6ec867677142d SHA1 53831bc3c281c7f635abdc2bc6d18992a2a33fc9 SHA256 2b77560e92b17da08c18e2ff65bf080d8840e9baa74d693532aa440e48892bae
+MD5 8ee023ddea328d8bd5d41b852f5db55a nose-0.9.2.ebuild 977
+RMD160 b5b1d32bb222c975ee414b9caeb6ec867677142d nose-0.9.2.ebuild 977
+SHA256 2b77560e92b17da08c18e2ff65bf080d8840e9baa74d693532aa440e48892bae nose-0.9.2.ebuild 977
+MISC ChangeLog 242 RMD160 27d58ebf2bd7907518a39c3facaec1f114168521 SHA1 673bf02cea86afd2a4381a7b5f50db23ee32c2a8 SHA256 9084453d3d952b9b86f2c4e8a467ee9738d423ea4f07d4385590d9fe945cdddc
+MD5 df028441fb0c4aa5d3970dda438ef1e7 ChangeLog 242
+RMD160 27d58ebf2bd7907518a39c3facaec1f114168521 ChangeLog 242
+SHA256 9084453d3d952b9b86f2c4e8a467ee9738d423ea4f07d4385590d9fe945cdddc ChangeLog 242
+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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+</pkgmetadata>
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"
+}