summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-23 01:24:20 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-23 01:24:20 +0000
commit6c9c5a815796acf047a1786a03a8792f09f74259 (patch)
treeb4917741a1184f5414384dbc25b631a368e51a75 /dev-python/dulwich
parentold (diff)
downloadhistorical-6c9c5a815796acf047a1786a03a8792f09f74259.tar.gz
historical-6c9c5a815796acf047a1786a03a8792f09f74259.tar.bz2
historical-6c9c5a815796acf047a1786a03a8792f09f74259.zip
Add src_test().
Package-Manager: portage-14874-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/dulwich')
-rw-r--r--dev-python/dulwich/ChangeLog6
-rw-r--r--dev-python/dulwich/Manifest4
-rw-r--r--dev-python/dulwich/dulwich-0.4.0.ebuild18
3 files changed, 20 insertions, 8 deletions
diff --git a/dev-python/dulwich/ChangeLog b/dev-python/dulwich/ChangeLog
index 823495230abd..96febd4de22e 100644
--- a/dev-python/dulwich/ChangeLog
+++ b/dev-python/dulwich/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/dulwich
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.1 2009/10/20 08:55:33 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.2 2009/11/23 01:24:20 arfrever Exp $
+
+ 23 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ dulwich-0.4.0.ebuild:
+ Add src_test().
*dulwich-0.4.0 (20 Oct 2009)
diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest
index d62fd2ba5834..fa9325be66ee 100644
--- a/dev-python/dulwich/Manifest
+++ b/dev-python/dulwich/Manifest
@@ -1,4 +1,4 @@
DIST dulwich-0.4.0.tar.gz 73140 RMD160 d8e1bc1fd4d0ae924becbf9c8047a81f419eed1a SHA1 c8b2dcd11284a5eb80646c8705fd070ea981acb9 SHA256 03c082349f934c332df98072d711874953e1134f17504dc51c16084cf0a81565
-EBUILD dulwich-0.4.0.ebuild 562 RMD160 915ec3e73c795ba56a5165ba8907eb9001d32328 SHA1 0dc0f1a317db077242147bb59e82ea2ae2083184 SHA256 7e6997b747ef3633ae343ef787a878cc5187fe547476751b4cd3dcedc888e59d
-MISC ChangeLog 347 RMD160 0750b836be8943fae615eb6bf1bb2c3f031f690e SHA1 8936187f8b35eee488bab8e0aff42f115a2b675b SHA256 ff8b2f345643ef8b6e879dadb86652c23d715c51bcfa0ba0f29c133fe37bef8f
+EBUILD dulwich-0.4.0.ebuild 769 RMD160 ff52e27e9a02a996b1bb129af9011f856c4ad755 SHA1 d0d4fbac10f68916e8121c8a7e495528ae070a74 SHA256 5b4d1c7fe204de618caf92ead030a1f91f67a2e6d2174ff41bbf8c17f44e5044
+MISC ChangeLog 468 RMD160 920487f1f7a52bf211827f102084dbb8e2118ac6 SHA1 d77ab6632af9d93521195232f93862ae2a5b3da2 SHA256 979b800c9365be994c85bd4300f3a0e673088389c89594baf4d4b64fcbb03789
MISC metadata.xml 259 RMD160 4b781a038008fac445e4154045f964b64ad59e75 SHA1 9809d89f3360f9f7537c2bb480d6bcbe942c6ea0 SHA256 0fb1da675767b69b5bd240d135effe2fc500e8b997a5f4eed212e5b26d027972
diff --git a/dev-python/dulwich/dulwich-0.4.0.ebuild b/dev-python/dulwich/dulwich-0.4.0.ebuild
index 3d5b5cb9878f..f5a11e980c3f 100644
--- a/dev-python/dulwich/dulwich-0.4.0.ebuild
+++ b/dev-python/dulwich/dulwich-0.4.0.ebuild
@@ -1,20 +1,28 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/dulwich-0.4.0.ebuild,v 1.1 2009/10/20 08:55:33 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/dulwich-0.4.0.ebuild,v 1.2 2009/11/23 01:24:20 arfrever Exp $
+EAPI="2"
SUPPORT_PYTHON_ABIS="1"
inherit distutils
DESCRIPTION="Dulwich is a pure-Python implementation of the Git file formats and protocols."
-HOMEPAGE="http://samba.org/~jelmer/dulwich/"
+HOMEPAGE="http://samba.org/~jelmer/dulwich/ http://pypi.python.org/pypi/dulwich"
SRC_URI="http://samba.org/~jelmer/dulwich/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
-DEPEND=""
+DEPEND="test? ( dev-python/nose )"
RDEPEND=""
RESTRICT_PYTHON_ABIS="3.*"
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI}
+ }
+ python_execute_function testing
+}